POST api/AddressBook/ApproveAddressBookContact

Request Information

URI Parameters

None.

Body Parameters

ApproveAddressBookContact
NameDescriptionTypeAdditional information
BusinessId

integer

None.

ContactId

integer

None.

ApproveStatus

integer

None.

flag

integer

None.

Mode

string

None.

Reason

string

None.

ReasonDate

string

None.

ReasonBy

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "BusinessId": 1,
  "ContactId": 2,
  "ApproveStatus": 3,
  "flag": 4,
  "Mode": "sample string 5",
  "Reason": "sample string 6",
  "ReasonDate": "sample string 7",
  "ReasonBy": 8
}

application/xml, text/xml

Sample:
<ApproveAddressBookContact xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BOPWAAPI.Model">
  <ApproveStatus>3</ApproveStatus>
  <BusinessId>1</BusinessId>
  <ContactId>2</ContactId>
  <Mode>sample string 5</Mode>
  <Reason>sample string 6</Reason>
  <ReasonBy>8</ReasonBy>
  <ReasonDate>sample string 7</ReasonDate>
  <flag>4</flag>
</ApproveAddressBookContact>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

VCAPIResponse
NameDescriptionTypeAdditional information
Version

string

None.

dateTime

string

None.

StatusCode

integer

None.

ErrorMessage

string

None.

Result

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "Version": "1.0.0",
  "dateTime": "2020/10/22 05:20:34",
  "StatusCode": 1,
  "ErrorMessage": "sample string 2",
  "Result": {}
}

application/xml, text/xml

Sample:
<VCAPIResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BOPWAAPI.Model">
  <ErrorMessage>sample string 2</ErrorMessage>
  <Result />
  <StatusCode>1</StatusCode>
</VCAPIResponse>