Update Activity
PUThttps://[AccountName].logeto.com/api/v2/Activities/:key
Update Activity
Request
Path Parameters
key stringrequired
Guid or ExternalKey
- application/json
Body
required
Name stringrequired
Possible values: non-empty
and <= 100 characters
Code stringnullable
Possible values: <= 12 characters
Type
object
nullable
TimeEntry
object
nullable
Inactive booleannullable
Movement booleannullable
Icon stringnullable
Available icons can be found at /api/v2/Common/Icons
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
{
"Error": {
"Code": "string",
"Message": "string"
}
}
Not Found
Authorization: AccessKey
name: AccessKeytype: apiKeyin: header
- csharp
- curl
- dart
- go
- http
- java
- javascript
- kotlin
- c
- nodejs
- objective-c
- ocaml
- php
- powershell
- python
- r
- ruby
- rust
- shell
- swift
- HTTPCLIENT
- RESTSHARP
ResponseClear