List Ticket Ids By Field Ids

All API requests should contain authorization headers.

Request

POST /tickets/customFields/values/list

Query Parameters.

This endpoint doesn't require query parameters.

Request Body

{
    "customFieldIds": [
        26690,
        26703,
        26704,
        26706
        
    ],
    "fromTicketCreationTime": "2023-01-15T00:00:00+00:00",
    "isAllFieldsInTicketRequired": true,
    "skip": 0,
    "take": 500,
    "toTicketCreationTime": "2024-01-17T00:00:00+00:00"
}

Body of request should contain the following model serialized to JSON.

Response

The tickets are ordered by ID in ascending order.

{
    "data": [
        {
            "customFieldValues": [
                {
                    "id": 26690,
                    "value": "Magic Cloudy Shop"
                },
                {
                    "id": 26703,
                    "value": "Arrows with Frozen Darts"
                },
                {
                    "id": 26704,
                    "value": "100"
                },
                {
                    "id": 26706,
                    "value": "2024-01-23"
                }
            ],
            "ticketId": 256245
        }
    ],
    "errorCode": -1,
    "errorText": null
}

Data field will contain an array of TicketIdWithFieldValue models.

Last updated