URL
https://devwebapi.leadmaster.com/api/Quote/Add
Description
Adds the quote request.
HttpMethod
POST
Request Information
Parameters
| Name | Description | Additional information |
|---|---|---|
| request | The request. |
Define this parameter in the request body. |
Request body formats
application/json, text/json
Sample:
{
"access_token": "sample string 1",
"RECDNO": 2,
"QuoteName": "sample string 3",
"QuoteNumber": "sample string 4",
"Quotedate": "2025-10-31T22:34:21.1570615-04:00",
"Comments": "sample string 5",
"Taxable": true,
"TaxRate": 1.1,
"Discount": "sample string 7",
"DateCreated": "2025-10-31T22:34:21.1570615-04:00",
"LastUpdated": "2025-10-31T22:34:21.1570615-04:00",
"QuoteTotal": 1.0,
"TotalQuantity": 1.0,
"ReferenceQuoteId": 1,
"ReferenceOppId": 1,
"ContactID": 1,
"Terms": "sample string 8",
"TemplateID": 1,
"DiscountAvailable": 1,
"Signature": "sample string 9",
"Custom0": "sample string 10",
"Custom1": "sample string 11",
"Custom2": "sample string 12",
"Custom3": "sample string 13",
"Custom4": "sample string 14",
"Custom5": 1.0,
"Custom6": "2025-10-31T22:34:21.1570615-04:00",
"Custom7": 1.0,
"User_Field_1": "sample string 15",
"User_Field_2": "sample string 16",
"User_Field_3": "sample string 17",
"User_Field_4": "sample string 18",
"User_Field_5": "sample string 19",
"User_Field_6": "sample string 20",
"User_Field_7": "sample string 21",
"User_Field_8": "sample string 22",
"User_Field_9": "sample string 23",
"dUser_Field_1": "2025-10-31T22:34:21.1570615-04:00",
"dUser_Field_2": "2025-10-31T22:34:21.1570615-04:00",
"dUser_Field_3": "2025-10-31T22:34:21.1570615-04:00",
"dUser_Field_4": "2025-10-31T22:34:21.1570615-04:00",
"dUser_Field_5": "2025-10-31T22:34:21.1570615-04:00",
"dUser_Field_6": "2025-10-31T22:34:21.1570615-04:00",
"dUser_Field_7": "2025-10-31T22:34:21.1570615-04:00",
"dUser_Field_8": "2025-10-31T22:34:21.1570615-04:00",
"dUser_Field_9": "2025-10-31T22:34:21.1570615-04:00",
"dUser_Field_10": "2025-10-31T22:34:21.1570615-04:00",
"iUser_Field_1": 1,
"iUser_Field_2": 1,
"iUser_Field_3": 1,
"iUser_Field_4": 1,
"iUser_Field_5": 1,
"iUser_Field_6": 1,
"iUser_Field_7": 1,
"iUser_Field_8": 1,
"iUser_Field_9": 1,
"iUser_Field_10": 1,
"iUser_Field_11": 1,
"User_Field_10": "sample string 24",
"User_Field_11": "sample string 25",
"User_Field_12": "sample string 26",
"User_Field_13": 1.0,
"QuoteContactsID2": 1,
"lstQuoteItems": [
{
"QuoteID": 1,
"ItemID": 2,
"ItemNumber": "sample string 3",
"ProductName": "sample string 4",
"Description": "sample string 5",
"Quantity": 6.0,
"Price": 7.0,
"Discount": 8.1,
"LastUpdated": "2025-10-31T22:34:21.1570615-04:00",
"UpdatedBy": "sample string 10",
"ProductCode": "sample string 11",
"CustomD1": "2025-10-31T22:34:21.1570615-04:00",
"CustomD2": "2025-10-31T22:34:21.1570615-04:00",
"UOM_Type": "sample string 12",
"UOM_Qty": 13.0,
"CustomC1": "sample string 14",
"CustomC2": "sample string 15",
"CustomC3": "sample string 16",
"CustomC4": "sample string 17",
"CustomC5": "sample string 18",
"CustomC6": "sample string 19",
"CustomN1": 20.0,
"CustomN2": 21.0,
"CustomN3": 22.0,
"CustomN4": 23.0,
"CustomN5": 24.0,
"CustomN6": 25.0,
"CustomN7": 26.0,
"CustomN8": 27.0
},
{
"QuoteID": 1,
"ItemID": 2,
"ItemNumber": "sample string 3",
"ProductName": "sample string 4",
"Description": "sample string 5",
"Quantity": 6.0,
"Price": 7.0,
"Discount": 8.1,
"LastUpdated": "2025-10-31T22:34:21.1570615-04:00",
"UpdatedBy": "sample string 10",
"ProductCode": "sample string 11",
"CustomD1": "2025-10-31T22:34:21.1570615-04:00",
"CustomD2": "2025-10-31T22:34:21.1570615-04:00",
"UOM_Type": "sample string 12",
"UOM_Qty": 13.0,
"CustomC1": "sample string 14",
"CustomC2": "sample string 15",
"CustomC3": "sample string 16",
"CustomC4": "sample string 17",
"CustomC5": "sample string 18",
"CustomC6": "sample string 19",
"CustomN1": 20.0,
"CustomN2": 21.0,
"CustomN3": 22.0,
"CustomN4": 23.0,
"CustomN5": 24.0,
"CustomN6": 25.0,
"CustomN7": 26.0,
"CustomN8": 27.0
},
{
"QuoteID": 1,
"ItemID": 2,
"ItemNumber": "sample string 3",
"ProductName": "sample string 4",
"Description": "sample string 5",
"Quantity": 6.0,
"Price": 7.0,
"Discount": 8.1,
"LastUpdated": "2025-10-31T22:34:21.1570615-04:00",
"UpdatedBy": "sample string 10",
"ProductCode": "sample string 11",
"CustomD1": "2025-10-31T22:34:21.1570615-04:00",
"CustomD2": "2025-10-31T22:34:21.1570615-04:00",
"UOM_Type": "sample string 12",
"UOM_Qty": 13.0,
"CustomC1": "sample string 14",
"CustomC2": "sample string 15",
"CustomC3": "sample string 16",
"CustomC4": "sample string 17",
"CustomC5": "sample string 18",
"CustomC6": "sample string 19",
"CustomN1": 20.0,
"CustomN2": 21.0,
"CustomN3": 22.0,
"CustomN4": 23.0,
"CustomN5": 24.0,
"CustomN6": 25.0,
"CustomN7": 26.0,
"CustomN8": 27.0
}
]
}
application/xml, text/xml
Sample:
<AddQuoteModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessObjects.ViewModel">
<Comments>sample string 5</Comments>
<ContactID>1</ContactID>
<Custom0>sample string 10</Custom0>
<Custom1>sample string 11</Custom1>
<Custom2>sample string 12</Custom2>
<Custom3>sample string 13</Custom3>
<Custom4>sample string 14</Custom4>
<Custom5>1</Custom5>
<Custom6>2025-10-31T22:34:21.1570615-04:00</Custom6>
<Custom7>1</Custom7>
<DateCreated>2025-10-31T22:34:21.1570615-04:00</DateCreated>
<Discount>sample string 7</Discount>
<DiscountAvailable>1</DiscountAvailable>
<LastUpdated>2025-10-31T22:34:21.1570615-04:00</LastUpdated>
<QuoteContactsID2>1</QuoteContactsID2>
<QuoteName>sample string 3</QuoteName>
<QuoteNumber>sample string 4</QuoteNumber>
<QuoteTotal>1</QuoteTotal>
<Quotedate>2025-10-31T22:34:21.1570615-04:00</Quotedate>
<RECDNO>2</RECDNO>
<ReferenceOppId>1</ReferenceOppId>
<ReferenceQuoteId>1</ReferenceQuoteId>
<Signature>sample string 9</Signature>
<TaxRate>1.1</TaxRate>
<Taxable>true</Taxable>
<TemplateID>1</TemplateID>
<Terms>sample string 8</Terms>
<TotalQuantity>1</TotalQuantity>
<User_Field_1>sample string 15</User_Field_1>
<User_Field_10>sample string 24</User_Field_10>
<User_Field_11>sample string 25</User_Field_11>
<User_Field_12>sample string 26</User_Field_12>
<User_Field_13>1</User_Field_13>
<User_Field_2>sample string 16</User_Field_2>
<User_Field_3>sample string 17</User_Field_3>
<User_Field_4>sample string 18</User_Field_4>
<User_Field_5>sample string 19</User_Field_5>
<User_Field_6>sample string 20</User_Field_6>
<User_Field_7>sample string 21</User_Field_7>
<User_Field_8>sample string 22</User_Field_8>
<User_Field_9>sample string 23</User_Field_9>
<dUser_Field_1>2025-10-31T22:34:21.1570615-04:00</dUser_Field_1>
<dUser_Field_10>2025-10-31T22:34:21.1570615-04:00</dUser_Field_10>
<dUser_Field_2>2025-10-31T22:34:21.1570615-04:00</dUser_Field_2>
<dUser_Field_3>2025-10-31T22:34:21.1570615-04:00</dUser_Field_3>
<dUser_Field_4>2025-10-31T22:34:21.1570615-04:00</dUser_Field_4>
<dUser_Field_5>2025-10-31T22:34:21.1570615-04:00</dUser_Field_5>
<dUser_Field_6>2025-10-31T22:34:21.1570615-04:00</dUser_Field_6>
<dUser_Field_7>2025-10-31T22:34:21.1570615-04:00</dUser_Field_7>
<dUser_Field_8>2025-10-31T22:34:21.1570615-04:00</dUser_Field_8>
<dUser_Field_9>2025-10-31T22:34:21.1570615-04:00</dUser_Field_9>
<iUser_Field_1>1</iUser_Field_1>
<iUser_Field_10>1</iUser_Field_10>
<iUser_Field_11>1</iUser_Field_11>
<iUser_Field_2>1</iUser_Field_2>
<iUser_Field_3>1</iUser_Field_3>
<iUser_Field_4>1</iUser_Field_4>
<iUser_Field_5>1</iUser_Field_5>
<iUser_Field_6>1</iUser_Field_6>
<iUser_Field_7>1</iUser_Field_7>
<iUser_Field_8>1</iUser_Field_8>
<iUser_Field_9>1</iUser_Field_9>
<lstQuoteItems>
<QuoteItemModel>
<CustomC1>sample string 14</CustomC1>
<CustomC2>sample string 15</CustomC2>
<CustomC3>sample string 16</CustomC3>
<CustomC4>sample string 17</CustomC4>
<CustomC5>sample string 18</CustomC5>
<CustomC6>sample string 19</CustomC6>
<CustomD1>2025-10-31T22:34:21.1570615-04:00</CustomD1>
<CustomD2>2025-10-31T22:34:21.1570615-04:00</CustomD2>
<CustomN1>20</CustomN1>
<CustomN2>21</CustomN2>
<CustomN3>22</CustomN3>
<CustomN4>23</CustomN4>
<CustomN5>24</CustomN5>
<CustomN6>25</CustomN6>
<CustomN7>26</CustomN7>
<CustomN8>27</CustomN8>
<Description>sample string 5</Description>
<Discount>8.1</Discount>
<ItemID>2</ItemID>
<ItemNumber>sample string 3</ItemNumber>
<LastUpdated>2025-10-31T22:34:21.1570615-04:00</LastUpdated>
<Price>7</Price>
<ProductCode>sample string 11</ProductCode>
<ProductName>sample string 4</ProductName>
<Quantity>6</Quantity>
<QuoteID>1</QuoteID>
<UOM_Qty>13</UOM_Qty>
<UOM_Type>sample string 12</UOM_Type>
<UpdatedBy>sample string 10</UpdatedBy>
</QuoteItemModel>
<QuoteItemModel>
<CustomC1>sample string 14</CustomC1>
<CustomC2>sample string 15</CustomC2>
<CustomC3>sample string 16</CustomC3>
<CustomC4>sample string 17</CustomC4>
<CustomC5>sample string 18</CustomC5>
<CustomC6>sample string 19</CustomC6>
<CustomD1>2025-10-31T22:34:21.1570615-04:00</CustomD1>
<CustomD2>2025-10-31T22:34:21.1570615-04:00</CustomD2>
<CustomN1>20</CustomN1>
<CustomN2>21</CustomN2>
<CustomN3>22</CustomN3>
<CustomN4>23</CustomN4>
<CustomN5>24</CustomN5>
<CustomN6>25</CustomN6>
<CustomN7>26</CustomN7>
<CustomN8>27</CustomN8>
<Description>sample string 5</Description>
<Discount>8.1</Discount>
<ItemID>2</ItemID>
<ItemNumber>sample string 3</ItemNumber>
<LastUpdated>2025-10-31T22:34:21.1570615-04:00</LastUpdated>
<Price>7</Price>
<ProductCode>sample string 11</ProductCode>
<ProductName>sample string 4</ProductName>
<Quantity>6</Quantity>
<QuoteID>1</QuoteID>
<UOM_Qty>13</UOM_Qty>
<UOM_Type>sample string 12</UOM_Type>
<UpdatedBy>sample string 10</UpdatedBy>
</QuoteItemModel>
<QuoteItemModel>
<CustomC1>sample string 14</CustomC1>
<CustomC2>sample string 15</CustomC2>
<CustomC3>sample string 16</CustomC3>
<CustomC4>sample string 17</CustomC4>
<CustomC5>sample string 18</CustomC5>
<CustomC6>sample string 19</CustomC6>
<CustomD1>2025-10-31T22:34:21.1570615-04:00</CustomD1>
<CustomD2>2025-10-31T22:34:21.1570615-04:00</CustomD2>
<CustomN1>20</CustomN1>
<CustomN2>21</CustomN2>
<CustomN3>22</CustomN3>
<CustomN4>23</CustomN4>
<CustomN5>24</CustomN5>
<CustomN6>25</CustomN6>
<CustomN7>26</CustomN7>
<CustomN8>27</CustomN8>
<Description>sample string 5</Description>
<Discount>8.1</Discount>
<ItemID>2</ItemID>
<ItemNumber>sample string 3</ItemNumber>
<LastUpdated>2025-10-31T22:34:21.1570615-04:00</LastUpdated>
<Price>7</Price>
<ProductCode>sample string 11</ProductCode>
<ProductName>sample string 4</ProductName>
<Quantity>6</Quantity>
<QuoteID>1</QuoteID>
<UOM_Qty>13</UOM_Qty>
<UOM_Type>sample string 12</UOM_Type>
<UpdatedBy>sample string 10</UpdatedBy>
</QuoteItemModel>
</lstQuoteItems>
<access_token>sample string 1</access_token>
</AddQuoteModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Response body formats
application/json, text/json
Sample:
{
"StatusCode": 100,
"IsSuccess": true,
"Message": "sample string 2",
"Result": "sample string 3"
}
application/xml, text/xml
Sample:
<APIResponseBaseOfstring xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessObjects.ViewModel"> <IsSuccess>true</IsSuccess> <Message>sample string 2</Message> <Result>sample string 3</Result> <StatusCode>Continue</StatusCode> </APIResponseBaseOfstring>