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

Skip to end of metadata
Go to start of metadata

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

Compare with Current View Page History

« Previous Version 7 Next »

Specification

  • id

Authorize

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

Validate Service/Service group

Check on existing Service/Service group record 

  1. Check exist Service/Service group by $.id.

    1. if invalid - return 404 error (message: "Service/Service group is not found!")

Validate Service Group subgroup

  1. When deactivate service group, check Service group don't have active subroup:
    1. if invalid - return 422 error (message: "ServiceGroup should not have active subgroups")

Update Service/Service group

Update Service/Service group record by $.id  set values:

Destination
Source
is_active FALSE
updated_at:timestamp
updated_byuser_id






  • No labels