/
Update declaration (Internal method)

ЕСОЗ - публічна документація

Update declaration (Internal method)

Purpose

This method to update the declaration status.

Specification

Link

https://uaehealthapi.docs.apiary.io/#reference/internal.-ops-db/declarations/update-declaration

Resource

 

Scope

 

Components

Declarations

Using Microservices

 

Protocol type

 

Request type

PATCH

Sync/Async

 

Public/Private/Internal

Internal

Logic

Input parameters

 

Input parameter

Values

Type

Description

Example

Input parameter

Values

Type

Description

Example

id

 

string

 

290f1ee-6c54-4b01-90e6-d701748f0851

Filters

Global and configuration parameters

Preconditions

Request structure

Example:

Authorize

 

Headers

  • Content-Type:application/json

Validate request

 

Request data validation

Processing

 

Response structure

 

{ "meta": { "code": 200, "url": "https://example.com/resource", "type": "object", "request_id": "6617aeec-15e2-4d6f-b9bd-53559c358f97#17810" }, "data": { "id": "b075f148-7f93-4fc2-b2ec-2d81b19a9b7b", "person_id": "d290f1ee-6c54-4b01-90e6-d701748f0851", "employee_id": "d290f1ee-6c54-4b01-90e6-d701748f0851", "division_id": "`d290f1ee-6c54-4b01-90e6-d701748f0851`m", "legal_entity_id": "`d290f1ee-6c54-4b01-90e6-d701748f0851`m", "scope": "family_doctor", "start_date": "2017-03-02", "end_date": "2017-03-02", "signed_at": "2017-03-02T10:45:16.000Z", "inserted_at": "1991-08-19T00:00:00.000Z", "inserted_by": "userid", "updated_at": "1991-08-19T00:00:00.000Z", "updated_by": "userid" } }

 

Post-processing processes

HTTP status codes

HTTP status code

Message

What caused the error

HTTP status code

Message

What caused the error

200

 Response

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Backward compatibility

Related content

3. Скасування (загальний процес)
3. Скасування (загальний процес)
Read with this
Private. Update contract employee
Private. Update contract employee
More like this
Create declaration request v3
Create declaration request v3
Read with this
Create declaration (Internal method)
Create declaration (Internal method)
More like this
Створення декларації (версія 3)
Створення декларації (версія 3)
Read with this
[DRAFT] REST API Create/Update Person Request [API-010-001-005-0375]
[DRAFT] REST API Create/Update Person Request [API-010-001-005-0375]
More like this

ЕСОЗ - публічна документація