POST v1/Estimate/EstimateUpdate

Request Information

URI Parameters

None.

Body Parameters

EstimateUpdateModel
NameDescriptionTypeAdditional information
UpdatedQuantity

integer

None.

EstimateId

integer

None.

StatusName

string

None.

CustomerId

integer

None.

ContactId

integer

None.

SalesRepId

integer

None.

CSRId

integer

None.

ProjectName

string

None.

PONumber

string

None.

TermsCode

string

None.

Taxable

boolean

None.

EstimateDate

date

None.

DateIn

date

None.

MaterialInDate

date

None.

ArtworkInDate

date

None.

DueDate

date

None.

TimeDue

date

None.

EstimateDetailComment

string

None.

EstimateUDFList

StandardUDFList

None.

Request Formats

application/json, text/json

Sample:
{
  "UpdatedQuantity": 1,
  "EstimateId": 1,
  "StatusName": "sample string 2",
  "CustomerId": 3,
  "ContactId": 1,
  "SalesRepId": 1,
  "CSRId": 1,
  "ProjectName": "sample string 4",
  "PONumber": "sample string 5",
  "TermsCode": "sample string 6",
  "Taxable": true,
  "EstimateDate": "2024-12-05T03:27:34.0767532+00:00",
  "DateIn": "2024-12-05T03:27:34.0767532+00:00",
  "MaterialInDate": "2024-12-05T03:27:34.0767532+00:00",
  "ArtworkInDate": "2024-12-05T03:27:34.0767532+00:00",
  "DueDate": "2024-12-05T03:27:34.0767532+00:00",
  "TimeDue": "2024-12-05T03:27:34.0767532+00:00",
  "EstimateDetailComment": "sample string 9",
  "EstimateUDFList": {
    "UDF1": "sample string 21",
    "UDF2": "sample string 22",
    "UDF3": "sample string 23",
    "UDF4": "sample string 24",
    "UDF5": "sample string 25",
    "UDF6": "sample string 26",
    "UDF7": "sample string 27",
    "UDF8": "sample string 28",
    "UDF9": "sample string 29",
    "UDF10": "sample string 30",
    "UDF11": "sample string 1",
    "UDF12": "sample string 2",
    "UDF13": "sample string 3",
    "UDF14": "sample string 4",
    "UDF15": "sample string 5",
    "UDF16": "sample string 6",
    "UDF17": "sample string 7",
    "UDF18": "sample string 8",
    "UDF19": "sample string 9",
    "UDF20": "sample string 10",
    "UDF21": "sample string 11",
    "UDF22": "sample string 12",
    "UDF23": "sample string 13",
    "UDF24": "sample string 14",
    "UDF25": "sample string 15",
    "UDF26": "sample string 16",
    "UDF27": "sample string 17",
    "UDF28": "sample string 18",
    "UDF29": "sample string 19",
    "UDF30": "sample string 20"
  }
}

application/xml, text/xml

Sample:
<EstimateUpdateModel xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <CustomerId>3</CustomerId>
  <ContactId>1</ContactId>
  <SalesRepId>1</SalesRepId>
  <CSRId>1</CSRId>
  <ProjectName>sample string 4</ProjectName>
  <PONumber>sample string 5</PONumber>
  <TermsCode>sample string 6</TermsCode>
  <Taxable>true</Taxable>
  <EstimateDate>2024-12-05T03:27:34.0767532+00:00</EstimateDate>
  <DateIn>2024-12-05T03:27:34.0767532+00:00</DateIn>
  <MaterialInDate>2024-12-05T03:27:34.0767532+00:00</MaterialInDate>
  <ArtworkInDate>2024-12-05T03:27:34.0767532+00:00</ArtworkInDate>
  <DueDate>2024-12-05T03:27:34.0767532+00:00</DueDate>
  <TimeDue>2024-12-05T03:27:34.0767532+00:00</TimeDue>
  <EstimateDetailComment>sample string 9</EstimateDetailComment>
  <EstimateUDFList>
    <UDF1>sample string 21</UDF1>
    <UDF2>sample string 22</UDF2>
    <UDF3>sample string 23</UDF3>
    <UDF4>sample string 24</UDF4>
    <UDF5>sample string 25</UDF5>
    <UDF6>sample string 26</UDF6>
    <UDF7>sample string 27</UDF7>
    <UDF8>sample string 28</UDF8>
    <UDF9>sample string 29</UDF9>
    <UDF10>sample string 30</UDF10>
    <UDF11>sample string 1</UDF11>
    <UDF12>sample string 2</UDF12>
    <UDF13>sample string 3</UDF13>
    <UDF14>sample string 4</UDF14>
    <UDF15>sample string 5</UDF15>
    <UDF16>sample string 6</UDF16>
    <UDF17>sample string 7</UDF17>
    <UDF18>sample string 8</UDF18>
    <UDF19>sample string 9</UDF19>
    <UDF20>sample string 10</UDF20>
    <UDF21>sample string 11</UDF21>
    <UDF22>sample string 12</UDF22>
    <UDF23>sample string 13</UDF23>
    <UDF24>sample string 14</UDF24>
    <UDF25>sample string 15</UDF25>
    <UDF26>sample string 16</UDF26>
    <UDF27>sample string 17</UDF27>
    <UDF28>sample string 18</UDF28>
    <UDF29>sample string 19</UDF29>
    <UDF30>sample string 20</UDF30>
  </EstimateUDFList>
  <OneSourceTaxEnabled>true</OneSourceTaxEnabled>
  <TaxJurisdictionId>11</TaxJurisdictionId>
  <EstimateNumber>sample string 12</EstimateNumber>
  <EstimateStatusID>13</EstimateStatusID>
  <LicenseeId>14</LicenseeId>
  <UpdatedQuantity>1</UpdatedQuantity>
  <EstimateId>1</EstimateId>
  <StatusName>sample string 2</StatusName>
</EstimateUpdateModel>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'EstimateUpdateModel'.

Response Information

Resource Description

EstimateResponse
NameDescriptionTypeAdditional information
EstimateId

integer

None.

EstimateNumber

string

None.

Error

string

None.

Response Formats

application/json, text/json

Sample:
{
  "EstimateId": 1,
  "EstimateNumber": "sample string 2",
  "Error": "sample string 3"
}

application/xml, text/xml

Sample:
<EstimateResponse xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <EstimateId>1</EstimateId>
  <EstimateNumber>sample string 2</EstimateNumber>
  <Error>sample string 3</Error>
</EstimateResponse>