---
title: "Haul Away Gate Exit Request – Allow truckers and/or dispatchers to submit load details AT outgate."
method: POST
path: "/v1/exit-request"
tags: ["Requests"]
---

# Haul Away Gate Exit Request – Allow truckers and/or dispatchers to submit load details AT outgate.

`POST /v1/exit-request`

## Request

- Base URL: `https://api.bnsf.com:6443`
- URL: `https://api.bnsf.com:6443/v1/exit-request`
- Auth: none declared
- TypeScript: <https://skmtc.dev/bnsf/apis/bnsf-automotive-hub-operations-api/docs/v1/exit-request/post.ts> (a function with typed inputs; its response is checked against the schema)

## Request body

- GateExitRequestFromHaulaway
  - `carrierScac` string, required: SCAC (Standard Carrier Alpha Code) consists of a two to four character alpha abbreviation used to designate a transportation company. SCACs are assigned by NMFTA (National Motor Freight Traffic Association).
  - `driverLicense` string, required: A value assigned to identify a haulaway truck driver. Value may be a Driver License Number or a value assigned by a haulaway carrier itself.
  - `gatePassCode` string, required: Identification of a specific load as assigned by the haulaway carrier itself. As the value is assigned externally it may or may not be unique.
  - `loadNumber` string, required: Identification of a specific load as assigned by the haulaway carrier itself. As the value is assigned externally it may or may not be unique.
  - `loadedVehicles` object[], required: List of VINs
    - `damages` object[]: List of damages
      - `location` string: Code that defines the area of an automobile where damage has been reported.
      - `severity` string: Code that defines the severity of damage to an automobile that has been reported.
      - `type` string: Code that defines the type of damage to an automobile that has been reported.
    - `vin` string, required: Vehicle Identification Number (VIN) is a unique, standardized, alphanumeric ID used by the automotive industry to identify individual motor vehicles.
  - `outGateLocation` string, required: Code assigned by the AAR (Association Of American Railroads) that uniquely identifies automotive ramps used in loading and unloading trains throughout North America.
  - `trailerNumber` string, required: Identification number assigned to a Trailer (part of a tractor trailer) as supplied by the haulaway carrier.
  - `truckNumber` string, required: Identification number assigned to a Truck (part of a tractor trailer) as supplied by the haulaway carrier.

## Response `200`

**OK**

The request has succeeded.

- GateExitRequestResponseFromBNSF
  - `errors` object[]: List of errors: 0000 - Vin is valid and present in table / E002 - Vin is not present in table / E0003 - Multiple Vins Found / E9999 - Error Querying for Vin
    - `code` string
    - `message` string
    - `vin` string
  - `gateExitRequestFromHaulaway` object
    - `carrierScac` string: SCAC (Standard Carrier Alpha Code) consists of a two to four character alpha abbreviation used to designate a transportation company. SCACs are assigned by NMFTA (National Motor Freight Traffic Association).
    - `driverLicense` string: A value assigned to identify a haulaway truck driver. Value may be a Driver License Number or a value assigned by a haulaway carrier itself.
    - `gatePassCode` string: Identification of a specific load as assigned by the haulaway carrier itself. As the value is assigned externally it may or may not be unique.
    - `loadNumber` string: Identification of a specific load as assigned by the haulaway carrier itself. As the value is assigned externally it may or may not be unique.
    - `loadedVehicles` object[]: List of VINs
      - `damages` object[]: List of damages
        - `location` string: Code that defines the area of an automobile where damage has been reported.
        - `severity` string: Code that defines the severity of damage to an automobile that has been reported.
        - `type` string: Code that defines the type of damage to an automobile that has been reported.
      - `vin` string: Vehicle Identification Number (VIN) is a unique, standardized, alphanumeric ID used by the automotive industry to identify individual motor vehicles.
    - `outGateLocation` string: Code assigned by the AAR (Association Of American Railroads) that uniquely identifies automotive ramps used in loading and unloading trains throughout North America.
    - `trailerNumber` string: Identification number assigned to a Trailer (part of a tractor trailer) as supplied by the haulaway carrier.
    - `truckNumber` string: Identification number assigned to a Truck (part of a tractor trailer) as supplied by the haulaway carrier.
  - `haulPass` string: The gate pass ID is assigned by a haulaway carrier. As there are multiple haulaway carriers, this value is not guaranteed to be unique across all haulers, therefore duplicate values are possible.

## Other responses

- `400`: **Bad Request** The request could not be understood by the server due to incorrect syntax. Do not repeat the request without modifications.
- `403`: Unauthorized request. Here are the most common causes: * You are getting 403 Access Denied. * It takes a few days for us to get you set up after you register. When set up is complete, you will receive an email letting you know. If you have not received the email, please wait up to five business days. Let us know via API Support if you still have not received the email after five business days. * You can also get this error if your certificate is not configured properly on your side. Please review the Mutual Authentication in the Getting Started section of our documentation. * You are getting 403 "message": "Insufficient privileges" when accessing a restricted service for which you do not have permission. You can use our Registration form to request access. Be sure to explain the situation in the "Please explain how you intend to use the API" field.
- `404`: **Not Found** The server cannot find the requested resource (URI). That is, the address of the endpoint in your request does not exist. Please consult the documentation.
- `405`: **Method Not Allowed** The request HTTP method is known by the server but has been disabled and cannot be used for that resource. For example, you may be using GET when POST is required. Please consult the documentation.
- `429`: **Too Many Requests** The BNSF API Gateway enforces rate limits to maintain application security and performance. Current rate limits are set as follows: * 1 API Request Per Second, Per Partner, Per Service * 15 API Requests Per Minute, Per Partner, Per Service * 100 API Request Per Minute, Per Service When requests exceed these limits the API Gateway will return a **429 Too Many Requests** error response. Upon receiving such exceptions, you can resubmit failed requests in a rate-limited manner, complying with the API Gateway throttle limits.
- `500`: **Internal Server Error** The server encountered an unexpected condition which prevented it from fulfilling the request. This is always a problem on the server side. Our internal support systems will be made aware.
- `504`: **Gateway Timeout** The server is acting as a gateway and cannot get a response in time for a request. Wait about one minute then try again.

---

[API](https://skmtc.dev/bnsf/apis/bnsf-automotive-hub-operations-api.md) - [All operations](https://skmtc.dev/bnsf/apis/bnsf-automotive-hub-operations-api/llms.txt) - [OpenAPI document](https://skmtc.dev/bnsf/apis/bnsf-automotive-hub-operations-api/revisions/99256a51c862?raw)
