Edit the element of the directory "Types of activity" by ID
PUT
Replaces an element of the "Kinds of activity" lookup by ID
Parameters
Path Parameters
id*
Activity identifier
Type
Requiredinteger
Format
"int64"Request Body
application/json
active
boolean
activitySubtypes
object[]
Activity subtypes
Collapse
active
boolean
id
integer
Activity Subtype ID
Format
"int64"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"