HTTP + JSV
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /jsv/reply/ProxyDriver HTTP/1.1
Host: vincarrier.cardeliverynetwork.com
Content-Type: text/jsv
Content-Length: length
{
remoteIdOrId: String,
isMobileRole: False,
remoteId: String,
firstName: String,
lastName: String,
username: String,
password: String,
email: String,
mobilePhone: String,
licenseNumber: String,
homeFleet:
{
name: String,
scac: String,
dotNumber: String,
multiTransporters: 0,
isBroker: False,
logoUrl: String,
podNote: String,
supplierTermsUrl: String,
customerTermsUrl: String,
contact:
{
quickCode: String,
internalQuickCode: String,
locationCode: String,
contact: String,
gender: Male,
dateOfBirth: 0001-01-01,
organisationName: String,
organizationName: String,
addressLines: String,
city: String,
stateRegion: String,
zipPostCode: String,
latitude: 0,
longitude: 0,
bestGeoLookupString: String,
email: String,
fax: String,
phone: String,
mobilePhone: String,
otherPhone: String,
notes: String,
openingHours:
[
{
day: String,
open: String,
close: String,
allowAfterHours: False
}
],
countryCode: String,
importDisplayString: "String, String, String, String",
id: 0
},
insurances:
[
{
name: String,
company: String,
amount: 0,
expiry: 0001-01-01
}
],
documents:
[
{
url: String,
type: Other,
title: String,
comment: String,
friendlyType: Other
}
],
id: 0
},
apiKey: 00000000000000000000000000000000,
photo: String,
signature: String,
lastPosition:
{
time: 0001-01-01,
latitude: 0,
longitude: 0,
altitude: 0,
heading: 0,
speed: 0
},
lastHeartbeatTime: 0001-01-01,
lastHeartbeatRecency: Hrs1,
lastLocationRecency: Hrs1,
tag: String,
privacyPolicyAccepted: 0,
licenseIssuingState: String,
licenseIssuingCountry: String,
receivePODMail: False,
timeZone: String,
isActive: False,
fullName: String String,
importDisplayString: String String,
id: 0
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
remoteIdOrId: String,
isMobileRole: False,
remoteId: String,
firstName: String,
lastName: String,
username: String,
password: String,
email: String,
mobilePhone: String,
licenseNumber: String,
homeFleet:
{
name: String,
scac: String,
dotNumber: String,
multiTransporters: 0,
isBroker: False,
logoUrl: String,
podNote: String,
supplierTermsUrl: String,
customerTermsUrl: String,
contact:
{
quickCode: String,
internalQuickCode: String,
locationCode: String,
contact: String,
gender: Male,
dateOfBirth: 0001-01-01,
organisationName: String,
organizationName: String,
addressLines: String,
city: String,
stateRegion: String,
zipPostCode: String,
latitude: 0,
longitude: 0,
bestGeoLookupString: String,
email: String,
fax: String,
phone: String,
mobilePhone: String,
otherPhone: String,
notes: String,
openingHours:
[
{
day: String,
open: String,
close: String,
allowAfterHours: False
}
],
countryCode: String,
importDisplayString: "String, String, String, String",
id: 0
},
insurances:
[
{
name: String,
company: String,
amount: 0,
expiry: 0001-01-01
}
],
documents:
[
{
url: String,
type: Other,
title: String,
comment: String,
friendlyType: Other
}
],
id: 0
},
apiKey: 00000000000000000000000000000000,
photo: String,
signature: String,
lastPosition:
{
time: 0001-01-01,
latitude: 0,
longitude: 0,
altitude: 0,
heading: 0,
speed: 0
},
lastHeartbeatTime: 0001-01-01,
lastHeartbeatRecency: Hrs1,
lastLocationRecency: Hrs1,
tag: String,
privacyPolicyAccepted: 0,
licenseIssuingState: String,
licenseIssuingCountry: String,
receivePODMail: False,
timeZone: String,
isActive: False,
fullName: String String,
importDisplayString: String String,
id: 0
}