POST api/RegisterParcel
Register parcel in georgian post database.
Request Information
Parameters
| Name | Description | Additional information |
|---|---|---|
| requestParams | No documentation available. |
Define this parameter in the request body. |
Request body formats
application/json, text/json
Sample:
{
"ParcelTypeId": 1,
"ReceiverCityId": 2,
"ReceiverAddressNote": "sample string 3",
"ZIP": "sample string 4",
"IsExpress": true,
"deliveryMethod": 6,
"Weight": 7.1,
"X": 1.1,
"Y": 1.1,
"Z": 1.1,
"Quantity": 8,
"Insurance": {
"IsInsured": true,
"InsuranceAmount": 2.1,
"InsuranceCurrencyID": 3.0
},
"ReceiverPerson": {
"PersonTypeId": 1.0,
"FirstName": "sample string 2",
"LastName": "sample string 3",
"OrganizationName": "sample string 4",
"Phone": "sample string 5",
"Email": "sample string 6"
},
"PaymentMethod": 9.0,
"isHand2Hand": true,
"declarationItems": [
{
"declarationItemID": 1.0,
"comment": "sample string 2",
"currencyId": 3.0,
"itemCount": 4.0,
"itemPrice": 5.0,
"itemWeigth": 6.0
},
{
"declarationItemID": 1.0,
"comment": "sample string 2",
"currencyId": 3.0,
"itemCount": 4.0,
"itemPrice": 5.0,
"itemWeigth": 6.0
},
{
"declarationItemID": 1.0,
"comment": "sample string 2",
"currencyId": 3.0,
"itemCount": 4.0,
"itemPrice": 5.0,
"itemWeigth": 6.0
}
],
"needExportDeclaration": true,
"COD": {
"AMOUNT": 1.0,
"CURRENCY_ID": 2.0
},
"customerParcelCode": "sample string 12",
"documentCategoryID": 13.0,
"ioss": "sample string 14"
}
application/x-www-form-urlencoded
Sample:
Response Information
No documentation available.
Response body formats
application/json, text/json
Sample:
{
"InternalCode": "sample string 1",
"Status": {
"Code": "sample string 1",
"descriptionEn": "sample string 2",
"Description": "sample string 3",
"descriptionRu": "sample string 4",
"message": "sample string 5"
}
}