HTTP + JSV
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /jsv/reply/VehicleProxy HTTP/1.1
Host: vincarrier.cardeliverynetwork.com
Content-Type: text/jsv
Content-Length: length
{
jobIdOrLoadId: String,
vinOrVehicleId: String,
registration: String,
vin: String,
make: String,
model: String,
variant: String,
color: String,
weight: 0,
loadDirection: NotRecorded,
loadLevel: NotRecorded,
loadPosition: 0,
location: String,
movementNumber: String,
notes: String,
signedBy: String,
signoffComment: String,
signature: String,
damageClaimSignedBy: String,
damageClaimSignoffComment: String,
damageClaimSignature:
{
url: String,
type: Other,
title: String,
comment: String,
friendlyType: Other
},
damageClaimDate: 0001-01-01,
status: PrePickup,
nonCompletionReason: String,
prePickupDamage:
[
{
area:
{
code: String,
description: String
},
type:
{
code: String,
description: String
},
severity:
{
code: String,
description: String
},
description: String,
photoURL:
[
String
],
aiagCode: StringStringString,
id: 0
}
],
damageAtPickup:
[
{
area:
{
code: String,
description: String
},
type:
{
code: String,
description: String
},
severity:
{
code: String,
description: String
},
description: String,
photoURL:
[
String
],
aiagCode: StringStringString,
id: 0
}
],
damageAtDropoff:
[
{
area:
{
code: String,
description: String
},
type:
{
code: String,
description: String
},
severity:
{
code: String,
description: String
},
description: String,
photoURL:
[
String
],
aiagCode: StringStringString,
id: 0
}
],
damageClaims:
[
{
area:
{
code: String,
description: String
},
type:
{
code: String,
description: String
},
severity:
{
code: String,
description: String
},
description: String,
documents:
[
{
url: String,
type: Other,
title: String,
comment: String,
friendlyType: Other
}
],
id: 0
}
],
damageClaimExtras:
[
{
area:
{
code: String,
description: String
},
type:
{
code: String,
description: String
},
severity:
{
code: String,
description: String
},
description: String,
documents:
[
{
url: String,
type: Other,
title: String,
comment: String,
friendlyType: Other
}
],
id: 0
}
],
photos:
[
{
url: String,
type: Other,
title: String,
comment: String,
friendlyType: Other
}
],
dutyOfCare:
{
String: String
},
paperwork:
{
String: String
},
cdxShipmentId: 0,
senderTripId: String,
isPickedUp: False,
isDelivered: False,
id: 0
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
registration: String,
vin: String,
make: String,
model: String,
variant: String,
color: String,
weight: 0,
loadDirection: NotRecorded,
loadLevel: NotRecorded,
loadPosition: 0,
location: String,
movementNumber: String,
notes: String,
signedBy: String,
signoffComment: String,
signature: String,
damageClaimSignedBy: String,
damageClaimSignoffComment: String,
damageClaimSignature:
{
url: String,
type: Other,
title: String,
comment: String,
friendlyType: Other
},
damageClaimDate: 0001-01-01,
status: PrePickup,
nonCompletionReason: String,
prePickupDamage:
[
{
area:
{
code: String,
description: String
},
type:
{
code: String,
description: String
},
severity:
{
code: String,
description: String
},
description: String,
photoURL:
[
String
],
aiagCode: StringStringString,
id: 0
}
],
damageAtPickup:
[
{
area:
{
code: String,
description: String
},
type:
{
code: String,
description: String
},
severity:
{
code: String,
description: String
},
description: String,
photoURL:
[
String
],
aiagCode: StringStringString,
id: 0
}
],
damageAtDropoff:
[
{
area:
{
code: String,
description: String
},
type:
{
code: String,
description: String
},
severity:
{
code: String,
description: String
},
description: String,
photoURL:
[
String
],
aiagCode: StringStringString,
id: 0
}
],
damageClaims:
[
{
area:
{
code: String,
description: String
},
type:
{
code: String,
description: String
},
severity:
{
code: String,
description: String
},
description: String,
documents:
[
{
url: String,
type: Other,
title: String,
comment: String,
friendlyType: Other
}
],
id: 0
}
],
damageClaimExtras:
[
{
area:
{
code: String,
description: String
},
type:
{
code: String,
description: String
},
severity:
{
code: String,
description: String
},
description: String,
documents:
[
{
url: String,
type: Other,
title: String,
comment: String,
friendlyType: Other
}
],
id: 0
}
],
photos:
[
{
url: String,
type: Other,
title: String,
comment: String,
friendlyType: Other
}
],
dutyOfCare:
{
String: String
},
paperwork:
{
String: String
},
cdxShipmentId: 0,
senderTripId: String,
isPickedUp: False,
isDelivered: False,
id: 0
}