POST api/Sale/InsertQuotation?isOpen={isOpen}&userId={userId}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
isOpen | boolean |
Default value is False |
|
userId | integer |
Default value is 0 |
Body Parameters
QuotationModelName | Description | Type | Additional information |
---|---|---|---|
QuotationID | integer |
None. |
|
QuotationDate | date |
None. |
|
PartyID | string |
None. |
|
IsUploaded | boolean |
None. |
|
Narration | string |
None. |
|
OfficeID | integer |
None. |
|
SectorID | integer |
None. |
|
UserNo | integer |
None. |
|
PreviousCredit | decimal number |
None. |
|
PartyID2 | string |
None. |
|
ContractRefNo | string |
None. |
|
BillOfLading | string |
None. |
|
Currency | string |
None. |
|
VesselVoyage | string |
None. |
|
FormENumber | string |
None. |
|
DeliveryTerms | string |
None. |
|
TransportName | string |
None. |
|
TermOfPayment | string |
None. |
|
MeasureUnit | string |
None. |
|
PortLoading | string |
None. |
|
CountryOrigin | string |
None. |
|
PortDischarge | string |
None. |
|
CountryDestination | string |
None. |
|
PartialShipment | string |
None. |
|
Packaging | string |
None. |
|
SalesTax | decimal number |
None. |
|
Advance | decimal number |
None. |
|
Receivable | decimal number |
None. |
|
OthersExp | decimal number |
None. |
|
IsContract | boolean |
None. |
|
PONumber | string |
None. |
|
CustomerName | string |
None. |
|
IsMRP | boolean |
None. |
|
IsRP | boolean |
None. |
|
Freight | decimal number |
None. |
|
Labour | decimal number |
None. |
|
PartyName | string |
None. |
|
SectorName | string |
None. |
|
TownName | string |
None. |
|
ListBody | Collection of QuotationBody |
None. |
Request Formats
application/json, text/json
Sample:
{ "QuotationID": 1, "QuotationDate": "2025-07-04T18:58:51.561604+05:00", "PartyID": "sample string 3", "IsUploaded": true, "Narration": "sample string 5", "OfficeID": 6, "SectorID": 7, "UserNo": 8, "PreviousCredit": 9.0, "PartyID2": "sample string 10", "ContractRefNo": "sample string 11", "BillOfLading": "sample string 12", "Currency": "sample string 13", "VesselVoyage": "sample string 14", "FormENumber": "sample string 15", "DeliveryTerms": "sample string 16", "TransportName": "sample string 17", "TermOfPayment": "sample string 18", "MeasureUnit": "sample string 19", "PortLoading": "sample string 20", "CountryOrigin": "sample string 21", "PortDischarge": "sample string 22", "CountryDestination": "sample string 23", "PartialShipment": "sample string 24", "Packaging": "sample string 25", "SalesTax": 26.0, "Advance": 27.0, "Receivable": 28.0, "OthersExp": 29.0, "IsContract": true, "PONumber": "sample string 31", "CustomerName": "sample string 32", "IsMRP": true, "IsRP": true, "Freight": 35.0, "Labour": 36.0, "PartyName": "sample string 37", "SectorName": "sample string 38", "TownName": "sample string 39", "ListBody": [ { "QuotationID": 1, "ProductID": "sample string 2", "Qty": 3, "Bonus": 4, "Price": 5.0, "DiscRatio": 6.0, "DiscValue": 7.0, "STRatio": 8.0, "STValue": 9.0, "TTLValue": 10.0, "TTLSalesTax": 11.0, "Cost": 12.0, "Description": "sample string 13", "IsDeleted": true, "QtyL": 15, "PackingId": 16, "Multiplier": 17.0, "IsValueB4Ratio": true, "HSCode": "sample string 19", "ProductName": "sample string 20" }, { "QuotationID": 1, "ProductID": "sample string 2", "Qty": 3, "Bonus": 4, "Price": 5.0, "DiscRatio": 6.0, "DiscValue": 7.0, "STRatio": 8.0, "STValue": 9.0, "TTLValue": 10.0, "TTLSalesTax": 11.0, "Cost": 12.0, "Description": "sample string 13", "IsDeleted": true, "QtyL": 15, "PackingId": 16, "Multiplier": 17.0, "IsValueB4Ratio": true, "HSCode": "sample string 19", "ProductName": "sample string 20" } ] }
application/xml, text/xml
Sample:
<QuotationModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ultrabiz_ERP_API.Models"> <Advance>27</Advance> <BillOfLading>sample string 12</BillOfLading> <ContractRefNo>sample string 11</ContractRefNo> <CountryDestination>sample string 23</CountryDestination> <CountryOrigin>sample string 21</CountryOrigin> <Currency>sample string 13</Currency> <CustomerName>sample string 32</CustomerName> <DeliveryTerms>sample string 16</DeliveryTerms> <FormENumber>sample string 15</FormENumber> <Freight>35</Freight> <IsContract>true</IsContract> <IsMRP>true</IsMRP> <IsRP>true</IsRP> <IsUploaded>true</IsUploaded> <Labour>36</Labour> <ListBody> <QuotationBody> <Bonus>4</Bonus> <Cost>12</Cost> <Description>sample string 13</Description> <DiscRatio>6</DiscRatio> <DiscValue>7</DiscValue> <HSCode>sample string 19</HSCode> <IsDeleted>true</IsDeleted> <IsValueB4Ratio>true</IsValueB4Ratio> <Multiplier>17</Multiplier> <PackingId>16</PackingId> <Price>5</Price> <ProductID>sample string 2</ProductID> <ProductName>sample string 20</ProductName> <Qty>3</Qty> <QtyL>15</QtyL> <QuotationID>1</QuotationID> <STRatio>8</STRatio> <STValue>9</STValue> <TTLSalesTax>11</TTLSalesTax> <TTLValue>10</TTLValue> </QuotationBody> <QuotationBody> <Bonus>4</Bonus> <Cost>12</Cost> <Description>sample string 13</Description> <DiscRatio>6</DiscRatio> <DiscValue>7</DiscValue> <HSCode>sample string 19</HSCode> <IsDeleted>true</IsDeleted> <IsValueB4Ratio>true</IsValueB4Ratio> <Multiplier>17</Multiplier> <PackingId>16</PackingId> <Price>5</Price> <ProductID>sample string 2</ProductID> <ProductName>sample string 20</ProductName> <Qty>3</Qty> <QtyL>15</QtyL> <QuotationID>1</QuotationID> <STRatio>8</STRatio> <STValue>9</STValue> <TTLSalesTax>11</TTLSalesTax> <TTLValue>10</TTLValue> </QuotationBody> </ListBody> <MeasureUnit>sample string 19</MeasureUnit> <Narration>sample string 5</Narration> <OfficeID>6</OfficeID> <OthersExp>29</OthersExp> <PONumber>sample string 31</PONumber> <Packaging>sample string 25</Packaging> <PartialShipment>sample string 24</PartialShipment> <PartyID>sample string 3</PartyID> <PartyID2>sample string 10</PartyID2> <PartyName>sample string 37</PartyName> <PortDischarge>sample string 22</PortDischarge> <PortLoading>sample string 20</PortLoading> <PreviousCredit>9</PreviousCredit> <QuotationDate>2025-07-04T18:58:51.561604+05:00</QuotationDate> <QuotationID>1</QuotationID> <Receivable>28</Receivable> <SalesTax>26</SalesTax> <SectorID>7</SectorID> <SectorName>sample string 38</SectorName> <TermOfPayment>sample string 18</TermOfPayment> <TownName>sample string 39</TownName> <TransportName>sample string 17</TransportName> <UserNo>8</UserNo> <VesselVoyage>sample string 14</VesselVoyage> </QuotationModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |