POST api/AddressBook/ApproveAddressBookContact
Request Information
URI Parameters
None.
Body Parameters
ApproveAddressBookContactName | Description | Type | Additional 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:
Response Information
Resource Description
VCAPIResponseName | Description | Type | Additional 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": "2025/04/04 06:49:38", "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>