POST api/ApiIntegration/SBApiAddProject

Request Information

URI Parameters

None.

Body Parameters

ApiAddProjectParam
NameDescriptionTypeAdditional information
PrivateApiKey

string

None.

ProjectKey

globally unique identifier

None.

ProjectName

string

None.

Request Formats

application/json, text/json

Sample:
{
  "privateApiKey": "sample string 1",
  "projectKey": "514b6a98-0756-49db-b345-a785989bc120",
  "projectName": "sample string 3"
}

application/xml, text/xml

Sample:
<ApiAddProjectParam xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/StairBiz.Contracts.ViewModels">
  <PrivateApiKey>sample string 1</PrivateApiKey>
  <ProjectKey>514b6a98-0756-49db-b345-a785989bc120</ProjectKey>
  <ProjectName>sample string 3</ProjectName>
</ApiAddProjectParam>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ApiResponse
NameDescriptionTypeAdditional information
ResponseCode

integer

None.

ReturnKey

globally unique identifier

None.

ResponseNote

string

None.

Response Formats

application/json, text/json

Sample:
{
  "responseCode": 1,
  "returnKey": "e7d31cce-2bbf-4186-bc30-d1bc35b8a7f3",
  "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>e7d31cce-2bbf-4186-bc30-d1bc35b8a7f3</ReturnKey>
</ApiResponse>