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": "68cf5b13-eee8-4f80-801a-6243dac092ba",
  "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>68cf5b13-eee8-4f80-801a-6243dac092ba</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": "dc058fb3-e9f9-4faa-af0b-8f05e49ea6c5",
  "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>dc058fb3-e9f9-4faa-af0b-8f05e49ea6c5</ReturnKey>
</ApiResponse>