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 .jsv suffix or ?format=jsv

HTTP + JSV

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

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

{
	customerFleetId: 0,
	totalVehicles: 0,
	isClaim: False
}
HTTP/1.1 200 OK
Content-Type: text/jsv
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
	}
}