You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

RIQ - REST Json - Not Fetching Results

Summary:

I am using Rest Service to get the rates, and below is the structure i am using through postman to get the rates but however its giving an error as

"Status": 400,    "title": "Content error in message body.",    

"detail": "Content error in message body.",   

 "o:errorDetails": [       

 {            "title": "ClientMessageException",           

 "o:errorPath": "Content not expected after attribute , location (line no=30, column no=40, offset=889)."        }    ]}"

below is the Json I am using:

{
"requestType": "AllOptions",
"perspective": "B",
"orderReleases": {
"sourceLocationGid": "ABC.LOCATION1",
"destLocationGid": "ABC.LOCATION2",
"lines": {
"items": [
{
"packagedItemGid": "DEFAULT",
"weight": {
"value": 0,
"unit": "LB"
},
"volume": {
"value": 0,
"unit": "CUFT"
},
"declaredValue": {
"value": 0,
"currency": "USD"
},
"itemPackageCount": 1,
"isHazardous": false
}
]
},
"specialServices": [
{
"specialServiceCodeGid": "ABC.BUY PER TRIP"

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!