POST api/AddressBook/AddSubContact
Request Information
URI Parameters
None.
Body Parameters
AddSubContact| Name | Description | Type | Additional information |
|---|---|---|---|
| Businessid | integer |
None. |
|
| LoginUserId | integer |
None. |
|
| ContactId | integer |
None. |
|
| CustomerId | integer |
None. |
|
| ContactName | string |
None. |
|
| Phone | string |
None. |
|
| BusinessName | string |
None. |
|
| SubContactId | integer |
None. |
|
| Flag | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"Businessid": 1,
"LoginUserId": 2,
"ContactId": 3,
"CustomerId": 4,
"ContactName": "sample string 5",
"Phone": "sample string 6",
"BusinessName": "sample string 7",
"SubContactId": 8,
"Flag": 9
}
application/xml, text/xml
Sample:
<AddSubContact xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BOPWAAPI.Model"> <BusinessName>sample string 7</BusinessName> <Businessid>1</Businessid> <ContactId>3</ContactId> <ContactName>sample string 5</ContactName> <CustomerId>4</CustomerId> <Flag>9</Flag> <LoginUserId>2</LoginUserId> <Phone>sample string 6</Phone> <SubContactId>8</SubContactId> </AddSubContact>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
VCAPIResponse| Name | 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/11/03 15:58: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>