POST api/BOProfile/AddAddressBookCustomer

Request Information

URI Parameters

None.

Body Parameters

AddressBookCustomer
NameDescriptionTypeAdditional information
BusinessId

integer

None.

name

string

None.

email

string

None.

phone

string

None.

Serviceid

integer

None.

Error

integer

None.

AgentId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "BusinessId": 1,
  "name": "sample string 3",
  "email": "sample string 4",
  "phone": "sample string 5",
  "Serviceid": 6,
  "Error": 7,
  "AgentId": 8
}

application/xml, text/xml

Sample:
<AddressBookCustomer xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BOPWAAPI.Model">
  <AgentId>8</AgentId>
  <BusinessId>1</BusinessId>
  <Error>7</Error>
  <Serviceid>6</Serviceid>
  <UserId>2</UserId>
  <email>sample string 4</email>
  <name>sample string 3</name>
  <phone>sample string 5</phone>
</AddressBookCustomer>

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/09/23 05:04:21",
  "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>