POST api/ApiIntegration/SBApiGetAllProjects

Request Information

URI Parameters

None.

Body Parameters

ApiGetProjectsParam
NameDescriptionTypeAdditional information
PrivateApiKey

string

None.

StartDate

date

None.

EndDate

date

None.

Request Formats

application/json, text/json

Sample:
{
  "privateApiKey": "sample string 1",
  "startDate": "2026-09-18T09:34:44.9938241+00:00",
  "endDate": "2026-09-18T09:34:44.9938241+00:00"
}

application/xml, text/xml

Sample:
<ApiGetProjectsParam xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/StairBiz.Contracts.ViewModels">
  <EndDate>2026-09-18T09:34:44.9938241+00:00</EndDate>
  <PrivateApiKey>sample string 1</PrivateApiKey>
  <StartDate>2026-09-18T09:34:44.9938241+00:00</StartDate>
</ApiGetProjectsParam>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ApiProjectListResponse
NameDescriptionTypeAdditional information
ApiResponse

ApiResponse

None.

Projects

Collection of ApiProjectListItem

None.

Response Formats

application/json, text/json

Sample:
{
  "apiResponse": {
    "responseCode": 1,
    "returnKey": "a1d227e3-49bb-4f25-b2f2-d8ec8c196094",
    "responseNote": "sample string 2",
    "errorString": "sample string 3"
  },
  "projects": [
    {
      "projectKey": "02ce6aa6-6b67-408e-9537-69dca5978829",
      "projectName": "sample string 2",
      "jobCount": 3,
      "jobs": [
        {
          "jobKey": "4a332aab-db77-4bed-b4b6-604ba9430a95",
          "jobName": "sample string 2",
          "jobNumber": "sample string 3",
          "quoteNumber": "sample string 4",
          "createdDate": "2026-09-18T09:34:44.9938241+00:00",
          "updatedDate": "2026-09-18T09:34:44.9938241+00:00",
          "activeScenario": true,
          "scenarios": [
            {
              "scenarioKey": "b547376b-5815-4593-a372-032589a73d9f",
              "scenarioName": "sample string 2",
              "jobName": "sample string 3",
              "createdDate": "2026-09-18T09:34:45.0052987+00:00",
              "updatedDate": "2026-09-18T09:34:45.0052987+00:00"
            },
            {
              "scenarioKey": "b547376b-5815-4593-a372-032589a73d9f",
              "scenarioName": "sample string 2",
              "jobName": "sample string 3",
              "createdDate": "2026-09-18T09:34:45.0052987+00:00",
              "updatedDate": "2026-09-18T09:34:45.0052987+00:00"
            }
          ]
        },
        {
          "jobKey": "4a332aab-db77-4bed-b4b6-604ba9430a95",
          "jobName": "sample string 2",
          "jobNumber": "sample string 3",
          "quoteNumber": "sample string 4",
          "createdDate": "2026-09-18T09:34:44.9938241+00:00",
          "updatedDate": "2026-09-18T09:34:44.9938241+00:00",
          "activeScenario": true,
          "scenarios": [
            {
              "scenarioKey": "b547376b-5815-4593-a372-032589a73d9f",
              "scenarioName": "sample string 2",
              "jobName": "sample string 3",
              "createdDate": "2026-09-18T09:34:45.0052987+00:00",
              "updatedDate": "2026-09-18T09:34:45.0052987+00:00"
            },
            {
              "scenarioKey": "b547376b-5815-4593-a372-032589a73d9f",
              "scenarioName": "sample string 2",
              "jobName": "sample string 3",
              "createdDate": "2026-09-18T09:34:45.0052987+00:00",
              "updatedDate": "2026-09-18T09:34:45.0052987+00:00"
            }
          ]
        }
      ]
    },
    {
      "projectKey": "02ce6aa6-6b67-408e-9537-69dca5978829",
      "projectName": "sample string 2",
      "jobCount": 3,
      "jobs": [
        {
          "jobKey": "4a332aab-db77-4bed-b4b6-604ba9430a95",
          "jobName": "sample string 2",
          "jobNumber": "sample string 3",
          "quoteNumber": "sample string 4",
          "createdDate": "2026-09-18T09:34:44.9938241+00:00",
          "updatedDate": "2026-09-18T09:34:44.9938241+00:00",
          "activeScenario": true,
          "scenarios": [
            {
              "scenarioKey": "b547376b-5815-4593-a372-032589a73d9f",
              "scenarioName": "sample string 2",
              "jobName": "sample string 3",
              "createdDate": "2026-09-18T09:34:45.0052987+00:00",
              "updatedDate": "2026-09-18T09:34:45.0052987+00:00"
            },
            {
              "scenarioKey": "b547376b-5815-4593-a372-032589a73d9f",
              "scenarioName": "sample string 2",
              "jobName": "sample string 3",
              "createdDate": "2026-09-18T09:34:45.0052987+00:00",
              "updatedDate": "2026-09-18T09:34:45.0052987+00:00"
            }
          ]
        },
        {
          "jobKey": "4a332aab-db77-4bed-b4b6-604ba9430a95",
          "jobName": "sample string 2",
          "jobNumber": "sample string 3",
          "quoteNumber": "sample string 4",
          "createdDate": "2026-09-18T09:34:44.9938241+00:00",
          "updatedDate": "2026-09-18T09:34:44.9938241+00:00",
          "activeScenario": true,
          "scenarios": [
            {
              "scenarioKey": "b547376b-5815-4593-a372-032589a73d9f",
              "scenarioName": "sample string 2",
              "jobName": "sample string 3",
              "createdDate": "2026-09-18T09:34:45.0052987+00:00",
              "updatedDate": "2026-09-18T09:34:45.0052987+00:00"
            },
            {
              "scenarioKey": "b547376b-5815-4593-a372-032589a73d9f",
              "scenarioName": "sample string 2",
              "jobName": "sample string 3",
              "createdDate": "2026-09-18T09:34:45.0052987+00:00",
              "updatedDate": "2026-09-18T09:34:45.0052987+00:00"
            }
          ]
        }
      ]
    }
  ]
}

