Introduction
...
Beneficiary Types Category (Beneficiary Category and Beneficiary Types join table)
Desc: Get all beneficiary types categories
url: /beneficiary_types_categories
...
response example: default response example (multiple records)
Documentation
Endpoint:
POST /api/v2/beneficiary_types
Header: Token and Email
Request Body Format: none
Body : none
Response Format: JSON
Response Attributes
id
(integer): The unique identifier.name
(string): Beneficiary Type nameupdated_At
(string): Last Updatedcreated_At
(string) : Created At
Example Respone :
Code Block |
---|
{
"page": 1,
"page_size": 4,
"page_count": 1,
"total_count": 4,
"data": [
{
"id": 1,
"name": "Person",
"updated_at": "2020-09-28T15:19:24.310+01:00",
"created_at": "2020-09-28T15:19:24.310+01:00"
},
{
"id": 2,
"name": "Object",
"updated_at": "2020-09-28T15:19:24.319+01:00",
"created_at": "2020-09-28T15:19:24.319+01:00"
},
{
"id": 3,
"name": "Organisation",
"updated_at": "2020-09-28T15:19:24.324+01:00",
"created_at": "2020-09-28T15:19:24.324+01:00"
},
{
"id": 4,
"name": "Animal",
"updated_at": "2021-09-11T10:04:59.074+01:00",
"created_at": "2021-09-11T10:04:59.074+01:00"
}
]
} |
Postman API Screenshot :
...