Skip to content

Get operation zone

GET/operation-zones/{id}

Auth: X-API-Key headerhttps://warpdrive.staging.transferz.com/transfercompanies

Retrieves an operation zone by its identifier

Returns an operation zone: the area your company serves from a hub, as a polygon. The id is in a journey's fareSummary.operationZoneId.

Path parameters

  • idinteger · int64required

    The id of the operation zone to retrieve

Headers

  • X-Request-IDstring

    The optional (ideally unique) request identifier used for later analysis or diagnostics

Responses

OK

  • idinteger · int64
  • namestring
  • polygonarray of objects

Errors this endpoint can return

  • When: The zone is not one of your company's.

    What to do: Check that the id belongs to your company and that you use the key of the right user. Ask Transferz to check the account's permissions if the id is correct.