2.2 KiB
2.2 KiB
API Docs
List
Details for blood group list api
####Endpoint
{warning} Please note that the URI for this endpoint should include api/{$version} before
| Method | URI | Headers |
| : | :- | : |
| GET | user/blood-group | Authorization : Bearer {token} |
URL Params
None
Data Params
None
{success} Success Response
####Code 200
####Content
{
"data": [
{
"id": 1,
"name": "A+",
"status": 1,
"created_at": "2022-03-03T06:59:44.000000Z",
"updated_at": "2022-03-03T06:59:44.000000Z"
},
{
"id": 2,
"name": "A-",
"status": 1,
"created_at": "2022-03-03T06:59:44.000000Z",
"updated_at": "2022-03-03T06:59:44.000000Z"
},
{
"id": 3,
"name": "B+",
"status": 1,
"created_at": "2022-03-03T06:59:44.000000Z",
"updated_at": "2022-03-03T06:59:44.000000Z"
},
{
"id": 4,
"name": "B-",
"status": 1,
"created_at": "2022-03-03T06:59:44.000000Z",
"updated_at": "2022-03-03T06:59:44.000000Z"
},
{
"id": 5,
"name": "AB+",
"status": 1,
"created_at": "2022-03-03T06:59:45.000000Z",
"updated_at": "2022-03-03T06:59:45.000000Z"
},
{
"id": 6,
"name": "AB-",
"status": 1,
"created_at": "2022-03-03T06:59:45.000000Z",
"updated_at": "2022-03-03T06:59:45.000000Z"
},
{
"id": 7,
"name": "O+",
"status": 1,
"created_at": "2022-03-03T06:59:45.000000Z",
"updated_at": "2022-03-03T06:59:45.000000Z"
},
{
"id": 8,
"name": "O-",
"status": 1,
"created_at": "2022-03-03T06:59:45.000000Z",
"updated_at": "2022-03-03T06:59:45.000000Z"
}
],
"status": 200
}
{danger} Unauthenticated Response
####Code 403
####Content
{
"message": "Something went wrong!"
}