vinCARRIER

<back to all web services

GetClaimFee

Requires Authentication
The following routes are available for this service:
GET/api/credit/claimfeeGet fee for claiming a jobQuote fee for claiming a job from a specified fleet
GetClaimFee Parameters:
NameParameterData TypeRequiredDescription
CustomerFleetIdmodelintegerYesId of the fleet the owns the job
TotalVehiclesmodelintegerNoNumber of vehicles on the job. Defaults to 1
IsClaimmodelintegerNoThe job is being claimed from vinDispatch. Defaults false
ApiResponse<T> Parameters:
NameParameterData TypeRequiredDescription
ResponseStatusformResponseStatusNo
ResultformTNo

To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /json/reply/GetClaimFee HTTP/1.1 
Host: vincarrier.cardeliverynetwork.com 
Content-Type: application/json
Content-Length: length

{"customerFleetId":0,"totalVehicles":0,"isClaim":false}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"responseStatus":{"errorCode":"String","message":"String","stackTrace":"String","errors":[{"errorCode":"String","fieldName":"String","message":"String","meta":{"String":"String"}}],"meta":{"String":"String"}},"result":{"activityCost":0,"hasCredit":false,"networkCredit":0,"remainingCredit":0}}