The API uses the following object types in requests and responses for the Motor Club category.
Making a POST
request without a required field will result in the error 400: Bad Request
.
Registration
Name | Type | Required |
---|
product_id | string | Yes |
invoiceNumber | string | Yes |
enrollDate | ISO 8601 date string | Yes |
customer | Customer object | Yes |
Claim
Name | Type | Required |
---|
invoiceNumber | string | Yes |
internalReferenceNumber | string | Yes |
serviceType | reimbursement
rideShare
rental | Yes |
serviceInvoiceDate | ISO 8601 date string | Yes |
language | en
es
fr | No |
vehicle | Vehicle object | No |
Customer
Name | Type | Required |
---|
name | string | Yes |
phone | E.164 phone string | Yes |
email | email string | Yes |
address | Address object | No |
Address
Name | Type | Required |
---|
line1 | string | Yes |
line2 | string | No |
city | string | Yes |
state | 2 character string | Yes |
zip | string | Yes |
country | 2 character string | Yes |
Vehicle
Name | Type | Required |
---|
year | 4-digit number | Yes |
make | string | Yes |
model | string | Yes |
vin | string | No |
plateNumber | string | No |
plateState | string | No |
mileage | number | No |