Create Trip Just required fields
POST
{{baseUrl}}/account/:accountID/trip
Body
PARAM
Key |
Datatype |
Required |
Description |
HEADERS
Key |
Datatype |
Required |
Description |
Authorization
|
string |
|
(Required)
|
RESPONSES
status
curl -X POST 'https://7qzar0u2yd.execute-api.us-east-1.amazonaws.com/test//account/:accountID/trip' -H 'Authorization: eyJhbGciOiJub25lIn0.eyJhZG1pbiI6dHJ1ZSwidXNlcklEIjoiNjM5NzViZDRkY2Q2OTMwMDJjMzgxMDMzIiwiaWF0IjoxNjg1MDIwNTE4LCJpc3MiOiJ1cm46Zmxhc2h0cmFrOmlzc3VlciIsImF1ZCI6InVybjp1c2VyOmF1ZGllbmNlIiwiZXhwIjoyMDAwNTk2NTE4fQ.' -d '{"trip_number":"TAGO1237747273567852","serial":"TAGO123774727356782","status":"Activated","reuse_limit":1,"registration_date":"2023-05-23T17:37:43.513Z","use_by_date":"2022-10-20T18:59:18.000Z","device_type":"TEST"}'