POST api/Quotation/saveQuotation
Request Information
URI Parameters
None.
Body Parameters
QuotationRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| quotationMaster | quotationMaster |
None. |
|
| quotationMasterChargeAndSlab | Collection of quotationMasterChargeAndSlab |
None. |
Request Formats
application/json, text/json
Sample:
{
"quotationMaster": {
"id": 1,
"clientId": 1,
"quotCreated": "2025-12-06T10:15:51.924479+05:30",
"quotValidUpto": "2025-12-06T10:15:51.924479+05:30",
"shipmentType": "sample string 2",
"status": true,
"created": "2025-12-06T10:15:51.924479+05:30",
"createdBy": "sample string 3",
"updated": "2025-12-06T10:15:51.924479+05:30",
"updatedBy": "sample string 4",
"shipmentMode": "sample string 5",
"cargoTypeId": 1,
"cargoTypeName": "sample string 6",
"containerType": "sample string 7",
"containerSize": "sample string 8",
"shipmentPort": "sample string 9",
"subClientId": 1
},
"quotationMasterChargeAndSlab": [
{
"quotationMasterCharge": {
"id": 1,
"quotationMasterId": 1,
"chargeId": 1,
"chargeName": "sample string 2",
"chargeAmt": 1.1,
"isAnyMiniAmt": true,
"miniAmt": 1.1,
"isAnyMiniPer": true,
"miniPer": 1.1,
"atWhichValue": "sample string 3",
"narration": "sample string 4",
"status": true,
"created": "2025-12-06T10:15:51.924479+05:30",
"createdBy": "sample string 5",
"updated": "2025-12-06T10:15:51.924479+05:30",
"updatedBy": "sample string 6",
"miniPerValue": 1.1,
"isThisMandCharge": true,
"isThisActualCharge": true,
"isSlab": true,
"slabType": "sample string 7",
"blockSlabDependUpon": "sample string 8",
"blockSlabRateCalculation": "sample string 9",
"blockSlabSize": 1,
"dynamicSlabDependUpon": "sample string 10",
"dynamicSlabCalculation": "sample string 11",
"isAnyMaxAmt": true,
"maxAmt": 1.1,
"taxPercentage": 1.1
},
"quotationMasterChargeSlabs": [
{
"id": 1,
"quotationMasterId": 1,
"quotationMasterChargeId": 1,
"unitFrom": 1.1,
"unitTo": 1.1,
"amount": 1.1
},
{
"id": 1,
"quotationMasterId": 1,
"quotationMasterChargeId": 1,
"unitFrom": 1.1,
"unitTo": 1.1,
"amount": 1.1
}
]
},
{
"quotationMasterCharge": {
"id": 1,
"quotationMasterId": 1,
"chargeId": 1,
"chargeName": "sample string 2",
"chargeAmt": 1.1,
"isAnyMiniAmt": true,
"miniAmt": 1.1,
"isAnyMiniPer": true,
"miniPer": 1.1,
"atWhichValue": "sample string 3",
"narration": "sample string 4",
"status": true,
"created": "2025-12-06T10:15:51.924479+05:30",
"createdBy": "sample string 5",
"updated": "2025-12-06T10:15:51.924479+05:30",
"updatedBy": "sample string 6",
"miniPerValue": 1.1,
"isThisMandCharge": true,
"isThisActualCharge": true,
"isSlab": true,
"slabType": "sample string 7",
"blockSlabDependUpon": "sample string 8",
"blockSlabRateCalculation": "sample string 9",
"blockSlabSize": 1,
"dynamicSlabDependUpon": "sample string 10",
"dynamicSlabCalculation": "sample string 11",
"isAnyMaxAmt": true,
"maxAmt": 1.1,
"taxPercentage": 1.1
},
"quotationMasterChargeSlabs": [
{
"id": 1,
"quotationMasterId": 1,
"quotationMasterChargeId": 1,
"unitFrom": 1.1,
"unitTo": 1.1,
"amount": 1.1
},
{
"id": 1,
"quotationMasterId": 1,
"quotationMasterChargeId": 1,
"unitFrom": 1.1,
"unitTo": 1.1,
"amount": 1.1
}
]
}
]
}
application/xml, text/xml
Sample:
<QuotationRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Committed_API.DTO">
<quotationMaster xmlns:d2p1="http://schemas.datacontract.org/2004/07/Committed_API">
<d2p1:cargoTypeId>1</d2p1:cargoTypeId>
<d2p1:cargoTypeName>sample string 6</d2p1:cargoTypeName>
<d2p1:clientId>1</d2p1:clientId>
<d2p1:containerSize>sample string 8</d2p1:containerSize>
<d2p1:containerType>sample string 7</d2p1:containerType>
<d2p1:created>2025-12-06T10:15:51.924479+05:30</d2p1:created>
<d2p1:createdBy>sample string 3</d2p1:createdBy>
<d2p1:id>1</d2p1:id>
<d2p1:quotCreated>2025-12-06T10:15:51.924479+05:30</d2p1:quotCreated>
<d2p1:quotValidUpto>2025-12-06T10:15:51.924479+05:30</d2p1:quotValidUpto>
<d2p1:shipmentMode>sample string 5</d2p1:shipmentMode>
<d2p1:shipmentPort>sample string 9</d2p1:shipmentPort>
<d2p1:shipmentType>sample string 2</d2p1:shipmentType>
<d2p1:status>true</d2p1:status>
<d2p1:subClientId>1</d2p1:subClientId>
<d2p1:updated>2025-12-06T10:15:51.924479+05:30</d2p1:updated>
<d2p1:updatedBy>sample string 4</d2p1:updatedBy>
</quotationMaster>
<quotationMasterChargeAndSlab>
<quotationMasterChargeAndSlab>
<quotationMasterCharge xmlns:d4p1="http://schemas.datacontract.org/2004/07/Committed_API">
<d4p1:atWhichValue>sample string 3</d4p1:atWhichValue>
<d4p1:blockSlabDependUpon>sample string 8</d4p1:blockSlabDependUpon>
<d4p1:blockSlabRateCalculation>sample string 9</d4p1:blockSlabRateCalculation>
<d4p1:blockSlabSize>1</d4p1:blockSlabSize>
<d4p1:chargeAmt>1.1</d4p1:chargeAmt>
<d4p1:chargeId>1</d4p1:chargeId>
<d4p1:chargeName>sample string 2</d4p1:chargeName>
<d4p1:created>2025-12-06T10:15:51.924479+05:30</d4p1:created>
<d4p1:createdBy>sample string 5</d4p1:createdBy>
<d4p1:dynamicSlabCalculation>sample string 11</d4p1:dynamicSlabCalculation>
<d4p1:dynamicSlabDependUpon>sample string 10</d4p1:dynamicSlabDependUpon>
<d4p1:id>1</d4p1:id>
<d4p1:isAnyMaxAmt>true</d4p1:isAnyMaxAmt>
<d4p1:isAnyMiniAmt>true</d4p1:isAnyMiniAmt>
<d4p1:isAnyMiniPer>true</d4p1:isAnyMiniPer>
<d4p1:isSlab>true</d4p1:isSlab>
<d4p1:isThisActualCharge>true</d4p1:isThisActualCharge>
<d4p1:isThisMandCharge>true</d4p1:isThisMandCharge>
<d4p1:maxAmt>1.1</d4p1:maxAmt>
<d4p1:miniAmt>1.1</d4p1:miniAmt>
<d4p1:miniPer>1.1</d4p1:miniPer>
<d4p1:miniPerValue>1.1</d4p1:miniPerValue>
<d4p1:narration>sample string 4</d4p1:narration>
<d4p1:quotationMasterId>1</d4p1:quotationMasterId>
<d4p1:slabType>sample string 7</d4p1:slabType>
<d4p1:status>true</d4p1:status>
<d4p1:taxPercentage>1.1</d4p1:taxPercentage>
<d4p1:updated>2025-12-06T10:15:51.924479+05:30</d4p1:updated>
<d4p1:updatedBy>sample string 6</d4p1:updatedBy>
</quotationMasterCharge>
<quotationMasterChargeSlabs xmlns:d4p1="http://schemas.datacontract.org/2004/07/Committed_API">
<d4p1:quotationMasterChargeSlab>
<d4p1:amount>1.1</d4p1:amount>
<d4p1:id>1</d4p1:id>
<d4p1:quotationMasterChargeId>1</d4p1:quotationMasterChargeId>
<d4p1:quotationMasterId>1</d4p1:quotationMasterId>
<d4p1:unitFrom>1.1</d4p1:unitFrom>
<d4p1:unitTo>1.1</d4p1:unitTo>
</d4p1:quotationMasterChargeSlab>
<d4p1:quotationMasterChargeSlab>
<d4p1:amount>1.1</d4p1:amount>
<d4p1:id>1</d4p1:id>
<d4p1:quotationMasterChargeId>1</d4p1:quotationMasterChargeId>
<d4p1:quotationMasterId>1</d4p1:quotationMasterId>
<d4p1:unitFrom>1.1</d4p1:unitFrom>
<d4p1:unitTo>1.1</d4p1:unitTo>
</d4p1:quotationMasterChargeSlab>
</quotationMasterChargeSlabs>
</quotationMasterChargeAndSlab>
<quotationMasterChargeAndSlab>
<quotationMasterCharge xmlns:d4p1="http://schemas.datacontract.org/2004/07/Committed_API">
<d4p1:atWhichValue>sample string 3</d4p1:atWhichValue>
<d4p1:blockSlabDependUpon>sample string 8</d4p1:blockSlabDependUpon>
<d4p1:blockSlabRateCalculation>sample string 9</d4p1:blockSlabRateCalculation>
<d4p1:blockSlabSize>1</d4p1:blockSlabSize>
<d4p1:chargeAmt>1.1</d4p1:chargeAmt>
<d4p1:chargeId>1</d4p1:chargeId>
<d4p1:chargeName>sample string 2</d4p1:chargeName>
<d4p1:created>2025-12-06T10:15:51.924479+05:30</d4p1:created>
<d4p1:createdBy>sample string 5</d4p1:createdBy>
<d4p1:dynamicSlabCalculation>sample string 11</d4p1:dynamicSlabCalculation>
<d4p1:dynamicSlabDependUpon>sample string 10</d4p1:dynamicSlabDependUpon>
<d4p1:id>1</d4p1:id>
<d4p1:isAnyMaxAmt>true</d4p1:isAnyMaxAmt>
<d4p1:isAnyMiniAmt>true</d4p1:isAnyMiniAmt>
<d4p1:isAnyMiniPer>true</d4p1:isAnyMiniPer>
<d4p1:isSlab>true</d4p1:isSlab>
<d4p1:isThisActualCharge>true</d4p1:isThisActualCharge>
<d4p1:isThisMandCharge>true</d4p1:isThisMandCharge>
<d4p1:maxAmt>1.1</d4p1:maxAmt>
<d4p1:miniAmt>1.1</d4p1:miniAmt>
<d4p1:miniPer>1.1</d4p1:miniPer>
<d4p1:miniPerValue>1.1</d4p1:miniPerValue>
<d4p1:narration>sample string 4</d4p1:narration>
<d4p1:quotationMasterId>1</d4p1:quotationMasterId>
<d4p1:slabType>sample string 7</d4p1:slabType>
<d4p1:status>true</d4p1:status>
<d4p1:taxPercentage>1.1</d4p1:taxPercentage>
<d4p1:updated>2025-12-06T10:15:51.924479+05:30</d4p1:updated>
<d4p1:updatedBy>sample string 6</d4p1:updatedBy>
</quotationMasterCharge>
<quotationMasterChargeSlabs xmlns:d4p1="http://schemas.datacontract.org/2004/07/Committed_API">
<d4p1:quotationMasterChargeSlab>
<d4p1:amount>1.1</d4p1:amount>
<d4p1:id>1</d4p1:id>
<d4p1:quotationMasterChargeId>1</d4p1:quotationMasterChargeId>
<d4p1:quotationMasterId>1</d4p1:quotationMasterId>
<d4p1:unitFrom>1.1</d4p1:unitFrom>
<d4p1:unitTo>1.1</d4p1:unitTo>
</d4p1:quotationMasterChargeSlab>
<d4p1:quotationMasterChargeSlab>
<d4p1:amount>1.1</d4p1:amount>
<d4p1:id>1</d4p1:id>
<d4p1:quotationMasterChargeId>1</d4p1:quotationMasterChargeId>
<d4p1:quotationMasterId>1</d4p1:quotationMasterId>
<d4p1:unitFrom>1.1</d4p1:unitFrom>
<d4p1:unitTo>1.1</d4p1:unitTo>
</d4p1:quotationMasterChargeSlab>
</quotationMasterChargeSlabs>
</quotationMasterChargeAndSlab>
</quotationMasterChargeAndSlab>
</QuotationRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.