POST api/ApiIntegration/SBApiAddProject
Request Information
URI Parameters
None.
Body Parameters
ApiAddProjectParam| Name | Description | Type | Additional information |
|---|---|---|---|
| JobName | string |
None. |
|
| JobNote1 | string |
None. |
|
| JobNote2 | string |
None. |
|
| JobDate | date |
None. |
|
| QuoteNumber | string |
None. |
|
| JobNumber | string |
None. |
|
| PurchaseOrder | string |
None. |
|
| PrivateApiKey | string |
None. |
|
| ProjectKey | globally unique identifier |
None. |
|
| ProjectName | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"jobName": "sample string 1",
"jobNote1": "sample string 2",
"jobNote2": "sample string 3",
"jobDate": "2026-06-19T00:17:55.9810311+00:00",
"quoteNumber": "sample string 4",
"jobNumber": "sample string 5",
"purchaseOrder": "sample string 6",
"privateApiKey": "sample string 7",
"projectKey": "8b792abf-8b79-4dd7-a3b5-c33d4d96e7b7",
"projectName": "sample string 9"
}
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 7</PrivateApiKey> <ProjectKey>8b792abf-8b79-4dd7-a3b5-c33d4d96e7b7</ProjectKey> <ProjectName>sample string 9</ProjectName> <JobDate>2026-06-19T00:17:55.9810311+00:00</JobDate> <JobName>sample string 1</JobName> <JobNote1>sample string 2</JobNote1> <JobNote2>sample string 3</JobNote2> <JobNumber>sample string 5</JobNumber> <PurchaseOrder>sample string 6</PurchaseOrder> <QuoteNumber>sample string 4</QuoteNumber> </ApiAddProjectParam>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ApiResponseModel| Name | Description | Type | Additional information |
|---|---|---|---|
| ApiResponse | ApiResponse |
None. |
Response Formats
application/json, text/json
Sample:
{
"apiResponse": {
"responseCode": 1,
"returnKey": "902cb18a-dcc6-462b-8c6f-60ec1c6a9d98",
"responseNote": "sample string 2"
}
}
application/xml, text/xml
Sample:
<ApiResponseModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/StairBiz.Contracts.ViewModels">
<ApiResponse>
<ResponseCode>1</ResponseCode>
<ResponseNote>sample string 2</ResponseNote>
<ReturnKey>902cb18a-dcc6-462b-8c6f-60ec1c6a9d98</ReturnKey>
</ApiResponse>
</ApiResponseModel>