POST v1/Estimate/EstimateInsert

Request Information

URI Parameters

None.

Body Parameters

EstimateInsertModel
NameDescriptionTypeAdditional information
ExpectedQuantity

integer

None.

InventoryList

Collection of EstimateInventoryInsertModel

None.

ServiceList

Collection of EstimateServiceInsertModel

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:
{
  "ExpectedQuantity": 1,
  "InventoryList": [
    {
      "Priority": 1,
      "ItemId": 1,
      "Description": "sample string 2",
      "QuantityNeeded": 3.0
    },
    {
      "Priority": 1,
      "ItemId": 1,
      "Description": "sample string 2",
      "QuantityNeeded": 3.0
    }
  ],
  "ServiceList": [
    {
      "ServiceId": 1,
      "SvcQuantity": 2,
      "UnitPrice": 3.0,
      "ServiceHyperlink": "sample string 4",
      "FileLocation": "sample string 5",
      "Description": "sample string 6",
      "ItemNotes": "sample string 7",
      "Taxable": true,
      "UDFList": {
        "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"
      }
    },
    {
      "ServiceId": 1,
      "SvcQuantity": 2,
      "UnitPrice": 3.0,
      "ServiceHyperlink": "sample string 4",
      "FileLocation": "sample string 5",
      "Description": "sample string 6",
      "ItemNotes": "sample string 7",
      "Taxable": true,
      "UDFList": {
        "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"
      }
    }
  ],
  "CustomerId": 3,
  "ContactId": 1,
  "SalesRepId": 1,
  "CSRId": 1,
  "ProjectName": "sample string 4",
  "PONumber": "sample string 5",
  "TermsCode": "sample string 6",
  "Taxable": true,
  "EstimateDate": "2024-11-21T04:58:19.8111043-05:00",
  "DateIn": "2024-11-21T04:58:19.8111043-05:00",
  "MaterialInDate": "2024-11-21T04:58:19.8111043-05:00",
  "ArtworkInDate": "2024-11-21T04:58:19.8111043-05:00",
  "DueDate": "2024-11-21T04:58:19.8111043-05:00",
  "TimeDue": "2024-11-21T04:58:19.8111043-05: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:
<EstimateInsertModel 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-11-21T04:58:19.8111043-05:00</EstimateDate>
  <DateIn>2024-11-21T04:58:19.8111043-05:00</DateIn>
  <MaterialInDate>2024-11-21T04:58:19.8111043-05:00</MaterialInDate>
  <ArtworkInDate>2024-11-21T04:58:19.8111043-05:00</ArtworkInDate>
  <DueDate>2024-11-21T04:58:19.8111043-05:00</DueDate>
  <TimeDue>2024-11-21T04:58:19.8111043-05: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>
  <ExpectedQuantity>1</ExpectedQuantity>
  <InventoryList>
    <EstimateInventoryInsertModel>
      <Priority>1</Priority>
      <ItemId>1</ItemId>
      <Description>sample string 2</Description>
      <QuantityNeeded>3</QuantityNeeded>
      <BaseUnitOfMeasure>sample string 4</BaseUnitOfMeasure>
      <DisplayUnitOfMeasure>sample string 5</DisplayUnitOfMeasure>
      <ItemCode>sample string 6</ItemCode>
      <ItemName>sample string 7</ItemName>
    </EstimateInventoryInsertModel>
    <EstimateInventoryInsertModel>
      <Priority>1</Priority>
      <ItemId>1</ItemId>
      <Description>sample string 2</Description>
      <QuantityNeeded>3</QuantityNeeded>
      <BaseUnitOfMeasure>sample string 4</BaseUnitOfMeasure>
      <DisplayUnitOfMeasure>sample string 5</DisplayUnitOfMeasure>
      <ItemCode>sample string 6</ItemCode>
      <ItemName>sample string 7</ItemName>
    </EstimateInventoryInsertModel>
  </InventoryList>
  <ServiceList>
    <EstimateServiceInsertModel>
      <ServiceId>1</ServiceId>
      <SvcQuantity>2</SvcQuantity>
      <UnitPrice>3</UnitPrice>
      <ServiceHyperlink>sample string 4</ServiceHyperlink>
      <FileLocation>sample string 5</FileLocation>
      <Description>sample string 6</Description>
      <ItemNotes>sample string 7</ItemNotes>
      <Taxable>true</Taxable>
      <ServiceName>sample string 8</ServiceName>
      <ServiceTypeId>9</ServiceTypeId>
      <CommodityCodeId>10</CommodityCodeId>
      <BasePrice>11</BasePrice>
      <SetupTime>12</SetupTime>
      <RunRate>13</RunRate>
      <SetupFee>14</SetupFee>
      <UnitCost>15</UnitCost>
      <UDFList>
        <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>
      </UDFList>
    </EstimateServiceInsertModel>
    <EstimateServiceInsertModel>
      <ServiceId>1</ServiceId>
      <SvcQuantity>2</SvcQuantity>
      <UnitPrice>3</UnitPrice>
      <ServiceHyperlink>sample string 4</ServiceHyperlink>
      <FileLocation>sample string 5</FileLocation>
      <Description>sample string 6</Description>
      <ItemNotes>sample string 7</ItemNotes>
      <Taxable>true</Taxable>
      <ServiceName>sample string 8</ServiceName>
      <ServiceTypeId>9</ServiceTypeId>
      <CommodityCodeId>10</CommodityCodeId>
      <BasePrice>11</BasePrice>
      <SetupTime>12</SetupTime>
      <RunRate>13</RunRate>
      <SetupFee>14</SetupFee>
      <UnitCost>15</UnitCost>
      <UDFList>
        <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>
      </UDFList>
    </EstimateServiceInsertModel>
  </ServiceList>
  <StatusName>sample string 2</StatusName>
</EstimateInsertModel>

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 'EstimateInsertModel'.

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>