Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Request:
- [
- {
- "orderNo": "58",
- "storeName": "Joomla",
- "storeId": 288,
- "itemsCount": 1,
- "name": "iPhone Pro",
- "date": "2012/05/10",
- "value": 49900,
- "currencySymbol": "US$",
- "paid": true,
- "locked": -1,
- "canPartiallyShip": true,
- "canChangeQty": false,
- "buyer": {
- "buyerId": "0445b37f4301d78c39f15469eaf5e7bbb70dfa22",
- "firstName": "ShippingEasy",
- "lastName": "Test",
- "address": {
- "line1": "456 Kent Street",
- "line2": "",
- "postalCode": "2000",
- "city": "Sydney",
- "country": "AU",
- "state": "NS"
- },
- "telephone": "045554555",
- "email": "shipping.easy@saturized.com"
- },
- "items": [
- {
- "id": "66",
- "name": "iPhone Pro",
- "quantity": "1",
- "currency": "USD",
- "currencySymbol": "US$",
- "priceValue": 49900,
- "totalPriceValue": 54800,
- "date": "2012/05/10",
- "paid": true,
- "orderNo": "58",
- "additionalInfo": null,
- "guid": "hpxouefto4oc8in61bu391iw6ggg7rrq",
- "package": 1,
- "packageDetails": {
- "width": 5,
- "height": 5,
- "length": 5,
- "weight": 1,
- "isMetric": true
- },
- "selected": false
- }
- ],
- "selected": false,
- "indeterminate": false,
- "highlighted": true,
- "DestinationAddress": {
- "CountryCode": "AU",
- "City": "Sydney",
- "Division": "",
- "PostalCode": "2000",
- "Line1": "456 Kent Street",
- "Line2": "",
- "FirstName": "ShippingEasy",
- "LastName": "Test",
- "TelephoneNumber": "554555",
- "TelephoneAreaCode": "045",
- "CompanyName": "",
- "EmailAddress": "shipping.easy@saturized.com",
- "IsResidential": 1
- },
- "Packages": [
- {
- "ValueAmount": 49900,
- "ValueCurrency": "US$",
- "Items": [
- {
- "ValueAmount": 49900,
- "ValueCurrency": "US$",
- "Quantity": "1",
- "StoreId": 288,
- "ItemId": "66",
- "OrderId": "58"
- }
- ]
- }
- ],
- "CollectionAddress": {
- "CountryCode": "AU",
- "City": "Cremorne",
- "Division": "NSW",
- "PostalCode": "2090",
- "Line1": "Gerard St 81",
- "Line2": "",
- "FirstName": "Nemanja",
- "LastName": "Cimbaljevic",
- "TelephoneNumber": "1234567",
- "TelephoneAreaCode": "02",
- "CompanyName": null,
- "EmailAddress": "zion.trooper@gmail.com",
- "IsResidential": true
- },
- "Origin": "ecommerce",
- "Id": 253,
- "Errors": {
- "CollectionAddress": [
- {
- "level": "error",
- "field": "CountryDivision",
- "text": "Country division is required for country 'AU'"
- }
- ],
- "DestinationAddress": [
- {
- "level": "error",
- "field": "CountryDivision",
- "text": "Country division is required for country 'AU'"
- },
- {
- "level": "error",
- "field": "TelephoneAreaCode",
- "text": "Telephone area code '045' is invalid"
- }
- ]
- },
- "packages": 1
- },
- {
- "orderNo": "50",
- "storeName": "Joomla",
- "storeId": 288,
- "itemsCount": 1,
- "name": "iPhone Pro",
- "date": "2012/05/10",
- "value": 49900,
- "currencySymbol": "US$",
- "paid": true,
- "locked": -1,
- "canPartiallyShip": true,
- "canChangeQty": false,
- "buyer": {
- "buyerId": "0445b37f4301d78c39f15469eaf5e7bbb70dfa22",
- "firstName": "ShippingEasy",
- "lastName": "Test",
- "address": {
- "line1": "456 Kent Street",
- "line2": "",
- "postalCode": "2000",
- "city": "Sydney",
- "country": "AU",
- "state": "NS"
- },
- "telephone": "045554555",
- "email": "shipping.easy@saturized.com"
- },
- "items": [
- {
- "id": "58",
- "name": "iPhone Pro",
- "quantity": "1",
- "currency": "USD",
- "currencySymbol": "US$",
- "priceValue": 49900,
- "totalPriceValue": 54800,
- "date": "2012/05/10",
- "paid": true,
- "orderNo": "50",
- "additionalInfo": null,
- "guid": "nytengbxm1wia1gsfs1jbtyfapk5s78e",
- "package": 1,
- "packageDetails": {
- "width": 5,
- "height": 5,
- "length": 5,
- "weight": 1,
- "isMetric": true
- },
- "selected": false
- }
- ],
- "selected": false,
- "indeterminate": false,
- "highlighted": true,
- "DestinationAddress": {
- "CountryCode": "AU",
- "City": "Sydney",
- "Division": "",
- "PostalCode": "2000",
- "Line1": "456 Kent Street",
- "Line2": "",
- "FirstName": "ShippingEasy",
- "LastName": "Test",
- "TelephoneNumber": "554555",
- "TelephoneAreaCode": "045",
- "CompanyName": "",
- "EmailAddress": "shipping.easy@saturized.com",
- "IsResidential": 1
- },
- "Packages": [
- {
- "ValueAmount": 49900,
- "ValueCurrency": "US$",
- "Items": [
- {
- "ValueAmount": 49900,
- "ValueCurrency": "US$",
- "Quantity": "1",
- "StoreId": 288,
- "ItemId": "58",
- "OrderId": "50"
- }
- ]
- }
- ],
- "CollectionAddress": {
- "CountryCode": "AU",
- "City": "Cremorne",
- "Division": "NSW",
- "PostalCode": "2090",
- "Line1": "Gerard St 81",
- "Line2": "",
- "FirstName": "Nemanja",
- "LastName": "Cimbaljevic",
- "TelephoneNumber": "1234567",
- "TelephoneAreaCode": "02",
- "CompanyName": null,
- "EmailAddress": "zion.trooper@gmail.com",
- "IsResidential": true
- },
- "Origin": "ecommerce",
- "Id": 254,
- "Errors": {
- "CollectionAddress": [
- {
- "level": "error",
- "field": "CountryDivision",
- "text": "Country division is required for country 'AU'"
- }
- ],
- "DestinationAddress": [
- {
- "level": "error",
- "field": "CountryDivision",
- "text": "Country division is required for country 'AU'"
- },
- {
- "level": "error",
- "field": "TelephoneAreaCode",
- "text": "Telephone area code '045' is invalid"
- }
- ]
- },
- "packages": 1
- },
- {
- "orderNo": "42",
- "storeName": "Joomla",
- "storeId": 288,
- "itemsCount": 1,
- "name": "Apple iPod Nano 2 Gb",
- "date": "2012/05/10",
- "value": 799000,
- "currencySymbol": "US$",
- "paid": true,
- "locked": -1,
- "canPartiallyShip": true,
- "canChangeQty": false,
- "buyer": {
- "buyerId": "0445b37f4301d78c39f15469eaf5e7bbb70dfa22",
- "firstName": "ShippingEasy",
- "lastName": "Test",
- "address": {
- "line1": "456 Kent Street",
- "line2": "",
- "postalCode": "2000",
- "city": "Sydney",
- "country": "AU",
- "state": "NS"
- },
- "telephone": "045554555",
- "email": "shipping.easy@saturized.com"
- },
- "items": [
- {
- "id": "50",
- "name": "Apple iPod Nano 2 Gb",
- "quantity": "1",
- "currency": "USD",
- "currencySymbol": "US$",
- "priceValue": 799000,
- "totalPriceValue": 876900,
- "date": "2012/05/10",
- "paid": true,
- "orderNo": "42",
- "additionalInfo": null,
- "guid": "xwgfquu36de8yhfpb6utix6ua7c1jkei",
- "package": 1,
- "packageDetails": {
- "width": 5,
- "height": 5,
- "length": 5,
- "weight": 1,
- "isMetric": true
- },
- "selected": false
- }
- ],
- "selected": false,
- "indeterminate": false,
- "highlighted": true,
- "DestinationAddress": {
- "CountryCode": "AU",
- "City": "Sydney",
- "Division": "",
- "PostalCode": "2000",
- "Line1": "456 Kent Street",
- "Line2": "",
- "FirstName": "ShippingEasy",
- "LastName": "Test",
- "TelephoneNumber": "554555",
- "TelephoneAreaCode": "045",
- "CompanyName": "",
- "EmailAddress": "shipping.easy@saturized.com",
- "IsResidential": 1
- },
- "Packages": [
- {
- "ValueAmount": 799000,
- "ValueCurrency": "US$",
- "Items": [
- {
- "ValueAmount": 799000,
- "ValueCurrency": "US$",
- "Quantity": "1",
- "StoreId": 288,
- "ItemId": "50",
- "OrderId": "42"
- }
- ]
- }
- ],
- "CollectionAddress": {
- "CountryCode": "AU",
- "City": "Cremorne",
- "Division": "NSW",
- "PostalCode": "2090",
- "Line1": "Gerard St 81",
- "Line2": "",
- "FirstName": "Nemanja",
- "LastName": "Cimbaljevic",
- "TelephoneNumber": "1234567",
- "TelephoneAreaCode": "02",
- "CompanyName": null,
- "EmailAddress": "zion.trooper@gmail.com",
- "IsResidential": true
- },
- "Origin": "ecommerce",
- "Id": 255,
- "Errors": {
- "CollectionAddress": [
- {
- "level": "error",
- "field": "CountryDivision",
- "text": "Country division is required for country 'AU'"
- }
- ],
- "DestinationAddress": [
- {
- "level": "error",
- "field": "CountryDivision",
- "text": "Country division is required for country 'AU'"
- },
- {
- "level": "error",
- "field": "TelephoneAreaCode",
- "text": "Telephone area code '045' is invalid"
- }
- ]
- },
- "packages": 1
- }
- ]
- Response:
- {
- "text": "Shipment validation failed",
- "messages": [
- {
- "level": "error",
- "field": "Currency",
- "text": "Shipment does not have Currency provided"
- },
- {
- "level": "error",
- "field": "PickupAt",
- "text": "Shipment does not have PickupAt provided"
- },
- {
- "level": "error",
- "field": "PickupCloseAt",
- "text": "Shipment does not have PickupCloseAt provided"
- },
- {
- "level": "error",
- "field": "RateId",
- "text": "Shipment does not have RateId provided"
- },
- {
- "level": "error",
- "field": "Courier",
- "text": "Shipment does not have Courier provided"
- },
- {
- "level": "error",
- "field": "ServiceType",
- "text": "Shipment does not have ServiceType provided"
- },
- {
- "level": "error",
- "field": "PickupDate",
- "text": "Shipment does not have PickupDate provided"
- },
- {
- "level": "error",
- "field": "DropOff",
- "text": "Shipment does not have DropOff provided"
- },
- {
- "level": "error",
- "field": "Est",
- "text": "Shipment does not have Est provided"
- },
- {
- "level": "error",
- "field": "HumanEst",
- "text": "Shipment does not have HumanEst provided"
- },
- {
- "level": "error",
- "field": "Currency",
- "text": "Shipment does not have Currency provided"
- },
- {
- "level": "error",
- "field": "PickupAt",
- "text": "Shipment does not have PickupAt provided"
- },
- {
- "level": "error",
- "field": "PickupCloseAt",
- "text": "Shipment does not have PickupCloseAt provided"
- },
- {
- "level": "error",
- "field": "RateId",
- "text": "Shipment does not have RateId provided"
- },
- {
- "level": "error",
- "field": "Courier",
- "text": "Shipment does not have Courier provided"
- },
- {
- "level": "error",
- "field": "ServiceType",
- "text": "Shipment does not have ServiceType provided"
- },
- {
- "level": "error",
- "field": "PickupDate",
- "text": "Shipment does not have PickupDate provided"
- },
- {
- "level": "error",
- "field": "DropOff",
- "text": "Shipment does not have DropOff provided"
- },
- {
- "level": "error",
- "field": "Est",
- "text": "Shipment does not have Est provided"
- },
- {
- "level": "error",
- "field": "HumanEst",
- "text": "Shipment does not have HumanEst provided"
- },
- {
- "level": "error",
- "field": "Currency",
- "text": "Shipment does not have Currency provided"
- },
- {
- "level": "error",
- "field": "PickupAt",
- "text": "Shipment does not have PickupAt provided"
- },
- {
- "level": "error",
- "field": "PickupCloseAt",
- "text": "Shipment does not have PickupCloseAt provided"
- },
- {
- "level": "error",
- "field": "RateId",
- "text": "Shipment does not have RateId provided"
- },
- {
- "level": "error",
- "field": "Courier",
- "text": "Shipment does not have Courier provided"
- },
- {
- "level": "error",
- "field": "ServiceType",
- "text": "Shipment does not have ServiceType provided"
- },
- {
- "level": "error",
- "field": "PickupDate",
- "text": "Shipment does not have PickupDate provided"
- },
- {
- "level": "error",
- "field": "DropOff",
- "text": "Shipment does not have DropOff provided"
- },
- {
- "level": "error",
- "field": "Est",
- "text": "Shipment does not have Est provided"
- },
- {
- "level": "error",
- "field": "HumanEst",
- "text": "Shipment does not have HumanEst provided"
- }
- ]
- }
Add Comment
Please, Sign In to add comment