Process diagram
Step | Description |
---|---|
Get pending declarations | External system call E-Health.IL to get all declarations in status Pending. |
GET_DeclarationList | Apiary: service description Query parameters: status=Pending legal_entity_id={ID} URL example: api/declarations?legal_entity_id={ID}status=Pending_verification Response format: |
Choose appropriated declaration | External system starts to processing any element from declaration list received in previous step. |
Get declaration_request by id | System call E-Health.IL to get specific declaration from previous step. |
GET_Declaration_Request | Apiary: service description Query parameters: id={declaration_request_id} URL example: /api/declaration_requests/{id} Response format: |
Get content by ID | Call GCS services to download the document by URL |
GET_MediaStorageContent | |
Verification | User conducts declaration verification according to internal rules, and make decision. |
Update declaration status to Verification Passed | Call web-service PATH_Declaration to send verification result "Verification Passed". |
Update declaration status to Verification Rejected | Call web-service PATH_Declaration to send verification result "Verification Rejected". |
PATCH_Declaration | Apiary: service description Query parameters: id={declaration_id} URL example: /api/declarations/{id} Request format: Response format: |