Update an Activity
PUT {{base_url}}/activity/:ActivityID
Use this endpoint to update a single activity in the Activities hub.
For example, here is a request, using cURL, to update the Type
and EndDateSort
fields for the activity with ActivityID
set to ACTIVITYID
.
In this example, the existing Type
was originally set to EMail
which did not match the subject of the existing entry. So, this example scenario demonstrates updating the type to match.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
requiredFieldValidation | string | Optional. |
The flag that indicates whether or not the validation for required screen designer fields is needed.
Use "N" if you want to bypass the validation. Otherwise, the default is "Y," which enforces the validation.
NOTE: This does not apply to required system fields. |
| startWorkflow
| string | | Optional.
The flag that indicates whether or not the trigger for a workflow is initiated.
Use "N" if you want to bypass the trigger. Otherwise, the default is "Y," which initiates the workflow. |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | Required. |
The type of content supported by the API endpoint. |
| Authorization
| string | | Required.
The type of authorization supported by the API endpoint. |
RESPONSES
status: OK
[{"ActivityID":"77917AE2EA5D4690AB6F76DA3B66EBF4","Type":"EMail","StartDate":"2017-05-02T13:00:00.000","EndDate":"2017-05-02T13:30:00.000","HasNotes":"Y","Notes":"this is\u0026nbsp;a test","CompletionInd":"N","Subject":"test1","RecurrType":"","RecurrEndDate":"","CampaignID":"","MktName":"","OpportunityID":"","OppName":"","ProjName":"","WBS1":"","EndDateSort":"2017.05.02 EMail","Attendees":"Alexander Carl, PE Billy Boy Charles, Jr.","Associations":"","InstanceStartDate":"2017-05-02T13:00:00.000","StartDateObj":"2017-05-02T13:00:00.000","EndDateObj":"2017-05-02T13:30:00.000","RecurrStartDate":"","AllDayEventInd":"N","RecurrenceInd":"N","RecurrDailyFreq":1,"RecurrDailyWeekDay":"N","RecurrWeeklyFreq":1,"RecurrWeeklySun":"N","RecurrWeeklyMon":"N","RecurrWeeklyTue":"N","RecurrWeeklyWed":"N","RecurrWeeklyThu":"N","RecurrWeeklyFri":"N","RecurrWeeklySat":"N","RecurrMonthlyFreq":1,"RecurrMonthlyOccur":0,"RecurrMonthlyDay":0,"RecurrMonthlyOccurInd":"N","RecurrMonthlyOccurDay":0,"RecurrMonthlyOccurFreq":1,"RecurrYearlyMonth":0,"RecurrYearlyDay":0,"RecurrEndType":"N","Employee":"00001","RP":"N","acType":"EMail","ShowTimeAs":"Busy","PrivateInd":"N","ReminderInd":"N","ReminderUnit":15,"ReminderMinHrDay":"Minutes","ReminderDate":"2017-05-02T12:45:00.000","isTask":"Y","isCalendar":"N","MaxOccurences":0,"RecurrYearlyOccurInd":"N","RecurrYearlyOccurDay":0,"RecurrYearlyOccurMonth":0,"RecurrYearlyOccur":0,"Location":"","WBS2":"","WBS3":"","ClientName":"","ClientID":"","CreateEmployee":"00001","TypeName":"EMail","ContactID":"ADMIN1017949993769","LeadID":"","Priority":"Medium","OppEstStartDate":"","OppEstCompletionDate":"","custTestQuery":"","custTEst1":"","custUserdefinedfieldjb":"","PrimaryClient":"","PriorityDesc":"Medium","Duration":0,"Owner":"00001","OwnerName":"Billy Boy Charles, Jr.","ContactName":"Alexander Carl, PE","CreateUser":"Billy Boy Charles, Jr.","CreateDate":"2017-05-01T19:39:38.937","ModUser":"Billy Boy Charles, Jr.","ModDate":"2017-05-01T19:39:38.937","TaskCompletionDate":"","RecurrID":"","OutlookType":"Generic","Vendor":"","VendorName":"","ContactIDForVendor":"","ContactNameForVendor":"","ContactPhoneForVendor":"","EndDateFilter":"05/02/2017 EMail","CLActivityRow":[],"ActivityEmployeeContactsRow":[{"ActivityID":"77917AE2EA5D4690AB6F76DA3B66EBF4","RecordType":"contact","FirstLast":"Alexander Carl, PE","ContactID":"ADMIN1017949993769","Employee":"","PrimaryInd":"Y","ContactHasPhoto":"N","Email":"","ClientID":"","Phone":"","CellPhone":"","Owner":"","LastFirst":"Carl, Alexander","Title":"President","RecordID":"ADMIN1017949993769"},{"ActivityID":"77917AE2EA5D4690AB6F76DA3B66EBF4","RecordType":"employee","FirstLast":"Billy Boy Charles, Jr.","ContactID":"","Employee":"00001","PrimaryInd":"","ContactHasPhoto":"Y","Email":"julibertram@deltek.com","ClientID":"","Phone":"456","CellPhone":"","Owner":"Y","LastFirst":"Charles, Billy Boy","Title":"Principal","RecordID":"00001"}],"UDIC_OuterSpaceActivityRow":[]}]