Table of Contents |
---|
Purpose
This WS allows Use this method to resend sms with OTP-code to the person’s verified phone. Used on approve merge request process in case OTP wasn’t delivered in first timeon previously created merge request (patient`s authentification method is OTP).
Specification
Page Properties | |||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||||
|
Logic
Process is similar to IL.Resend Authorization OTP on Person Request, but with next differences:
Checks merge_request:write scope on Authorization (instead of scope person_request:write)
Saves to il.merge_requests in field
authentication_method_current
that auth_method_type that person selected.
Input parameters
Input parameter | Values | Type | Description | Example |
---|---|---|---|---|
id | String | Identifier of the merge request. Required | 7c3da506-804d-4550-8993-bf17f9ee0404 |
Request structure
API paragraph not found
Authorize
API paragraph not found
Headers
Наприклад:
See on Apiary
Authorize
Verify the validity of access token
Check user scope merge_request:write in order to perform this action.
Headers
Content-Type:application/json
Authorization:Bearer c2778f3064753ea70de870a53795f5c9api{{access_token}}
Api-key:uXhEczJ56adsfh3Ri9SUkc4en{{secret}}
Request data validation
API paragraph not found
Processing
...
Validate auth method. Person must has auth_method.type = OTP or THIRD_PERSON( where third_person.auth_method.type = OTP)
Check that merge_request.status = NEW.
Processing
Process is similar to Resend Authorization OTP on Person Request, but with next difference:
Saves to il.merge_requests in field
authentication_method_current
that auth_method_type that person selected.
Response structure
See on Apiary
...
Expand | ||
---|---|---|
| ||
|
Post-processing processes
...
HTTP status codes
Page Properties | ||||||
---|---|---|---|---|---|---|
| ||||||
|