API Guide Items- Expense_Categories - Request Expense category

Expense_Categories - Request Expense category

GET yourdomain.com/api/common/expense_category

Header

json
Field Type Description
Authorization String

Basic Access Authentication token.

Success 200

json
Field Type Description
Expense Array

category information.

Error 4xx

json
Name Type Description
status Boolean

Request status.

message String

No data were found.

HTTP/1.1 200 OK
{

   [
       {
           "id": "1",
           "name": "cloud server",
           "description": "AWS server"
       },
       {
           "id": "2",
           "name": "website domain",
           "description": "domain Managment and configurations"
       }
   ]

}
HTTP/1.1 404 Not Found
{
  "status": false,
  "message": "No data were found"
}

Did you find this article useful?