ЕСОЗ - публічна документація
Create declaration (Internal method)
- 1 Purpose
- 2 Specification
- 3 Logic
- 4 Input parameters
- 5 Filters
- 6 Global and configuration parameters
- 7 Preconditions
- 8 Request structure
- 9 Authorize
- 10 Headers
- 11 Validate request
- 12 Request data validation
- 13 Processing
- 14 Response structure
- 15 Post-processing processes
- 16 HTTP status codes
- 17 Backward compatibility
Purpose
Method to register new declaration record.
Specification
Link | https://uaehealthapi.docs.apiary.io/#reference/internal.-ops-db/declarations/create-declaration |
Resource |
|
Scope |
|
Components | Declarations |
Using Microservices |
|
Protocol type |
|
Request type | POST |
Sync/Async |
|
Public/Private/Internal | Internal |
Logic
Input parameters
Input parameter | Values | Type | Description | Example |
---|---|---|---|---|
id |
| string | id of the signed document stored on the Media content storage |
|
person_id |
| string |
|
|
employee_id |
| string |
|
|
division_id |
| string |
|
|
legal_entity_id |
| string |
|
|
scope |
| enum |
|
|
start_date |
| string |
|
|
end_date |
| string |
|
|
signed_at |
| string |
|
|
Filters
Global and configuration parameters
Preconditions
Request structure
Example:
Authorize
Headers
Content-Type:application/json
Validate request
Request data validation
Processing
Response structure
Post-processing processes
HTTP status codes
HTTP status code | Message | What caused the error |
---|---|---|
201 | Response |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Backward compatibility
ЕСОЗ - публічна документація