POST api/ApiIntegration/SBApiAddProjectAndClient
Request Information
URI Parameters
None.
Body Parameters
ApiAddProjectAndClientParamName | Description | Type | Additional information |
---|---|---|---|
PrivateApiKey | string |
None. |
|
ProjectKey | globally unique identifier |
None. |
|
ProjectName | string |
None. |
|
ClientKey | globally unique identifier |
None. |
|
ClientName | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "privateApiKey": "sample string 1", "projectKey": "c51e2edc-a618-49ad-a65b-666eede8dd12", "projectName": "sample string 3", "clientKey": "5856734a-d1b4-4231-a38d-5dd3ed0b713f", "clientName": "sample string 5" }
application/xml, text/xml
Sample:
<ApiAddProjectAndClientParam xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/StairBiz.Contracts.ViewModels"> <ClientKey>5856734a-d1b4-4231-a38d-5dd3ed0b713f</ClientKey> <ClientName>sample string 5</ClientName> <PrivateApiKey>sample string 1</PrivateApiKey> <ProjectKey>c51e2edc-a618-49ad-a65b-666eede8dd12</ProjectKey> <ProjectName>sample string 3</ProjectName> </ApiAddProjectAndClientParam>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ApiResponseName | 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": "12b30be4-9ab2-493f-8466-b4c7a2d9b53b", "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>12b30be4-9ab2-493f-8466-b4c7a2d9b53b</ReturnKey> </ApiResponse>