POST api/ApiIntegration/GetProjectQuoteInfo

Request Information

URI Parameters

None.

Body Parameters

ApiGetProjectParam
NameDescriptionTypeAdditional information
PrivateApiKey

string

None.

Project

ApiProjectModel

None.

Request Formats

application/json, text/json

Sample:
{
  "privateApiKey": "sample string 1",
  "project": {
    "privateApiKey": "sample string 1",
    "projectKey": "363dfc11-67cf-4e57-a47d-4a168b474a93",
    "projectName": "sample string 3"
  }
}

application/xml, text/xml

Sample:
<ApiGetProjectParam xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/StairBiz.Contracts.ViewModels">
  <PrivateApiKey>sample string 1</PrivateApiKey>
  <Project>
    <PrivateApiKey>sample string 1</PrivateApiKey>
    <ProjectKey>363dfc11-67cf-4e57-a47d-4a168b474a93</ProjectKey>
    <ProjectName>sample string 3</ProjectName>
  </Project>
</ApiGetProjectParam>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ApiQuoteDetails
NameDescriptionTypeAdditional information
apiResponse

ApiResponse

None.

JobsInfo

Collection of ApiJobInfo

None.

Response Formats

application/json, text/json

Sample:
{
  "apiResponse": {
    "responseCode": 1,
    "returnKey": "7a7734ac-e2ab-45ee-a43f-e27f78945d92",
    "responseNote": "sample string 2"
  },
  "jobsInfo": [
    {
      "jobKey": "892f3c2e-fcfe-468a-9ce9-82ac6981a781",
      "jobName": "sample string 2",
      "scenarioName": "sample string 3",
      "estimator": "sample string 4",
      "jobNote1": "sample string 5",
      "jobNote2": "sample string 6",
      "quoteNumber": "sample string 7",
      "jobNumber": "sample string 8",
      "quoteValue1": 1.0
    },
    {
      "jobKey": "892f3c2e-fcfe-468a-9ce9-82ac6981a781",
      "jobName": "sample string 2",
      "scenarioName": "sample string 3",
      "estimator": "sample string 4",
      "jobNote1": "sample string 5",
      "jobNote2": "sample string 6",
      "quoteNumber": "sample string 7",
      "jobNumber": "sample string 8",
      "quoteValue1": 1.0
    }
  ]
}

application/xml, text/xml

Sample:
<ApiQuoteDetails xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/StairBiz.Contracts.ViewModels">
  <JobsInfo>
    <ApiJobInfo>
      <Estimator>sample string 4</Estimator>
      <JobKey>892f3c2e-fcfe-468a-9ce9-82ac6981a781</JobKey>
      <JobName>sample string 2</JobName>
      <JobNote1>sample string 5</JobNote1>
      <JobNote2>sample string 6</JobNote2>
      <JobNumber>sample string 8</JobNumber>
      <QuoteNumber>sample string 7</QuoteNumber>
      <QuoteValue1>1</QuoteValue1>
      <ScenarioName>sample string 3</ScenarioName>
    </ApiJobInfo>
    <ApiJobInfo>
      <Estimator>sample string 4</Estimator>
      <JobKey>892f3c2e-fcfe-468a-9ce9-82ac6981a781</JobKey>
      <JobName>sample string 2</JobName>
      <JobNote1>sample string 5</JobNote1>
      <JobNote2>sample string 6</JobNote2>
      <JobNumber>sample string 8</JobNumber>
      <QuoteNumber>sample string 7</QuoteNumber>
      <QuoteValue1>1</QuoteValue1>
      <ScenarioName>sample string 3</ScenarioName>
    </ApiJobInfo>
  </JobsInfo>
  <apiResponse>
    <ResponseCode>1</ResponseCode>
    <ResponseNote>sample string 2</ResponseNote>
    <ReturnKey>7a7734ac-e2ab-45ee-a43f-e27f78945d92</ReturnKey>
  </apiResponse>
</ApiQuoteDetails>