Skip to main content

Update existing activity

PUT 

/api/v2/Activities/:key

Update existing activity

Request

Path Parameters

    key stringrequired

    Guid or ExternalKey

Body

required

    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

Successfully Updated

Schema

    Guid guidnullable
Loading...