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

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

« Previous Version 4 Next »

Specification

Schema

Features

Input parameters 

  • id

Authorize

  1. Check user scope (scope = 'program_service:write') in order to perform this action
    1. In case error - generate 401 response

Validate Program Service

Check on existing Program service record 

  1. Check exist Program service by $.id.

    1. if invalid - return 404 error (message: "Program service is not found!")

Validate Service

  1. When deactivate service from program service, check group(in which service include) don't include in this program.
    1. if invalid - return 404 error (message: "Delete this service from service group!")

Update program service

Update program service record by $.id  set values:

Destination
Source
is_active FALSE
updated_at:timestamp
updated_byuser_id
  • No labels