latestSwagger 2.02026-08-1766151238.8 KB

a444c5b1e78b

Activity

OData end point to get a list of all activities (tasks/events/emails/calls) accessible by the user

get/api/activity

Response

OK

isPrivateboolean
descriptionstring
isDeletedboolean
createdDatestring date-time
lawToolboxCourtRule_Idstring uuid
dueDatestring date-time

Due date for activities of type tasks.

taskCompleteDatestring date-time
startDateTimestring date-time

Required for activities of type 'event'.

endDateTimestring date-time

Required for activities of type 'event'.

isAllDayActivityboolean

Required for activities of type 'event'.

locationstring
status'NotCompleted' | 'InProgress' | 'Completed' | 'Conditional'

Required for activities of type 'task'.

priority'Low' | 'Medium' | 'High'

Required for activities of type 'task'.

isOverdueboolean
hoursLoggednumber double
flatFeesLoggednumber double
isHoursLoggedManuallyboolean

sets if the activity should be marked as "time logged" even if no time was linked to it.

guidstring uuid
namestring required

Name (subject) of this activity.

type'Call' | 'Task' | 'Event' | 'Email' | 'Note' required

Sets the type of this activity (task/event/call/email)

Example response

[
  {
    "blobs": [
      {
        "guid": "00000000-0000-0000-0000-000000000000"
      }
    ],
    "assignedToUsers": [
      {
        "guid": "00000000-0000-0000-0000-000000000000"
      }
    ],
    "assignedToContacts": [
      {
        "guid": "00000000-0000-0000-0000-000000000000"
      }
    ],
    "completedByUser": {
      "guid": "00000000-0000-0000-0000-000000000000"
    },
    "completedByContact": {
      "guid": "00000000-0000-0000-0000-000000000000"
    },
    "createdBy": {
      "guid": "00000000-0000-0000-0000-000000000000"
    },
    "lastModifiedBy": {
      "guid": "00000000-0000-0000-0000-000000000000"
    },
    "account": {
      "guid": "00000000-0000-0000-0000-000000000000"
    },
    "project": {
      "guid": "00000000-0000-0000-0000-000000000000",
      "accountGuid": "00000000-0000-0000-0000-000000000000"
    },
    "lawToolboxCourtRule_Id": "00000000-0000-0000-0000-000000000000",
    "guid": "00000000-0000-0000-0000-000000000000"
  }
]