POST api/Price

Calculate parcel delivery price

Request Information

Parameters

NameDescriptionAdditional information
requestParams
No documentation available.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "ParcelTypeId": 1,
  "ReceiverCityId": 2,
  "IsExpress": true,
  "Weight": 4.1,
  "X": 1.1,
  "Y": 1.1,
  "Z": 1.1,
  "Insurance": {
    "IsInsured": true,
    "InsuranceAmount": 2.1,
    "InsuranceCurrencyID": 3.0
  },
  "deliveryMethod": 5,
  "isHand2Hand": true
}

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

Response Information

No documentation available.

Response body formats

application/json, text/json

Sample:
{
  "Price": 1.1,
  "Currency_ID": 2,
  "Currency_Name": "sample string 3",
  "Status": {
    "Code": "sample string 1",
    "descriptionEn": "sample string 2",
    "Description": "sample string 3",
    "descriptionRu": "sample string 4",
    "message": "sample string 5"
  }
}