# ImportHeadersController_GetByLoadDate

Gets import job headers by load date or deleted date.

`GET /api/v1/ImportHeaders/GetByLoadDate`

**API:** Excise Platform API
**Tag:** ImportHeadersController
**API Version:** v1
**Base URL:** https://excise.avalara.com
**Accepts:** `application/json`
**Authentication:** Basic (username + license key)

Source: https://developer.avalara.com/products/excise/api/methods/ImportHeadersController/ImportHeadersController_GetByLoadDate/

## Description

Retrieves a filtered and paginated list of import job headers based on the date the job was loaded
or deleted. You can also filter by job status.
            
Use the offset and limit parameters to paginate through large result sets, and the sort parameter
to control the ordering of results.

## Parameters

| Name | Type | In | Required | Description |
|---|---|---|---|---|
| `x-company-id` | integer | header | Yes | Company ID that owns the data. |
| `X-Avalara-Client` | string | header | No | Identifies the software you are using to call this API. For more information on the client header, see Client Headers. |
| `loadOnDate` | string | query | No | Date the job was loaded (UTC) |
| `deletedOnDate` | string | query | No | Date the job was deleted (UTC) |
| `statusInd` | string | query | No | Status of the job |
| `sort` | string | query | No | Specifies the sort criteria for the results. |
| `offset` | integer | query | No | Specifies the number of rows to skip before returning results. |
| `limit` | integer | query | No | Specifies the maximum number of results to return. |

## Responses

| Status | Description | Schema |
|---|---|---|
| 200 | Returns a collection of import job headers filtered by load or deleted date. | `Avalara.Excise.Website.Api.ApiCollectionResponse[Avalara.Excise.Common.Contracts.BusinessObjects.StImportHeaderDC]` |

### 200 Response: `Avalara.Excise.Website.Api.ApiCollectionResponse[Avalara.Excise.Common.Contracts.BusinessObjects.StImportHeaderDC]`

| Property | Type | Required | Description |
|---|---|---|---|
| `Offset` | integer | No |  Example: `0`. |
| `Limit` | integer | No |  Example: `0`. |
| `Data` | Avalara.Excise.Common.Contracts.BusinessObjects.StImportHeaderDC[] | No |  |
| `Total` | integer | No |  Example: `0`. |
| `Errors` | string[] | No |  |

## Example Request

```bash
curl -X GET "https://excise.avalara.com/api/v1/ImportHeaders/GetByLoadDate" \
  -H "Authorization: Basic <credentials>" \
  -H "Accept: application/json"
```