Specification
Apiary | |
JSON Schema request | |
JSON Schema response |
Purpose
This WS is designed to create new Innm (post).
Input parameters
- name
- name_original
- sctid
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 (new_innm_schema.json)
Create new Innm
- Create new record in `innms`
- Fill data
Destination | Source |
---|---|
id | |
name | $.name |
name_original | $.name_original |
sctid | $.sctid |
is_active | TRUE |
inserted_at | :timestamp |
inserted_by | user_id |
updated_at | :timestamp |
updated_by | user_id |