Add a file/document to a specified leg

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

ID of the leg for which to update a file/document. It could also be the external ID of the leg, but in order to use external ID it has to follow this format: ext:{externalID} or external_id:{externalID}. So for example if the leg's external ID is test123 then the value of legID should be ext:test1234 or external_id:test1234.

string
required

ID of the leg file

Body Params

Leg file create request

A request to create a file/document for a leg

string
enum

The type of leg file

string

The url location for the leg file

string

A description of the leg file

float

Coordinate (latitude). This field value can be null

float

Coordinate (longitude). This field value can be null

metadata
object

Metadata object for the leg file

Responses

Language
Credentials
OAuth2
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json