POST api/OnBoarding/AddService

Request Information

URI Parameters

None.

Body Parameters

addService
NameDescriptionTypeAdditional information
businessId

integer

None.

serviceId

integer

None.

leadId

integer

None.

ReminderUrl

string

None.

other

string

None.

CountryCode

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "businessId": 1,
  "serviceId": 2,
  "leadId": 3,
  "ReminderUrl": "sample string 4",
  "other": "sample string 5",
  "CountryCode": 6
}

application/xml, text/xml

Sample:
<addService xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BOPWAAPI.Model">
  <CountryCode>6</CountryCode>
  <ReminderUrl>sample string 4</ReminderUrl>
  <businessId>1</businessId>
  <leadId>3</leadId>
  <other>sample string 5</other>
  <serviceId>2</serviceId>
</addService>

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/18 10:44:10",
  "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>