POST api/Agents/SendBookingRequest

Request Information

URI Parameters

None.

Body Parameters

AgentQuoteResp
NameDescriptionTypeAdditional information
idx

integer

None.

AddedOn

date

None.

AddedBy

integer

None.

DocNo

string

None.

Origin

string

None.

POL

string

None.

POD

string

None.

Destination

string

None.

Container

string

None.

Carrier

string

None.

Rate

decimal number

None.

RateNote

string

None.

ChargeDetails

string

None.

Commodity

string

None.

QuoteNotes

string

None.

QuoteCmdty

string

None.

isHazardous

boolean

None.

isVehicle

boolean

None.

InternalRemarks

string

None.

AddedByName

string

None.

Charges

Collection of RateChargesResp

None.

BlCharges

Collection of RateChargesResp

None.

OriginalTotal

decimal number

None.

ProfitAmount

decimal number

None.

OriginalBaseRate

decimal number

None.

RateEff

date

None.

RateExp

date

None.

QuoteExpiryDate

date

None.

ShipperName

string

None.

ShipperCompany

string

None.

ShipperContact

string

None.

ShipperEmail

string

None.

IncoTerm

integer

None.

IncoTermName

string

None.

CargoReadyDate

date

None.

ConsigneeName

string

None.

ConsigneeAddress

string

None.

originIdx

integer

None.

polidx

integer

None.

podidx

integer

None.

delv

integer

None.

originarblocidx

integer

None.

destarblocidx

integer

None.

datefrom

date

None.

dateto

date

None.

Request Formats

application/json, text/json

Sample:
{
  "idx": 1,
  "AddedOn": "2025-12-17T17:41:42.2386321+05:00",
  "AddedBy": 3,
  "DocNo": "sample string 4",
  "Origin": "sample string 5",
  "POL": "sample string 6",
  "POD": "sample string 7",
  "Destination": "sample string 8",
  "Container": "sample string 9",
  "Carrier": "sample string 10",
  "Rate": 11.0,
  "RateNote": "sample string 12",
  "ChargeDetails": "sample string 13",
  "Commodity": "sample string 14",
  "QuoteNotes": "sample string 15",
  "QuoteCmdty": "sample string 16",
  "isHazardous": true,
  "isVehicle": true,
  "InternalRemarks": "sample string 19",
  "AddedByName": "sample string 20",
  "Charges": [
    {
      "idx": 1,
      "rtIdx": 2,
      "carrier": 1,
      "location": 1,
      "rateCode": 3,
      "flgInclude": 64,
      "charge1": 1.0,
      "currency": 1,
      "txt": "sample string 4",
      "changedBy": 1,
      "eff_date": "2025-12-17T17:41:42.2386321+05:00",
      "exp_date": "2025-12-17T17:41:42.2386321+05:00",
      "curIdx": 5,
      "chargeType": "sample string 6",
      "marker": 64,
      "RateCodeShort": "sample string 7",
      "RateCodeFull": "sample string 8",
      "Amount": 9.0
    },
    {
      "idx": 1,
      "rtIdx": 2,
      "carrier": 1,
      "location": 1,
      "rateCode": 3,
      "flgInclude": 64,
      "charge1": 1.0,
      "currency": 1,
      "txt": "sample string 4",
      "changedBy": 1,
      "eff_date": "2025-12-17T17:41:42.2386321+05:00",
      "exp_date": "2025-12-17T17:41:42.2386321+05:00",
      "curIdx": 5,
      "chargeType": "sample string 6",
      "marker": 64,
      "RateCodeShort": "sample string 7",
      "RateCodeFull": "sample string 8",
      "Amount": 9.0
    }
  ],
  "BlCharges": [
    {
      "idx": 1,
      "rtIdx": 2,
      "carrier": 1,
      "location": 1,
      "rateCode": 3,
      "flgInclude": 64,
      "charge1": 1.0,
      "currency": 1,
      "txt": "sample string 4",
      "changedBy": 1,
      "eff_date": "2025-12-17T17:41:42.2386321+05:00",
      "exp_date": "2025-12-17T17:41:42.2386321+05:00",
      "curIdx": 5,
      "chargeType": "sample string 6",
      "marker": 64,
      "RateCodeShort": "sample string 7",
      "RateCodeFull": "sample string 8",
      "Amount": 9.0
    },
    {
      "idx": 1,
      "rtIdx": 2,
      "carrier": 1,
      "location": 1,
      "rateCode": 3,
      "flgInclude": 64,
      "charge1": 1.0,
      "currency": 1,
      "txt": "sample string 4",
      "changedBy": 1,
      "eff_date": "2025-12-17T17:41:42.2386321+05:00",
      "exp_date": "2025-12-17T17:41:42.2386321+05:00",
      "curIdx": 5,
      "chargeType": "sample string 6",
      "marker": 64,
      "RateCodeShort": "sample string 7",
      "RateCodeFull": "sample string 8",
      "Amount": 9.0
    }
  ],
  "OriginalTotal": 21.0,
  "ProfitAmount": 22.0,
  "OriginalBaseRate": 23.0,
  "RateEff": "2025-12-17T17:41:42.2386321+05:00",
  "RateExp": "2025-12-17T17:41:42.2386321+05:00",
  "QuoteExpiryDate": "2025-12-17T17:41:42.2386321+05:00",
  "ShipperName": "sample string 27",
  "ShipperCompany": "sample string 28",
  "ShipperContact": "sample string 29",
  "ShipperEmail": "sample string 30",
  "IncoTerm": 1,
  "IncoTermName": "sample string 31",
  "CargoReadyDate": "2025-12-17T17:41:42.2386321+05:00",
  "ConsigneeName": "sample string 32",
  "ConsigneeAddress": "sample string 33",
  "originIdx": 34,
  "polidx": 35,
  "podidx": 36,
  "delv": 37,
  "originarblocidx": 38,
  "destarblocidx": 39,
  "datefrom": "2025-12-17T17:41:42.2386321+05:00",
  "dateto": "2025-12-17T17:41:42.2386321+05:00"
}

