| POST | /automated-browser-task-services/syr-automated-ticket-importer |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| CustomerId | body | string | Yes | |
| Vehicles | body | List<SYR_Vehicle> | Yes |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| PlateNumber | form | string | No | |
| PlateState | form | string | No | |
| AccountNumber | form | string | No | |
| DriverFirstName | form | string | No | |
| DriverLastName | form | string | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /automated-browser-task-services/syr-automated-ticket-importer HTTP/1.1
Host: api.paylock.com
Accept: text/csv
Content-Type: text/csv
Content-Length: length
{"customerId":"String","vehicles":[{"plateNumber":"String","plateState":"String","accountNumber":"String","driverFirstName":"String","driverLastName":"String"}]}
HTTP/1.1 200 OK Content-Type: text/csv Content-Length: length false