POST api/ApiIntegration/SBApiUpsertJob

Request Information

URI Parameters

None.

Body Parameters

ApiUpsertJobParam
NameDescriptionTypeAdditional information
PrivateApiKey

string

None.

ProjectKey

globally unique identifier

None.

JobInfo

ApiUpsertJobInfo

None.

Request Formats

application/json, text/json

Sample:
{
  "privateApiKey": "sample string 1",
  "projectKey": "707ae5c0-99e0-4d34-8004-d136f4cc743e",
  "jobInfo": {
    "jobKey": "97f9d04a-7f6c-4807-a784-c899bce540ee",
    "jobName": "sample string 2",
    "scenarioName": "sample string 3",
    "jobNote": "sample string 4",
    "quoteNumber": "sample string 5",
    "jobNumber": "sample string 6",
    "jobDate": "2026-09-18T09:29:56.8214918+00:00",
    "purchaseOrder": "sample string 7",
    "salesPerson": "sample string 8"
  }
}

application/xml, text/xml

Sample:
<ApiUpsertJobParam xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/StairBiz.Contracts.ViewModels">
  <JobInfo>
    <JobDate>2026-09-18T09:29:56.8214918+00:00</JobDate>
    <JobKey>97f9d04a-7f6c-4807-a784-c899bce540ee</JobKey>
    <JobName>sample string 2</JobName>
    <JobNote>sample string 4</JobNote>
    <JobNumber>sample string 6</JobNumber>
    <PurchaseOrder>sample string 7</PurchaseOrder>
    <QuoteNumber>sample string 5</QuoteNumber>
    <SalesPerson>sample string 8</SalesPerson>
    <ScenarioName>sample string 3</ScenarioName>
  </JobInfo>
  <PrivateApiKey>sample string 1</PrivateApiKey>
  <ProjectKey>707ae5c0-99e0-4d34-8004-d136f4cc743e</ProjectKey>
</ApiUpsertJobParam>

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.

ErrorString

string

None.

Response Formats

application/json, text/json

Sample:
{
  "responseCode": 1,
  "returnKey": "cfb66e04-efe0-45b6-8635-408a946942b3",
  "responseNote": "sample string 2",
  "errorString": "sample string 3"
}

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">
  <ErrorString>sample string 3</ErrorString>
  <ResponseCode>1</ResponseCode>
  <ResponseNote>sample string 2</ResponseNote>
  <ReturnKey>cfb66e04-efe0-45b6-8635-408a946942b3</ReturnKey>
</ApiResponse>