Fluxir DocsFluxir Docs

Partially update trip by ID

PATCH/api/app/trip/{id}

Header Parameters

X-Tenantstring

Tenant ID

Path Parameters

idintegerrequired

Body application/json

serviceApplicationIdsinteger<int64>[]
originationCodestring
destinatonCodestring
descriptionstring
notesstring
fromstring<date>
tostring<date>

Response

OK

No Content

Bad Request

errorobject
Show error properties
codestring
messagestring
detailsstring
dataobject
validationErrorsobject[]
Show validationErrors properties
messagestring
membersstring[]

Unauthorized

errorobject
Show error properties
codestring
messagestring
detailsstring
dataobject
validationErrorsobject[]
Show validationErrors properties
messagestring
membersstring[]

Forbidden

errorobject
Show error properties
codestring
messagestring
detailsstring
dataobject
validationErrorsobject[]
Show validationErrors properties
messagestring
membersstring[]

Not Found

errorobject
Show error properties
codestring
messagestring
detailsstring
dataobject
validationErrorsobject[]
Show validationErrors properties
messagestring
membersstring[]

Internal Server Error

errorobject
Show error properties
codestring
messagestring
detailsstring
dataobject
validationErrorsobject[]
Show validationErrors properties
messagestring
membersstring[]

Not Implemented

errorobject
Show error properties
codestring
messagestring
detailsstring
dataobject
validationErrorsobject[]
Show validationErrors properties
messagestring
membersstring[]
Request
curl -X PATCH "https://api.example.com/api/app/trip/<id>" \
  -H "Content-Type: application/json" \
  -H "X-Tenant: <X-Tenant>" \
  -d '{
  "serviceApplicationIds": [
    0
  ],
  "originationCode": "string",
  "destinatonCode": "string",
  "description": "string",
  "notes": "string",
  "from": "2024-01-01",
  "to": "2024-01-01"
}'
Response
(no body)