POST api/OnBoarding/AddService
Request Information
URI Parameters
None.
Body Parameters
addServiceName | Description | Type | Additional 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:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <businessId>1</businessId> <serviceId>2</serviceId> <leadId>3</leadId> <ReminderUrl>sample string 4</ReminderUrl> <other>sample string 5</other> <CountryCode>6</CountryCode> </addService>
application/x-www-form-urlencoded
Sample:
Sample not available.
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/28 13:36:19", "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>