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 by id | System call E-Health.IL to get specific declaration from previous step. |
GET_Declaration | Apiary: service description Query parameters: id={declaration_id} URL example: /api/declarations/{id} Response format: |
Get content by ID | Call IntegrationLayer to get MediaContent related to current declaration. |
GET_MediaStorageContent |
JPATH: $.data.media_storage Example:
Apiary: service description Query parameters: id={declaration_request_id} filename={media_storage_filename} URL example: /media_content_storage/msp/declaration_requests/{id}/{filename} |
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: |