Creation of a new item in the "Kinds of activity" directory
POST
Creating a new element in the "Types of Activities" directory
Request Body
application/json
active
boolean
activitySubtypes
object[]
Activity subtypes
Collapse
active
boolean
name
string
Activity subtype name
profitability
number
Profitability
Format
"double"name
string
Type of activity
okved
string
OKVED code
Responses
OK
*/*
DefaultResponseOflong
object
data
integer
The identifier of the created item of the "Invoices" lookup
Format
"int64"status
string
If the element is successfully added to the directory, the status "ok" is returned. Otherwise, an error is returned
Valid values
"error""ok"timestamp
integer
Returns the date + time (kernel) in unix timestamp format in milliseconds
Format
"int64"