May 2017
Intermediate to advanced
442 pages
11h 55m
English
Let's say we want to pass data to a JSON service, as is required by the UpdateVehicleGroups operation.
Open the following URL in Internet Explorer:
https://usnconeboxax1aos.cloud.onebox.dynamics.com/api/services/ConWHSServices/VehicleServices/UpdateVehicleGroup
The JSON file it opens contains the following lines of code:
{"Parameters":[{"Name":"_contract","Type":"ConWHSVehicleGroupChangeContract"}],"Return":{"Name":"return","Type":"ConWHSMessageContract"}}
The actual input JSON the request needs will follow the following pattern:
{"_contract":{"VehicleGroupId":"New vehicle group","VehicleId":"X0002","hideVehicleId":0,"parmCallId":"00000000-0000-0000-0000-000000000000","parmSessionIdx":0,"parmSessionLoginDateTime":"0001-01-01T00:00:00"}} ...Read now
Unlock full access