85 lines
1.9 KiB
Markdown
85 lines
1.9 KiB
Markdown
# API Docs
|
|
|
|
<a name="list"></a>
|
|
## List
|
|
|
|
Details for Hospital Generated Certificate
|
|
##
|
|
##
|
|
|
|
####Endpoint
|
|
|
|
> {warning} Please note that the URI for this endpoint should include api/{$version} before
|
|
|
|
| Method | URI | Headers |
|
|
| : | :- | : |
|
|
| GET | `/hospital/certificate/details` | Bearer {token} |
|
|
|
|
### URL Params
|
|
|
|
```php
|
|
|
|
```
|
|
|
|
### Data Params
|
|
|
|
```php
|
|
None
|
|
```
|
|
|
|
> {success} Success Response
|
|
|
|
####Code `200`
|
|
####Content
|
|
```php
|
|
{
|
|
"data": {
|
|
"id": 21,
|
|
"user_id": 7,
|
|
"hospital_id": 1,
|
|
"full_name": "dhaval joshi",
|
|
"address": "Ahmedabad",
|
|
"email": "dahval@gmail.com",
|
|
"medical_problem": "Health issue",
|
|
"aadhar_card_number": 124578979972,
|
|
"profile_photo": "2221719389350.jpeg",
|
|
"aadhar_card_front_photo": "4791719389350.jpeg",
|
|
"aadhar_card_back_photo": "7151719389350.jpeg",
|
|
"status": 0,
|
|
"rejection_reason": null,
|
|
"generated_date": null,
|
|
"created_at": "2024-06-26T08:09:10.000000Z",
|
|
"updated_at": "2024-06-26T08:09:10.000000Z",
|
|
"expire_date": "",
|
|
"is_expired": false,
|
|
"hospital": {
|
|
"id": 1,
|
|
"name": "Shree Evershine Paradise Shwetamber Murtipujak Tapagach Sangh",
|
|
"contact_name": "Tejas Jain",
|
|
"email": "arhamvasupujya@gmail.com",
|
|
"alternative_email": "arhamvasupujya@gmail.com",
|
|
"address": "120, Feet Road, Thakur Village, Opp. Viceroy Court, kandivali(East), Mumbai - 400 101",
|
|
"city": "Mumbai",
|
|
"state": "maharashtra",
|
|
"photo": null,
|
|
"benefits": "10% discount",
|
|
"status": 1,
|
|
"created_at": "2024-06-26T06:00:20.000000Z",
|
|
"updated_at": "2024-06-26T06:00:20.000000Z"
|
|
}
|
|
},
|
|
"status": 200
|
|
}
|
|
```
|
|
|
|
> {danger} Unauthenticated Response
|
|
|
|
####Code `500`
|
|
####Content
|
|
```php
|
|
{
|
|
"message": "Something went wrong!"
|
|
}
|
|
```
|
|
|