Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents
Specification

...

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

Validate status

Program service should be active (is_active == TRUE)

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

Validate PK Program service

Check on existing Program service record 

  1. Check existProgram service by $.id.

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

Update Program service

Update program service requestAllowed and description values:


Destination
Source
requestAllowedFALSE
description$.description
updated_at:timestamp
updated_byuser_id