application/xml, text/xml

Sample:
<AgentQuoteResp xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RSE_API.UwstModels.Responses">
  <AddedBy>3</AddedBy>
  <AddedByName>sample string 20</AddedByName>
  <AddedOn>2025-12-17T17:41:42.2386321+05:00</AddedOn>
  <BlCharges>
    <RateChargesResp>
      <Amount>9</Amount>
      <RateCodeFull>sample string 8</RateCodeFull>
      <RateCodeShort>sample string 7</RateCodeShort>
      <carrier>1</carrier>
      <changedBy>1</changedBy>
      <charge1>1</charge1>
      <chargeType>sample string 6</chargeType>
      <curIdx>5</curIdx>
      <currency>1</currency>
      <eff_date>2025-12-17T17:41:42.2386321+05:00</eff_date>
      <exp_date>2025-12-17T17:41:42.2386321+05:00</exp_date>
      <flgInclude>64</flgInclude>
      <idx>1</idx>
      <location>1</location>
      <marker>64</marker>
      <rateCode>3</rateCode>
      <rtIdx>2</rtIdx>
      <txt>sample string 4</txt>
    </RateChargesResp>
    <RateChargesResp>
      <Amount>9</Amount>
      <RateCodeFull>sample string 8</RateCodeFull>
      <RateCodeShort>sample string 7</RateCodeShort>
      <carrier>1</carrier>
      <changedBy>1</changedBy>
      <charge1>1</charge1>
      <chargeType>sample string 6</chargeType>
      <curIdx>5</curIdx>
      <currency>1</currency>
      <eff_date>2025-12-17T17:41:42.2386321+05:00</eff_date>
      <exp_date>2025-12-17T17:41:42.2386321+05:00</exp_date>
      <flgInclude>64</flgInclude>
      <idx>1</idx>
      <location>1</location>
      <marker>64</marker>
      <rateCode>3</rateCode>
      <rtIdx>2</rtIdx>
      <txt>sample string 4</txt>
    </RateChargesResp>
  </BlCharges>
  <CargoReadyDate>2025-12-17T17:41:42.2386321+05:00</CargoReadyDate>
  <Carrier>sample string 10</Carrier>
  <ChargeDetails>sample string 13</ChargeDetails>
  <Charges>
    <RateChargesResp>
      <Amount>9</Amount>
      <RateCodeFull>sample string 8</RateCodeFull>
      <RateCodeShort>sample string 7</RateCodeShort>
      <carrier>1</carrier>
      <changedBy>1</changedBy>
      <charge1>1</charge1>
      <chargeType>sample string 6</chargeType>
      <curIdx>5</curIdx>
      <currency>1</currency>
      <eff_date>2025-12-17T17:41:42.2386321+05:00</eff_date>
      <exp_date>2025-12-17T17:41:42.2386321+05:00</exp_date>
      <flgInclude>64</flgInclude>
      <idx>1</idx>
      <location>1</location>
      <marker>64</marker>
      <rateCode>3</rateCode>
      <rtIdx>2</rtIdx>
      <txt>sample string 4</txt>
    </RateChargesResp>
    <RateChargesResp>
      <Amount>9</Amount>
      <RateCodeFull>sample string 8</RateCodeFull>
      <RateCodeShort>sample string 7</RateCodeShort>
      <carrier>1</carrier>
      <changedBy>1</changedBy>
      <charge1>1</charge1>
      <chargeType>sample string 6</chargeType>
      <curIdx>5</curIdx>
      <currency>1</currency>
      <eff_date>2025-12-17T17:41:42.2386321+05:00</eff_date>
      <exp_date>2025-12-17T17:41:42.2386321+05:00</exp_date>
      <flgInclude>64</flgInclude>
      <idx>1</idx>
      <location>1</location>
      <marker>64</marker>
      <rateCode>3</rateCode>
      <rtIdx>2</rtIdx>
      <txt>sample string 4</txt>
    </RateChargesResp>
  </Charges>
  <Commodity>sample string 14</Commodity>
  <ConsigneeAddress>sample string 33</ConsigneeAddress>
  <ConsigneeName>sample string 32</ConsigneeName>
  <Container>sample string 9</Container>
  <Destination>sample string 8</Destination>
  <DocNo>sample string 4</DocNo>
  <IncoTerm>1</IncoTerm>
  <IncoTermName>sample string 31</IncoTermName>
  <InternalRemarks>sample string 19</InternalRemarks>
  <Origin>sample string 5</Origin>
  <OriginalBaseRate>23</OriginalBaseRate>
  <OriginalTotal>21</OriginalTotal>
  <POD>sample string 7</POD>
  <POL>sample string 6</POL>
  <ProfitAmount>22</ProfitAmount>
  <QuoteCmdty>sample string 16</QuoteCmdty>
  <QuoteExpiryDate>2025-12-17T17:41:42.2386321+05:00</QuoteExpiryDate>
  <QuoteNotes>sample string 15</QuoteNotes>
  <Rate>11</Rate>
  <RateEff>2025-12-17T17:41:42.2386321+05:00</RateEff>
  <RateExp>2025-12-17T17:41:42.2386321+05:00</RateExp>
  <RateNote>sample string 12</RateNote>
  <ShipperCompany>sample string 28</ShipperCompany>
  <ShipperContact>sample string 29</ShipperContact>
  <ShipperEmail>sample string 30</ShipperEmail>
  <ShipperName>sample string 27</ShipperName>
  <datefrom>2025-12-17T17:41:42.2386321+05:00</datefrom>
  <dateto>2025-12-17T17:41:42.2386321+05:00</dateto>
  <delv>37</delv>
  <destarblocidx>39</destarblocidx>
  <idx>1</idx>
  <isHazardous>true</isHazardous>
  <isVehicle>true</isVehicle>
  <originIdx>34</originIdx>
  <originarblocidx>38</originarblocidx>
  <podidx>36</podidx>
  <polidx>35</polidx>
</AgentQuoteResp>

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

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.