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:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <Businessid>1</Businessid> <LoginUserId>2</LoginUserId> <ContactId>3</ContactId> <CustomerId>4</CustomerId> <ContactName>sample string 5</ContactName> <Phone>sample string 6</Phone> <BusinessName>sample string 7</BusinessName> <SubContactId>8</SubContactId> <Flag>9</Flag> </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/10/31 04:49:23",
  "StatusCode": 1,
  "ErrorMessage": "sample string 2",
  "Result": {}
}
        application/xml, text/xml
            Sample:
<VCAPIResponse xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <StatusCode>1</StatusCode> <ErrorMessage>sample string 2</ErrorMessage> <Result /> </VCAPIResponse>