application/xml, text/xml

Sample:
<ApiProjectListResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/StairBiz.Contracts.ViewModels">
  <ApiResponse>
    <ErrorString>sample string 3</ErrorString>
    <ResponseCode>1</ResponseCode>
    <ResponseNote>sample string 2</ResponseNote>
    <ReturnKey>a1d227e3-49bb-4f25-b2f2-d8ec8c196094</ReturnKey>
  </ApiResponse>
  <Projects>
    <ApiProjectListItem>
      <JobCount>3</JobCount>
      <Jobs>
        <ApiJobListItem>
          <ActiveScenario>true</ActiveScenario>
          <CreatedDate>2026-09-18T09:34:44.9938241+00:00</CreatedDate>
          <JobKey>4a332aab-db77-4bed-b4b6-604ba9430a95</JobKey>
          <JobName>sample string 2</JobName>
          <JobNumber>sample string 3</JobNumber>
          <QuoteNumber>sample string 4</QuoteNumber>
          <Scenarios>
            <ApiScenarioListItem>
              <CreatedDate>2026-09-18T09:34:45.0052987+00:00</CreatedDate>
              <JobName>sample string 3</JobName>
              <ScenarioKey>b547376b-5815-4593-a372-032589a73d9f</ScenarioKey>
              <ScenarioName>sample string 2</ScenarioName>
              <UpdatedDate>2026-09-18T09:34:45.0052987+00:00</UpdatedDate>
            </ApiScenarioListItem>
            <ApiScenarioListItem>
              <CreatedDate>2026-09-18T09:34:45.0052987+00:00</CreatedDate>
              <JobName>sample string 3</JobName>
              <ScenarioKey>b547376b-5815-4593-a372-032589a73d9f</ScenarioKey>
              <ScenarioName>sample string 2</ScenarioName>
              <UpdatedDate>2026-09-18T09:34:45.0052987+00:00</UpdatedDate>
            </ApiScenarioListItem>
          </Scenarios>
          <UpdatedDate>2026-09-18T09:34:44.9938241+00:00</UpdatedDate>
        </ApiJobListItem>
        <ApiJobListItem>
          <ActiveScenario>true</ActiveScenario>
          <CreatedDate>2026-09-18T09:34:44.9938241+00:00</CreatedDate>
          <JobKey>4a332aab-db77-4bed-b4b6-604ba9430a95</JobKey>
          <JobName>sample string 2</JobName>
          <JobNumber>sample string 3</JobNumber>
          <QuoteNumber>sample string 4</QuoteNumber>
          <Scenarios>
            <ApiScenarioListItem>
              <CreatedDate>2026-09-18T09:34:45.0052987+00:00</CreatedDate>
              <JobName>sample string 3</JobName>
              <ScenarioKey>b547376b-5815-4593-a372-032589a73d9f</ScenarioKey>
              <ScenarioName>sample string 2</ScenarioName>
              <UpdatedDate>2026-09-18T09:34:45.0052987+00:00</UpdatedDate>
            </ApiScenarioListItem>
            <ApiScenarioListItem>
              <CreatedDate>2026-09-18T09:34:45.0052987+00:00</CreatedDate>
              <JobName>sample string 3</JobName>
              <ScenarioKey>b547376b-5815-4593-a372-032589a73d9f</ScenarioKey>
              <ScenarioName>sample string 2</ScenarioName>
              <UpdatedDate>2026-09-18T09:34:45.0052987+00:00</UpdatedDate>
            </ApiScenarioListItem>
          </Scenarios>
          <UpdatedDate>2026-09-18T09:34:44.9938241+00:00</UpdatedDate>
        </ApiJobListItem>
      </Jobs>
      <ProjectKey>02ce6aa6-6b67-408e-9537-69dca5978829</ProjectKey>
      <ProjectName>sample string 2</ProjectName>
    </ApiProjectListItem>
    <ApiProjectListItem>
      <JobCount>3</JobCount>
      <Jobs>
        <ApiJobListItem>
          <ActiveScenario>true</ActiveScenario>
          <CreatedDate>2026-09-18T09:34:44.9938241+00:00</CreatedDate>
          <JobKey>4a332aab-db77-4bed-b4b6-604ba9430a95</JobKey>
          <JobName>sample string 2</JobName>
          <JobNumber>sample string 3</JobNumber>
          <QuoteNumber>sample string 4</QuoteNumber>
          <Scenarios>
            <ApiScenarioListItem>
              <CreatedDate>2026-09-18T09:34:45.0052987+00:00</CreatedDate>
              <JobName>sample string 3</JobName>
              <ScenarioKey>b547376b-5815-4593-a372-032589a73d9f</ScenarioKey>
              <ScenarioName>sample string 2</ScenarioName>
              <UpdatedDate>2026-09-18T09:34:45.0052987+00:00</UpdatedDate>
            </ApiScenarioListItem>
            <ApiScenarioListItem>
              <CreatedDate>2026-09-18T09:34:45.0052987+00:00</CreatedDate>
              <JobName>sample string 3</JobName>
              <ScenarioKey>b547376b-5815-4593-a372-032589a73d9f</ScenarioKey>
              <ScenarioName>sample string 2</ScenarioName>
              <UpdatedDate>2026-09-18T09:34:45.0052987+00:00</UpdatedDate>
            </ApiScenarioListItem>
          </Scenarios>
          <UpdatedDate>2026-09-18T09:34:44.9938241+00:00</UpdatedDate>
        </ApiJobListItem>
        <ApiJobListItem>
          <ActiveScenario>true</ActiveScenario>
          <CreatedDate>2026-09-18T09:34:44.9938241+00:00</CreatedDate>
          <JobKey>4a332aab-db77-4bed-b4b6-604ba9430a95</JobKey>
          <JobName>sample string 2</JobName>
          <JobNumber>sample string 3</JobNumber>
          <QuoteNumber>sample string 4</QuoteNumber>
          <Scenarios>
            <ApiScenarioListItem>
              <CreatedDate>2026-09-18T09:34:45.0052987+00:00</CreatedDate>
              <JobName>sample string 3</JobName>
              <ScenarioKey>b547376b-5815-4593-a372-032589a73d9f</ScenarioKey>
              <ScenarioName>sample string 2</ScenarioName>
              <UpdatedDate>2026-09-18T09:34:45.0052987+00:00</UpdatedDate>
            </ApiScenarioListItem>
            <ApiScenarioListItem>
              <CreatedDate>2026-09-18T09:34:45.0052987+00:00</CreatedDate>
              <JobName>sample string 3</JobName>
              <ScenarioKey>b547376b-5815-4593-a372-032589a73d9f</ScenarioKey>
              <ScenarioName>sample string 2</ScenarioName>
              <UpdatedDate>2026-09-18T09:34:45.0052987+00:00</UpdatedDate>
            </ApiScenarioListItem>
          </Scenarios>
          <UpdatedDate>2026-09-18T09:34:44.9938241+00:00</UpdatedDate>
        </ApiJobListItem>
      </Jobs>
      <ProjectKey>02ce6aa6-6b67-408e-9537-69dca5978829</ProjectKey>
      <ProjectName>sample string 2</ProjectName>
    </ApiProjectListItem>
  </Projects>
</ApiProjectListResponse>