POST ticket/GetTicketGrid_Post

Request Information

URI Parameters

None.

Body Parameters

TicketGridRequestPost
NameDescriptionTypeAdditional information
ObjectType

string

None.

ObjectId

integer

None.

StartDate

date

None.

EndDate

date

None.

ShowLast

boolean

None.

Start

integer

None.

OrderByAscending

boolean

None.

ShowClosed

boolean

None.

TicketGroupIds

Collection of integer

None.

TicketTypeIds

Collection of integer

None.

TenantId

integer

None.

UserId

integer

None.

FilterTerm

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ObjectType": "sample string 1",
  "ObjectId": 2,
  "StartDate": "2026-04-17T11:34:54.370522+00:00",
  "EndDate": "2026-04-17T11:34:54.370522+00:00",
  "ShowLast": true,
  "Start": 4,
  "OrderByAscending": true,
  "ShowClosed": true,
  "TicketGroupIds": [
    1,
    2
  ],
  "TicketTypeIds": [
    1,
    2
  ],
  "TenantId": 5,
  "UserId": 6,
  "FilterTerm": "sample string 7"
}

text/html

Sample:
{"ObjectType":"sample string 1","ObjectId":2,"StartDate":"2026-04-17T11:34:54.370522+00:00","EndDate":"2026-04-17T11:34:54.370522+00:00","ShowLast":true,"Start":4,"OrderByAscending":true,"ShowClosed":true,"TicketGroupIds":[1,2],"TicketTypeIds":[1,2],"TenantId":5,"UserId":6,"FilterTerm":"sample string 7"}

application/xml, text/xml

Sample:
<TicketGridRequestPost xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ListenerOnline.BusinessEntities.Ticket">
  <EndDate>2026-04-17T11:34:54.370522+00:00</EndDate>
  <FilterTerm>sample string 7</FilterTerm>
  <ObjectId>2</ObjectId>
  <ObjectType>sample string 1</ObjectType>
  <OrderByAscending>true</OrderByAscending>
  <ShowClosed>true</ShowClosed>
  <ShowLast>true</ShowLast>
  <Start>4</Start>
  <StartDate>2026-04-17T11:34:54.370522+00:00</StartDate>
  <TenantId>5</TenantId>
  <TicketGroupIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </TicketGroupIds>
  <TicketTypeIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </TicketTypeIds>
  <UserId>6</UserId>
</TicketGridRequestPost>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'TicketGridRequestPost'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, text/html, application/xml, text/xml

Sample:

Sample not available.