/read_records(TICKETS)

Request Type: POST

Request Body : {"data":<<complaint_query_data>>}

data: complaint_query_data schema is defined as follows

{
    "type": "TICKET_LIST/TICKET_BY_ID",
    "limit": 10,
    "ticket_status": "OPEN",
    "complainant_id": "47969480-1df0-48be-b312-db24459adc73",
    "offset": 0,
    "ticket_id":"" # If querying for type:TICKET_BY_ID
  }

Request Headers: {'Authorization':'Signature generated','subscriberid':'ONDC transactional subscriber Id'}

Response :

{
    "count": 3,
    "data":[],
    "pages": 1,
    "error": ""
}

Last updated