...
Page Properties |
---|
Link | https://ehealthmisapi1.docs.apiary.io/#reference/public.-medical-service-provider-integration-layer/person-requests/resend-authorization-otp-on-person-request | Посилання на Apiary або Swagger | Resource | /api/person_requests/{{id}}/actions/resend_otp | Посилання на ресурс, наприклад: /api/persons/create | Scope | person_request:write | Scope для доступу | Components | Patient registry | Зазначається перелік бізнес компонентів, які використовують цей метод, наприклад: ePrescription | Microservices | API paragraph not found | il/api fe/admin-web | Перелік мікросервісів, які використовує метод API, наприклад: Auth, ABAC | Protocol type | REST | Тип протоколу, який використовується запитом, наприклад: SOAP | REST | Request type | POST | Тип запиту API, наприклад: GET, POST, PATCH… | Sync/Async | Sync | Метод є синхронним чи асинхронним? | Public/Private/Internal | Public |
|
...
API paragraph not found
Input parameters
Input parameter | Values | Type | Description | Example |
---|
id | | String | Required | eeebb86d-5cba-43c9-885b-6482ecaf826b |
Filters
No
Dictionaries
...
Request structure
API paragraph not foundSee on Apiary
Authorize
Verify the validity of access token
...
Content-Type:application/json
Authorization:Bearer c2778f3064753ea70de870a53795f5c9{{access_token}}
api-key:uXhEczJ56adsfh3Ri9SUkc4en{{secret}}
Request data validation
Validate auth method. Person must has auth_method.type = OTP or THIRD_PERSON( where third_person.auth_method.type = OTP)
Check that person_request.status = NEW.
...
Expand |
---|
|
Code Block |
---|
{
"meta": {
"code": 200,
"url": "https://example.com/resource",
"type": "object",
"request_id": "req-adasdoijasdojsda"
},
"data": {
"id": "7d23bebb-1cf3-4221-bf21-18aada444756",
"status": "NEW",
"code_expired_at": "2017-07-10T12:20:16.300597Z",
"active": true
}
} |
|
Post-processing processes
...
HTTP status codes
Page Properties |
---|
HTTP status code | Message | What caused the error |
---|
200200 | Response | |
|
Backward compatibility
...
| 403 | Invalid scope | Validation failed | 404 | not_found | Validation failed | 409 | Auth method is not OTP | Validation failed |
|