POST api/ApiIntegration/SBApiAddClient
Request Information
URI Parameters
None.
Body Parameters
ApiAddClientParam| Name | Description | Type | Additional information |
|---|---|---|---|
| PrivateApiKey | string |
None. |
|
| ClientKey | globally unique identifier |
None. |
|
| ClientName | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"privateApiKey": "sample string 1",
"clientKey": "844eedce-a8b2-4547-907e-e06451ccae50",
"clientName": "sample string 3"
}
application/xml, text/xml
Sample:
<ApiAddClientParam xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/StairBiz.Contracts.ViewModels"> <ClientKey>844eedce-a8b2-4547-907e-e06451ccae50</ClientKey> <ClientName>sample string 3</ClientName> <PrivateApiKey>sample string 1</PrivateApiKey> </ApiAddClientParam>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ApiResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| ResponseCode | integer |
None. |
|
| ReturnKey | globally unique identifier |
None. |
|
| ResponseNote | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"responseCode": 1,
"returnKey": "e8ac9b42-f0d9-4d99-805b-4bf9218fc620",
"responseNote": "sample string 2"
}
application/xml, text/xml
Sample:
<ApiResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/StairBiz.Contracts.ViewModels"> <ResponseCode>1</ResponseCode> <ResponseNote>sample string 2</ResponseNote> <ReturnKey>e8ac9b42-f0d9-4d99-805b-4bf9218fc620</ReturnKey> </ApiResponse>