POST api/JobNumbers/SaveJobNumbers

Request Information

URI Parameters

None.

Body Parameters

JobNumbersDto
NameDescriptionTypeAdditional information
QuoteNumber

TextBoxDto

None.

JobNumber

TextBoxDto

None.

QuoteNumberPrefix

TextBoxDto

None.

JobNumberPrefix

TextBoxDto

None.

LeadingZeros

TextBoxDto

None.

AutoIncrementQuoteNumber

CheckBoxDto

None.

PersistQuote

CheckBoxDto

None.

Request Formats

application/json, text/json

Sample:
{
  "quoteNumber": {
    "text": "sample string 1",
    "visible": true,
    "enabled": true,
    "maxLength": 4,
    "backColor": "sample string 5",
    "locked": true
  },
  "jobNumber": {
    "text": "sample string 1",
    "visible": true,
    "enabled": true,
    "maxLength": 4,
    "backColor": "sample string 5",
    "locked": true
  },
  "quoteNumberPrefix": {
    "text": "sample string 1",
    "visible": true,
    "enabled": true,
    "maxLength": 4,
    "backColor": "sample string 5",
    "locked": true
  },
  "jobNumberPrefix": {
    "text": "sample string 1",
    "visible": true,
    "enabled": true,
    "maxLength": 4,
    "backColor": "sample string 5",
    "locked": true
  },
  "leadingZeros": {
    "text": "sample string 1",
    "visible": true,
    "enabled": true,
    "maxLength": 4,
    "backColor": "sample string 5",
    "locked": true
  },
  "autoIncrementQuoteNumber": {
    "checked": true,
    "visible": true,
    "enabled": true,
    "caption": "sample string 4"
  },
  "persistQuote": {
    "checked": true,
    "visible": true,
    "enabled": true,
    "caption": "sample string 4"
  }
}

application/xml, text/xml

Sample:
<JobNumbersDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/StairBiz.Contracts.Dto">
  <AutoIncrementQuoteNumber xmlns:d2p1="http://schemas.datacontract.org/2004/07/StairBiz.Contracts.Dto.Controls">
    <d2p1:Caption>sample string 4</d2p1:Caption>
    <d2p1:Checked>true</d2p1:Checked>
    <d2p1:Enabled>true</d2p1:Enabled>
    <d2p1:Visible>true</d2p1:Visible>
  </AutoIncrementQuoteNumber>
  <JobNumber xmlns:d2p1="http://schemas.datacontract.org/2004/07/StairBiz.Contracts.Dto.Controls">
    <d2p1:BackColor>sample string 5</d2p1:BackColor>
    <d2p1:Enabled>true</d2p1:Enabled>
    <d2p1:Locked>true</d2p1:Locked>
    <d2p1:MaxLength>4</d2p1:MaxLength>
    <d2p1:Text>sample string 1</d2p1:Text>
    <d2p1:Visible>true</d2p1:Visible>
  </JobNumber>
  <JobNumberPrefix xmlns:d2p1="http://schemas.datacontract.org/2004/07/StairBiz.Contracts.Dto.Controls">
    <d2p1:BackColor>sample string 5</d2p1:BackColor>
    <d2p1:Enabled>true</d2p1:Enabled>
    <d2p1:Locked>true</d2p1:Locked>
    <d2p1:MaxLength>4</d2p1:MaxLength>
    <d2p1:Text>sample string 1</d2p1:Text>
    <d2p1:Visible>true</d2p1:Visible>
  </JobNumberPrefix>
  <LeadingZeros xmlns:d2p1="http://schemas.datacontract.org/2004/07/StairBiz.Contracts.Dto.Controls">
    <d2p1:BackColor>sample string 5</d2p1:BackColor>
    <d2p1:Enabled>true</d2p1:Enabled>
    <d2p1:Locked>true</d2p1:Locked>
    <d2p1:MaxLength>4</d2p1:MaxLength>
    <d2p1:Text>sample string 1</d2p1:Text>
    <d2p1:Visible>true</d2p1:Visible>
  </LeadingZeros>
  <PersistQuote xmlns:d2p1="http://schemas.datacontract.org/2004/07/StairBiz.Contracts.Dto.Controls">
    <d2p1:Caption>sample string 4</d2p1:Caption>
    <d2p1:Checked>true</d2p1:Checked>
    <d2p1:Enabled>true</d2p1:Enabled>
    <d2p1:Visible>true</d2p1:Visible>
  </PersistQuote>
  <QuoteNumber xmlns:d2p1="http://schemas.datacontract.org/2004/07/StairBiz.Contracts.Dto.Controls">
    <d2p1:BackColor>sample string 5</d2p1:BackColor>
    <d2p1:Enabled>true</d2p1:Enabled>
    <d2p1:Locked>true</d2p1:Locked>
    <d2p1:MaxLength>4</d2p1:MaxLength>
    <d2p1:Text>sample string 1</d2p1:Text>
    <d2p1:Visible>true</d2p1:Visible>
  </QuoteNumber>
  <QuoteNumberPrefix xmlns:d2p1="http://schemas.datacontract.org/2004/07/StairBiz.Contracts.Dto.Controls">
    <d2p1:BackColor>sample string 5</d2p1:BackColor>
    <d2p1:Enabled>true</d2p1:Enabled>
    <d2p1:Locked>true</d2p1:Locked>
    <d2p1:MaxLength>4</d2p1:MaxLength>
    <d2p1:Text>sample string 1</d2p1:Text>
    <d2p1:Visible>true</d2p1:Visible>
  </QuoteNumberPrefix>
</JobNumbersDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.