POST api/ApiIntegration/SBApiAddProjectAndClient
Request Information
URI Parameters
None.
Body Parameters
ApiAddProjectAndClientParam| Name | 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": "94abd49b-1cb4-4cbc-96b0-667ee55fef17",
"projectName": "sample string 3",
"clientKey": "e41f7eed-55c4-4986-afd2-f32bdb190ede",
"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>e41f7eed-55c4-4986-afd2-f32bdb190ede</ClientKey> <ClientName>sample string 5</ClientName> <PrivateApiKey>sample string 1</PrivateApiKey> <ProjectKey>94abd49b-1cb4-4cbc-96b0-667ee55fef17</ProjectKey> <ProjectName>sample string 3</ProjectName> </ApiAddProjectAndClientParam>
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": "6c5d93ad-9156-4897-965f-84f6b0e153fb",
"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>6c5d93ad-9156-4897-965f-84f6b0e153fb</ReturnKey> </ApiResponse>