Purpose
This WS is designed to create new Innm (post).
APIary
Input parameters (filters)
- name
- innm_identifier
Authorize
- Verify the validity of access token
- Check user scope (scope = 'innm:write') in order to perform this action
- In case error - generate 401 response
Validate request (JSON schema)
Validate request using JSON schema (link !!! TBD)
Validate unique for Innms
- Check unique by `innm_identifier`.
- if found - return 409 error (message: "Duplicate innm identifier!")
Create new Innm
- Create new record in innms with status INACTIVE
- Mapping
- DestinationSource
id name $.name innm_identifier $.innm_identifier status INACTIVE is_active TRUE inserted_at :timestamp inserted_by user_id updated_at :timestamp updated_by user_id