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

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 4 Next »

Specification

  • id
  • requestAllowed

Authorize

  1. Verify the validity of access token
  2. Check user scope (scope = 'service_catalog:write) in order to perform this action
    1. In case error - generate 401 response

Validate status

Service/Service group should be active (is_active == TRUE)

  1. Validate `is_active` == FALSE
    1. if invalid  - return 409 eror (message: "Service/Service group should be active !")

Validate PK 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!")

Update service/service group

Update service/service group requestAllowed values:

Destination
Source
requestAllowedFALSE
updated_at:timestamp
updated_byuser_id
  • No labels