Reason Code Master

This endpoint retrieves the list of active reason codes available in the system.

Endpoint

GET {{url}}/api/resource/Reason Code Master?filters=[["is_active","=","1"]]&limit_page_length=0

Query Parameters

NameTypeDefaultDescription
filtersstring[["is_active","=","1"]]Returns only active reason codes.
limit_page_lengthstring0Number of records to return. 0 returns all records.

Response

The response returns a collection of reason code records wrapped inside a data array. Each record represents an active reason code.

  • name – Reason code name. Pass it to Get Individual Reason Code Master Details to fetch the full details of the reason code.

Example Response

{
  "data": [
    { "name": "Abandoned" },
    { "name": "Abandoned at Shop" },
    { "name": "Abandonment" },
    { "name": "Accident" },
    { "name": "Account Brought Current" }
  ]
}

Status Codes

CodeMeaning
200OK