Update existing activity
PUT/api/v2/Activities/:key
Update existing activity
Request
Path Parameters
key stringrequired
Guid or ExternalKey
- application/json
Body
required
- ActivityType
- ActivityTypeTimeEntry
Name stringrequired
Possible values: non-empty
and <= 100 characters
Code stringnullable
Possible values: <= 12 characters
Type
object
nullable
oneOf
string
Possible values: [Work
, Absence
, Break
]
TimeEntry
object
nullable
oneOf
string
Possible values: [Optional
, TotalTime
, FromTo
]
Inactive booleannullable
Movement booleannullable
Icon stringnullable
ExternalKey stringnullable
Possible values: <= 100 characters
Responses
- 200
- 400
- 404
Successfully Updated
- application/json
- Schema
- Example (from schema)
Schema
Guid guidnullable
{
"Guid": "string"
}
Error
- application/json
- Schema
- Example (from schema)
Schema
Error
object
required
Code stringnullable
Message stringnullable
{
"Error": {
"Code": "string",
"Message": "string"
}
}
Not Found
Loading...