Update an activity assignee

patch

/crmRestApi/resources/11.13.18.05/activities/{ActivityNumber}/child/ActivityAssignee/{ActivityAssigneeUniqID}

Request

Path Parameters
  • This is the hash key of the attributes which make up the composite key--- ActivityId and AssigneeId ---for the Activity Assignees resource and used to uniquely identify an instance of Activity Assignees. The client should not generate the hash key value. Instead, the client should query on the Activity Assignees collection resource with a filter on the primary key values in order to navigate to a specific instance of Activity Assignees.

    For example: ActivityAssignee?q=ActivityId=<value1>;AssigneeId=<value2>
  • The unique number of the activity. The number can also be generated from an external source.
Header Parameters
  • If the REST API supports runtime customizations, the shape of the service may change during runtime. The REST client may isolate itself from these changes or choose to interact with the latest version of the API by specifying this header. For example: Metadata-Context:sandbox="TrackEmployeeFeature".
  • The protocol version between a REST client and service. If the client does not specify this header in the request the server will pick a default version for the API.
Supported Media Types
Request Body - application/json ()
Root Schema : schema
Type: object
Show Source
  • Maximum Length: 30
    The code indicating the function of the activity.
  • Title: Activity Number
    Maximum Length: 64
    The unique number of the activity. The number can also be generated from an external source.
  • Title: Name
    The name of the assignee.
  • The alternate key identifier of the activity resource.
  • The identifier for the ATK popup notification created.
  • Title: Attendance
    Maximum Length: 1
    Default Value: true
    Indicates if the resource attended the activity. If True, the resource attended.
  • Default Value: 0
    This value is used to guarantee the uniqueness of the row when duplicates are created in different databases (i.e. mobile databases or the server). This attribute is obsolete.
  • Maximum Length: 15
    The corporate currency code associated with the activity assignee. This attribute is used by CRM Extensibility framework. A list of accepted values is defined in the lookup ZCA_COMMON_CORPORATE_CURRENCY. Review and update the profile option using the Setup and Maintenance work area, Manage Trading Community Common Lookups task.
  • Maximum Length: 30
    The currency conversion rate type associated with the activity assignee. This attribute is used by CRM Extensibility framework. A list of accepted values is defined in the lookup ZCA_COMMON_RATE_TYPE. Review and update the value for this attribute using the Setup and Maintenance work area, Manage Trading Community Common Lookups task.
  • Maximum Length: 15
    The currency code. This attribute is used by CRM Extensibility framework. A list of valid values are defined in the lookup ZCA_COMMON_CORPORATE_CURRENCY. Review and update the profile option using the Setup and Maintenance work area, Manage Currency Profile Options task.
  • Title: Dismissed
    Maximum Length: 1
    Default Value: false
    Indicates if the activity has been dismissed. The default value is false.
  • Title: Title
    The job name for the activity assignee.
  • Title: Phone
    The phone number of the contact.
  • Title: Owner
    The primary assignee for an Activity.
  • Title: Email
    The e-mail address of the activity assignee contact.
  • The primary formatted address information of an activity assignee.
  • Title: Reminder Time
    The date and time to send the appointment reminder.
  • Title: Reminder
    The time period before the start date and time of an activity when a reminder should be sent to the resources on an activity.
  • Title: Response
    Maximum Length: 30
    Default Value: NOT_RESPONDED
    The code indicating the response of a resource on an appointment.
  • Title: Sender Job ID
    The unique identifier of the sender job.
  • Title: Show Time As
    Maximum Length: 30
    The choice of display of time on your calendar for an appointment, for example: free, busy, tentative.
  • The date used to sort activities.
  • Maximum Length: 30
    The status of the activity.
  • Title: Due Date Reminder
    Allows the user to select the reminder period for a task due date. For example, 1 day before the task due date.
  • The unique identifier of user (Not for public usage).
  • Title: User Last Update Date
    The date and time when the record was last updated by a user in the disconnect mode.
  • The name of the user.
Back to Top

Response

Supported Media Types

Default Response

The following table describes the default response for this task.
Headers
  • If the REST API supports runtime customizations, the shape of the service may change during runtime. The REST client may isolate itself from these changes or choose to interact with the latest version of the API by specifying this header. For example: Metadata-Context:sandbox="TrackEmployeeFeature".
  • The protocol version between a REST client and service. If the client does not specify this header in the request the server will pick a default version for the API.
Body ()
Root Schema : activities-ActivityAssignee-item-response
Type: object
Show Source
Back to Top

Examples

The following example shows how to update an activity assignee by submitting a PATCH request on the REST resource using cURL.

curl -u <username:password> \ -X PATCH -d @example_request_payload.json https://servername.fa.us2.oraclecloud.com/crmRestApi/resources/11.13.18.05/activities/CDRM_167276/child/ActivityAssignee/00020000000EACED00057708000110F07F5743440000000EACED0005770800005AF56690B41B

Example of Request Body

The following shows an example of the request body

{
"AssigneeId" : 100010034246683,
"CurrencyCode" : "INR",
"AttendeeFlag" : false
}

Example of Response Body

The following example shows the contents of the response body in JSON format.

{
"ActivityId": 300100091331396
"AssigneeId": 100010034246683
"ActivityNumber": null
"AtkMessageId": 300100091339395
"ReminderDatetime": null
"ReminderPeriod": -1
"ResponseCode": "NOT_RESPONDED"
"SenderJobId": null
"ShowTimeAsCode": "TENTATIVE"
"ConflictId": 0
"CreatedBy": "SALES_ADMIN"
"CreationDate": "2016-08-24T00:36:48-07:00"
"LastUpdateDate": "2016-08-24T02:34:56-07:00"
"LastUpdateLogin": "3ACBFC03100C5FB5E053780CF10AE876"
"LastUpdatedBy": "SALES_ADMIN"
"UserLastUpdateDate": null
"PrimaryAssigneeFlag": "N"
"AssigneeName": "Waternoose,Henry"
"CorpCurrencyCode": "EUR"
"CurcyConvRateType": "Corporate"
"CurrencyCode": "USD"
"Phone": null
"PrimaryEmail": null
"UserGuid": "961B262B131D0F14A47C50B2C312B90A"
"ActivityAssigneeId": 300100091331411
"UpgSourceObjectId": null
"UpgSourceObjectType": null
"RecurSeriesId": null
"ActivityFunctionCode": "APPOINTMENT"
"SortDate": "2014-05-25T23:00:00-07:00"
"StatusCode": null
"AttendeeFlag": false
"JobName": null
"PrimaryFormattedAddress": null
"DismissFlag": false
"AssigneePartyNumber": "100010034246683"
-
}
Back to Top