> For the complete documentation index, see [llms.txt](https://docs.number.tech/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.number.tech/api-reference/rest-api/query/consents-expiring-cards-01.md).

# Consents Expiring Cards 01

<mark style="color:orange;">post:</mark> <https://easypay5.com/APIcardProcNumber/v1.0.0/Query/ConsentsExpiringCards\\_01>

Query general consent records using specific filter criteria.

{% tabs %}
{% tab title="Sample Request" %}

```clike
{
  "StartDate": "7/10/2023",
  "EndDate": "8/9/2023"
}
```

{% endtab %}

{% tab title="Sample Response" %}

```clike
{
  "ConsentsExpiringCards_01Result": {
    "Consents": [
      {
        "AcctHolderFirstName": "Sally",
        "AcctHolderID": 541,
        "AcctHolderLastName": "Smith",
        "AcctNo": "5439",
        "CardExpDate": "/Date(1706677200000-0500)/",
        "CardExpDateMMYY": "0128",
        "ConsentType": null,
        "CreatedBy": "Savannah_Tester",
        "CreatedByOrigin": "WID",
        "CreatedOn": "/Date(1697832095713-0400)/",
        "CustID": 548,
        "CustomerRefID": "12345",
        "EndDate": "/Date(1706677200000-0500)/",
        "ID": 271,
        "IsEnabled": true,
        "MerchID": 3,
        "ModifiedOn": "/Date(-62135578800000-0500)/",
        "RPGUID": "54321",
        "ServiceDescrip": "",
        "StartDate": "/Date(1697774400000-0400)/"
      }
    ],
    "ErrCode": 0,
    "ErrMsg": "",
    "FunctionOk": true,
    "NumRecords": 1,
    "RespMsg": ""
  }
}
```

{% endtab %}

{% tab title="Header Parameters" %}
**SessKey** string <mark style="color:orange;">required</mark>

A unique session key used for authentication in API calls. This key is generated upon successful authentication and must be included in all subsequent requests.

Example: `A1842D663E9A4A72XXXXXXXX303541303234373138`

***

**Content-Type** string <mark style="color:orange;">required</mark>

Example: `application/json`

***

**Accept** string <mark style="color:orange;">required</mark>

Example: `application/json`
{% endtab %}
{% endtabs %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.number.tech/api-reference/rest-api/query/consents-expiring-cards-01.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
