PUT api/Activities/{id}

Update an existing Activity. This is not a partial update therefore, please pass in the full activity object to your request. For partial updates, use the PATCH endpoint

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

Activity ID

globally unique identifier

Required

Body Parameters

Serialized Activity record in the body of the request

Activity
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

SeriesId

globally unique identifier

None.

AccessorID

globally unique identifier

None.

IsCleared

boolean

None.

IsAlarmCreated

boolean

None.

IsAlarmed

boolean

None.

LeadMinutes

integer

None.

AlarmDue

string

None.

ExternalID

string

None.

Location

string

None.

IsTimeless

boolean

None.

IsPrivate

boolean

None.

PriorityId

integer

None.

ActivityPriorityName

string

None.

ActivityTypeId

integer

None.

ActivityTypeName

string

None.

Subject

string

None.

ScheduledBy

string

None.

ScheduledFor

string

None.

ScheduledForID

globally unique identifier

None.

ScheduledByID

globally unique identifier

None.

DeletedDates

Collection of date

None.

ClearedDates

Collection of date

None.

RecurSpec

ActivityRecurSpec

None.

EditDate

date

None.

CreateDate

date

None.

OccurTime

date

None.

OccurEndTime

date

None.

StartTime

SQL Column Name: [START_DATE_TIME]

date

None.

EndTime

SQL Column Name: [END_DATE_TIME]

date

None.

Details

SQL Column Name: [DETAILS]

string

None.

LinkedEntities

LinkedEntities

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": "995bbb68-5717-492c-a172-f3362f18d1ae",
  "SeriesId": "d2b1c84e-dab7-4a0f-9c1b-5e648b50495d",
  "AccessorID": "7e898dab-4fab-4864-abda-6cd7644b5a82",
  "IsCleared": true,
  "IsAlarmCreated": true,
  "IsAlarmed": true,
  "LeadMinutes": 7,
  "AlarmDue": "sample string 8",
  "ExternalID": "sample string 9",
  "Location": "sample string 10",
  "IsTimeless": true,
  "IsPrivate": true,
  "PriorityId": 13,
  "ActivityPriorityName": "sample string 14",
  "ActivityTypeId": 15,
  "ActivityTypeName": "sample string 16",
  "Subject": "sample string 17",
  "ScheduledBy": "sample string 18",
  "ScheduledFor": "sample string 19",
  "ScheduledForID": "eb4ffbba-ee0c-4e7d-9cbf-cba05a23e823",
  "ScheduledByID": "d83f757d-60d9-470a-b58d-968841d92d87",
  "DeletedDates": [
    "2024-05-04T08:33:52Z",
    "2024-05-04T08:33:52Z"
  ],
  "ClearedDates": [
    "2024-05-04T08:33:52Z",
    "2024-05-04T08:33:52Z"
  ],
  "RecurSpec": {
    "Month": 1,
    "Frequency": 2,
    "Day": {
      "DayAsInt": 1
    },
    "OptOutValue": true,
    "Operator": "sample string 4",
    "AuthManager": "sample string 5",
    "Field": "sample string 6",
    "EndDate": "2024-05-04T08:33:52Z",
    "eValue": 8,
    "CallListName": "sample string 9",
    "IsEndless": true
  },
  "EditDate": "2024-05-04T08:33:52Z",
  "CreateDate": "2024-05-04T08:33:52Z",
  "OccurTime": "2024-05-04T08:33:52Z",
  "OccurEndTime": "2024-05-04T08:33:52Z",
  "StartTime": "2024-05-04T08:33:52Z",
  "EndTime": "2024-05-04T08:33:52Z",
  "Details": "sample string 28",
  "LinkedEntities": {
    "Contacts": [
      "1f2cddae-a32c-45df-9cd7-26bb4842067e",
      "3ea7acf9-3683-4ec2-bec1-cd6f0103d9ca"
    ],
    "Companies": [
      "10c7acaf-413d-4016-b3cf-b1d765c99b72",
      "ec67f72f-73b7-42af-849c-cd161f4a66ce"
    ],
    "Groups": [
      "48f5c8c5-23bc-4f09-8386-18b7e38ad101",
      "907e47cb-218f-4523-9d49-aeb76f7b0408"
    ],
    "Opportunities": [
      "859cfe3d-ba87-4127-94fe-64e2fb4db7c5",
      "714af9f6-dfba-4593-944f-29bd36c4b4d2"
    ]
  }
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.