...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
Table of Contents |
---|
...
|
...
...
...
|
Required parameters are marked with "*"
Якщо інформації по відповідному параметру немає, потрібно зазначити: “APIparagraph not found”.
Purpose*
This WS is designed to create new Innm (post).
Specification*
Page Properties |
---|
...
|
Logic*
This method is used to create new innm. Fields descriptions are listed in request Example view.
Filters
Filter | Values | Type | Description | Example |
---|---|---|---|---|
name | ||||
name_original | ||||
sctid |
Request structure*
See on Apiary
Example:
Expand | ||
---|---|---|
| ||
|
Authorize*
Verify the validity of access token
Check user
scopescope (scope = 'innm:write') in order to perform this action
In case error - generate 401 response
Validate request (JSON schema)
Validate request using JSON schema.Request to process the request using a token in the headers
Headers*
Наприклад:
Content-Type:application/json
Authorization:Bearer c2778f3064753ea70de870a53795f5c9
Request data validation*
API paragraph not found
Processing*
Create new Innm
- Create
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 |
Response structure*
See on Apiary
Example:
Expand | ||
---|---|---|
| ||
|
Expand | ||
---|---|---|
| ||
|
Post-processing processes*
API paragraph not found
HTTP status codes*
Page Properties | |||||||||
---|---|---|---|---|---|---|---|---|---|
|