Create an activity contact
post
/crmRestApi/resources/11.13.18.05/activities/{ActivityNumber}/child/ActivityContact
Request
Path Parameters
-
ActivityNumber(required): string
The unique number of the activity. The number can also be generated from an external source.
Header Parameters
-
Metadata-Context: string
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".
-
REST-Framework-Version: string
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.
-
Upsert-Mode: string
Contains one of the following values: true or false. If true, the server performs an Upsert operation instead of a Create operation. During an Upsert operation, the server attempts to find an existing resource that matches the payload. If a match is found, the server updates the existing resource instead of creating a new one. If not found or false (default), the server performs a Create operation. Note that the Upsert operation isn't supported for date-effective REST resources.
Supported Media Types
- application/json
Root Schema : schema
Type:
Show Source
object
-
AccountId: integer
The unique identifier of the account.
-
ActivityContactId: integer
(int64)
Title:
Activity Contact ID
The unique identifier for the surrogate activity contact. -
ActivityId(required): integer
(int64)
Title:
Activity ID
The unique identifier of the parent activity for the objective. -
ActivityNumber: string
Maximum Length:
64
The unique number of the activity. The number can also be generated from an external source. -
ActyActivityNumber(required): string
Title:
Activity Number
Maximum Length:64
The unique number of the activity. The number can also be generated from an external source. -
AttendeeFlag: boolean
Title:
Attendance
Maximum Length:1
Default Value:true
Indicates if the contact attended the activity. If True, the contact attended. -
ConflictId: integer
(int64)
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. -
ContactAccount: string
Title:
Account
The account associated with the activity contact. -
ContactAccountId: integer
The unique identifier of the account associated with the activity contact.
-
ContactAccountType: string
The account type for the contact.
-
ContactCustomer: string
Title:
Contact Customer
The customer contact for the activity. -
ContactEmail: string
Title:
Email
The e-mail address of the activity contact. -
ContactId(required): integer
(int64)
Title:
Contact ID
The unique identifier of the contact associated with the activity. -
ContactJobTitle: string
Title:
Title
The job title of the activity contact. -
ContactLovSwitcher: string
Indicates contact LOV switcher (Not for public usage).
-
ContactName: string
Title:
Name
The name of the contact for the activity. -
ContactPhone: string
Title:
Phone
The phone number of the activity contact. -
CorpCurrencyCode: string
Maximum Length:
15
The corporate currency used by the activity contact. -
CurcyConvRateType: string
Maximum Length:
30
The rate of currency conversion for an activity contact. -
CurrencyCode: string
Maximum Length:
15
The currency used for an activity contact. -
EmailContactPreferenceFlag: string
Indicates the email contact preference.
-
ExternalContactEmail: string
Title:
External Contact Email
Maximum Length:320
The email address of the external contact. -
ExternalContactFlag: boolean
Title:
External Contact
Maximum Length:1
Default Value:false
Flag indicating that an activity is owned by an external contact. -
ExternalContactName: string
Title:
External Contact Name
Maximum Length:360
The name of an external contact. -
PhoneContactPreferenceFlag: string
Indicates the phone contact preference.
-
PrimaryContactFlag: boolean
Title:
Primary
Indicates if this contact is the primary contact. -
PrimaryFormattedAddress: string
The formatted address information of the activity contact.
-
RecurSeriesId: integer
(int64)
The unique identifier that links instances of a series together.
-
RelationshipId: integer
(int64)
Title:
Relationship ID
The unique identifier of the relationship of the contact. -
smartActions: array
Smart Actions
Title:
Smart Actions
The smart actions resource is used to view the name, security, context object, REST operation, confirmation message, and other global properties of smart actions. Smart action item or collection links returned in response payloads are valid at the moment the REST request is processed. Any change to the parent object context can invalidate a previously valid smart action. -
UserLastUpdateDate: string
(date-time)
Title:
User Last Update Date
The date and time of when the contact was last updated by a user in the disconnect mode.
Nested Schema : Smart Actions
Type:
array
Title:
Smart Actions
The smart actions resource is used to view the name, security, context object, REST operation, confirmation message, and other global properties of smart actions. Smart action item or collection links returned in response payloads are valid at the moment the REST request is processed. Any change to the parent object context can invalidate a previously valid smart action.
Show Source
Nested Schema : activities-ActivityContact-smartActions-item-post-request
Type:
Show Source
object
-
ActionIntent: string
(byte)
Title:
Action Intent
JSON object that describes what an action does and what context data can be passed to the action. -
ConfirmationMessage: string
Title:
Confirmation Message
Maximum Length:4000
The confirmation message displayed before the smart action runs. An affirmative response allows the smart action to run. -
ContentType: string
Title:
Content Type
Maximum Length:50
The media type of the smart action REST operation. -
DisplayLabel(required): string
Title:
Action Name
Maximum Length:256
The display name of the smart action. -
Entity: string
Title:
Parent Entity
Maximum Length:150
The primary object the smart action is associated with. For example if the smart action creates an appointment for a lead, lead is the primary object. -
Href: string
Title:
REST Endpoint
Maximum Length:1024
The relative path of the smart action REST resource. The path can include path parameters. -
IncludedInApplication: string
Title:
Included in Application
Maximum Length:512
The client applications that the smart action is associated with. -
MassActionFlag: boolean
Title:
Mass Action
Maximum Length:1
Boolean type indicating if this action can be mass processed. -
Method: string
Title:
HTTP Method
Maximum Length:15
The HTTP method of the smart action REST operation. -
ObjectFunctionName: string
Title:
Object Function
Maximum Length:64
The object function associated with the smart action. -
PageType: string
Title:
Page Type
Maximum Length:256
The list of pages that this action can be used in. -
SmartSuggestFlag: boolean
Title:
Smart Suggest
Maximum Length:1
Indicates whether the smart suggest is enabled for the action. -
SystemActionFlag: boolean
Title:
System Action
Maximum Length:1
System assigned value indicating whether the smart action is seeded or custom. 'True' indicates the smart action is seeded. -
UpdateOfAttributes: string
Title:
Attributes to Update
Maximum Length:512
The object attribute to be updated as a result of using a data entry form. Used by applications to determine which form to use. The value is object scoped and must be unique across all smart actions for an object. -
UserActionId: integer
(int64)
Title:
User Action ID
The unique identifier of the smart action definition. -
UserActionName(required): string
Title:
Action Name
Maximum Length:256
The unique identifier of the smart action name. - UserActionNavigation: array Smart Action User Interface Definitions
-
UserActionRank: integer
(int64)
Title:
Priority
The number defining the relative position of the smart action in the list of smart actions displayed in a client application. -
UserActionRequestPayload: array
Smart Action REST Payload Definitions
Title:
Smart Action REST Payload Definitions
If an LOV required for constructing a request payload needs to post data, the payload metadata is stored here. -
UserActionURLBinding: array
Smart Action User Interface Definitions
Title:
Smart Action User Interface Definitions
Binding metadata for a variable in the URL.
Nested Schema : Smart Action REST Payload Definitions
Type:
array
Title:
Smart Action REST Payload Definitions
If an LOV required for constructing a request payload needs to post data, the payload metadata is stored here.
Show Source
Nested Schema : Smart Action User Interface Definitions
Type:
array
Title:
Smart Action User Interface Definitions
Binding metadata for a variable in the URL.
Show Source
Nested Schema : activities-ActivityContact-smartActions-UserActionRequestPayload-item-post-request
Type:
Show Source
object
-
Binding: string
Title:
Payload Value Binding Type
Maximum Length:64
The classification of the value property of a name-value pair. A binding value of RUNTIME indicates the value to be assigned is the runtime value of an object attribute. A value of STATIC indicates the value to be assigned is a simple string. A null value indicates that the value type is JSON_ARRAY_STRING. -
MandatoryFlag: boolean
Title:
Mandatory
Maximum Length:1
Indicates whether a REST payload body parameter value is mandatory. If True, runtime validation ensures that the value is defined. -
RequestPayloadId: integer
(int64)
The unique system assigned identifier of a smart action REST payload body parameter name-value pair definition.
-
RequestPayloadName: string
Title:
Request Payload Attribute Name
Maximum Length:256
The value assigned to the name property of a name-value pair. -
SmartSuggestPath: string
Title:
Smart Suggest Path
Maximum Length:2048
The path used for smart suggest. -
SystemActionFlag: boolean
Title:
System Action
Maximum Length:1
Default Value:false
Indicates whether the smart action is seeded or custom. 'True' indicates the smart action is seeded. The value is automatically derived from smartActions.SystemActionFlag. -
Value: string
Title:
Request Payload Attribute Value
Maximum Length:1000
The value assigned to the value property of a name-value pair. -
ValueStruct: string
Title:
Payload Value Structure
Maximum Length:20
A value of JSON_ARRAY_STRING indicates that the value property of a name-value pair represents an array of data rather than a single entity such as an object attribute name or simple text string. The array string is a definition of the name-value pair and the Binding and Mandatory properties. The array string follows specific pattern, for example [{"name":"leadId","Value":"LeadId","MandatoryFlag":true,"Binding":"RUNTIME"}]. A null value indicates the value property represents a simple, single entity such as an object attribute name or simple text string.
Nested Schema : activities-ActivityContact-smartActions-UserActionURLBinding-item-post-request
Type:
Show Source
object
-
Binding: string
Title:
URL Binding Type
Maximum Length:64
The classification of the value property of a name-value pair. The binding value of a UserActionURLBinding instance must be RUNTIME. A binding value of RUNTIME indicates the value to be assigned is the runtime value of an object attribute. -
SystemActionFlag: boolean
Title:
System Action
Maximum Length:1
Default Value:false
Indicates whether the smart action is seeded or custom. 'True' indicates the smart action is seeded. The value is automatically derived from smartActions.SystemActionFlag. -
URLBindingId: integer
(int64)
The unique identifier of a smart action REST path parameter name-value pair definition.
-
URLBindingName: string
Title:
URL Binding Parameter Name
Maximum Length:256
The value assigned to the name property of a name-value pair. -
Value: string
Title:
URL Binding Parameter Value
Maximum Length:1000
The value assigned to the value property of a name-value pair.
Response
Supported Media Types
- application/json
Default Response
The following table describes the default response for this task.
Headers
-
Metadata-Context:
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".
-
REST-Framework-Version:
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.
Root Schema : activities-ActivityContact-item-response
Type:
Show Source
object
-
AccountId: integer
The unique identifier of the account.
-
ActivityContactId: integer
(int64)
Title:
Activity Contact ID
The unique identifier for the surrogate activity contact. -
ActivityContactKey: string
Title:
Activity Contact Key
Read Only:true
Maximum Length:80
Activity contact composite key -
ActivityId: integer
(int64)
Title:
Activity ID
The unique identifier of the parent activity for the objective. -
ActivityNumber: string
Maximum Length:
64
The unique number of the activity. The number can also be generated from an external source. -
ActyActivityNumber: string
Title:
Activity Number
Maximum Length:64
The unique number of the activity. The number can also be generated from an external source. -
Affinity: string
Read Only:
true
The affinity of an activity contact to the deploying organization. A list of accepted values is defined in the lookup HZ_SLS_CNTCT_AFFINITY_CODE. Review and update the value for this attribute using the Setup and Maintenance work area, Manage Contact Lookups task. -
AttendeeFlag: boolean
Title:
Attendance
Maximum Length:1
Default Value:true
Indicates if the contact attended the activity. If True, the contact attended. -
BuyingRole: string
Title:
Buying Role
Read Only:true
The roles played by the activity contact in the buying process, for example, decision maker or supporting role. A list of accepted values is defined in the lookup HZ_SLS_CNTCT_BUY_ROLE_CODE. Review and update the values for this attribute using the Setup and Maintenance work area, Manage Contact Lookups task. -
ConflictId: integer
(int64)
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. -
ContactAccount: string
Title:
Account
The account associated with the activity contact. -
ContactAccountId: integer
The unique identifier of the account associated with the activity contact.
-
ContactAccountType: string
The account type for the contact.
-
ContactCustomer: string
Title:
Contact Customer
The customer contact for the activity. -
ContactEmail: string
Title:
Email
The e-mail address of the activity contact. -
ContactId: integer
(int64)
Title:
Contact ID
The unique identifier of the contact associated with the activity. -
ContactJobTitle: string
Title:
Title
The job title of the activity contact. -
ContactLovSwitcher: string
Indicates contact LOV switcher (Not for public usage).
-
ContactName: string
Title:
Name
The name of the contact for the activity. -
ContactPartyNumber: string
Title:
Contact Number
Read Only:true
Maximum Length:30
The alternate key identifier of the activity contact. -
ContactPhone: string
Title:
Phone
The phone number of the activity contact. -
CorpCurrencyCode: string
Maximum Length:
15
The corporate currency used by the activity contact. -
CreatedBy: string
Title:
Created By
Read Only:true
Maximum Length:64
The user who created the activity contact. -
CreationDate: string
(date-time)
Title:
Creation Date
Read Only:true
The date and time when the activity contact was created. -
CurcyConvRateType: string
Maximum Length:
30
The rate of currency conversion for an activity contact. -
CurrencyCode: string
Maximum Length:
15
The currency used for an activity contact. -
DoNotCallFlag: boolean
Read Only:
true
Indicates whether the contact should be called. The default value is false. -
DoNotContactFlag: boolean
Read Only:
true
Indicates whether the activity contact should be contacted. The default value is false. -
DoNotEmailFlag: boolean
Read Only:
true
Indicates whether the contact should be emailed. The default value is false. -
EmailContactPreferenceFlag: string
Indicates the email contact preference.
-
ExternalContactEmail: string
Title:
External Contact Email
Maximum Length:320
The email address of the external contact. -
ExternalContactFlag: boolean
Title:
External Contact
Maximum Length:1
Default Value:false
Flag indicating that an activity is owned by an external contact. -
ExternalContactName: string
Title:
External Contact Name
Maximum Length:360
The name of an external contact. -
LastUpdateDate: string
(date-time)
Title:
Last Updated Date
Read Only:true
The date and time of when the activity contact was last updated. -
LastUpdatedBy: string
Title:
Last Updated By
Read Only:true
Maximum Length:64
The unique identifier of the user who last updated the activity contact. This is defaulted by the system. -
LastUpdateLogin: string
Title:
Last Updated Login
Read Only:true
Maximum Length:32
The login details of the user who last updated the activity objective. -
links: array
Links
Title:
Links
The link relations associated with the resource instance. -
Name: string
Title:
Name
Read Only:true
The activity contact name. -
PhoneContactPreferenceFlag: string
Indicates the phone contact preference.
-
PrimaryContactFlag: boolean
Title:
Primary
Indicates if this contact is the primary contact. -
PrimaryFormattedAddress: string
The formatted address information of the activity contact.
-
RecurSeriesId: integer
(int64)
The unique identifier that links instances of a series together.
-
RelationshipId: integer
(int64)
Title:
Relationship ID
The unique identifier of the relationship of the contact. -
smartActions: array
Smart Actions
Title:
Smart Actions
The smart actions resource is used to view the name, security, context object, REST operation, confirmation message, and other global properties of smart actions. Smart action item or collection links returned in response payloads are valid at the moment the REST request is processed. Any change to the parent object context can invalidate a previously valid smart action. -
UpgSourceObjectId: integer
(int64)
Read Only:
true
The primary key value of the record in the source table that is upgraded to Rel9 Activity record. -
UpgSourceObjectType: string
Read Only:
true
Maximum Length:30
The source object type could be Appointment, Task or Interaction to indicate the source of the upgraded record. -
UserLastUpdateDate: string
(date-time)
Title:
User Last Update Date
The date and time of when the contact was last updated by a user in the disconnect mode.
Nested Schema : Links
Type:
array
Title:
Links
The link relations associated with the resource instance.
Show Source
Nested Schema : Smart Actions
Type:
array
Title:
Smart Actions
The smart actions resource is used to view the name, security, context object, REST operation, confirmation message, and other global properties of smart actions. Smart action item or collection links returned in response payloads are valid at the moment the REST request is processed. Any change to the parent object context can invalidate a previously valid smart action.
Show Source
Nested Schema : link
Type:
Show Source
object
-
href: string
Title:
hyperlink reference
The URI to the related resource. -
kind: string
Title:
kind
Allowed Values:[ "collection", "item", "describe", "other" ]
The kind of the related resource. -
name: string
Title:
name
The name of the link to the related resource. -
properties: object
properties
-
rel: string
Title:
relation
Allowed Values:[ "self", "lov", "parent", "canonical", "child", "enclosure", "action", "custom" ]
The name of the relation to the resource instance. Example: self.
Nested Schema : properties
Type:
Show Source
object
-
changeIndicator: string
Change indicator or the ETag value of the resource instance.
Nested Schema : activities-ActivityContact-smartActions-item-response
Type:
Show Source
object
-
ActionIntent: string
(byte)
Title:
Action Intent
JSON object that describes what an action does and what context data can be passed to the action. -
ConfirmationMessage: string
Title:
Confirmation Message
Maximum Length:4000
The confirmation message displayed before the smart action runs. An affirmative response allows the smart action to run. -
ContentType: string
Title:
Content Type
Maximum Length:50
The media type of the smart action REST operation. -
DisplayLabel: string
Title:
Action Name
Maximum Length:256
The display name of the smart action. -
Entity: string
Title:
Parent Entity
Maximum Length:150
The primary object the smart action is associated with. For example if the smart action creates an appointment for a lead, lead is the primary object. -
Href: string
Title:
REST Endpoint
Maximum Length:1024
The relative path of the smart action REST resource. The path can include path parameters. -
IncludedInApplication: string
Title:
Included in Application
Maximum Length:512
The client applications that the smart action is associated with. -
links: array
Links
Title:
Links
The link relations associated with the resource instance. -
MassActionFlag: boolean
Title:
Mass Action
Maximum Length:1
Boolean type indicating if this action can be mass processed. -
Method: string
Title:
HTTP Method
Maximum Length:15
The HTTP method of the smart action REST operation. -
ObjectFunctionName: string
Title:
Object Function
Maximum Length:64
The object function associated with the smart action. -
PageType: string
Title:
Page Type
Maximum Length:256
The list of pages that this action can be used in. -
SmartSuggestFlag: boolean
Title:
Smart Suggest
Maximum Length:1
Indicates whether the smart suggest is enabled for the action. -
SystemActionFlag: boolean
Title:
System Action
Maximum Length:1
System assigned value indicating whether the smart action is seeded or custom. 'True' indicates the smart action is seeded. -
UpdateOfAttributes: string
Title:
Attributes to Update
Maximum Length:512
The object attribute to be updated as a result of using a data entry form. Used by applications to determine which form to use. The value is object scoped and must be unique across all smart actions for an object. -
UserActionId: integer
(int64)
Title:
User Action ID
The unique identifier of the smart action definition. -
UserActionName: string
Title:
Action Name
Maximum Length:256
The unique identifier of the smart action name. - UserActionNavigation: array Smart Action User Interface Definitions
-
UserActionRank: integer
(int64)
Title:
Priority
The number defining the relative position of the smart action in the list of smart actions displayed in a client application. -
UserActionRequestPayload: array
Smart Action REST Payload Definitions
Title:
Smart Action REST Payload Definitions
The payload definitions resource is used to view the REST request payload name-value pair definitions of a smart action. Smart action item or collection links returned in response payloads are valid at the moment the REST request is processed. Any change to the parent object context can invalidate a previously valid smart action. -
UserActionURLBinding: array
Smart Action REST Path Parameter Definitions
Title:
Smart Action REST Path Parameter Definitions
The path parameters resource is used to view the REST request path parameter name-value pair definitions of a smart action. Smart action item or collection links returned in response payloads are valid at the moment the REST request is processed. Any change to the parent object context can invalidate a previously valid smart action.
Nested Schema : Links
Type:
array
Title:
Links
The link relations associated with the resource instance.
Show Source
Nested Schema : Smart Action REST Payload Definitions
Type:
array
Title:
Smart Action REST Payload Definitions
The payload definitions resource is used to view the REST request payload name-value pair definitions of a smart action. Smart action item or collection links returned in response payloads are valid at the moment the REST request is processed. Any change to the parent object context can invalidate a previously valid smart action.
Show Source
Nested Schema : Smart Action REST Path Parameter Definitions
Type:
array
Title:
Smart Action REST Path Parameter Definitions
The path parameters resource is used to view the REST request path parameter name-value pair definitions of a smart action. Smart action item or collection links returned in response payloads are valid at the moment the REST request is processed. Any change to the parent object context can invalidate a previously valid smart action.
Show Source
Nested Schema : activities-ActivityContact-smartActions-UserActionRequestPayload-item-response
Type:
Show Source
object
-
Binding: string
Title:
Payload Value Binding Type
Maximum Length:64
The classification of the value property of a name-value pair. A binding value of RUNTIME indicates the value to be assigned is the runtime value of an object attribute. A value of STATIC indicates the value to be assigned is a simple string. A null value indicates that the value type is JSON_ARRAY_STRING. -
links: array
Links
Title:
Links
The link relations associated with the resource instance. -
MandatoryFlag: boolean
Title:
Mandatory
Maximum Length:1
Indicates whether a REST payload body parameter value is mandatory. If True, runtime validation ensures that the value is defined. -
RequestPayloadId: integer
(int64)
The unique system assigned identifier of a smart action REST payload body parameter name-value pair definition.
-
RequestPayloadName: string
Title:
Request Payload Attribute Name
Maximum Length:256
The value assigned to the name property of a name-value pair. -
SmartSuggestPath: string
Title:
Smart Suggest Path
Maximum Length:2048
The path used for smart suggest. -
SystemActionFlag: boolean
Title:
System Action
Maximum Length:1
Default Value:false
Indicates whether the smart action is seeded or custom. 'True' indicates the smart action is seeded. The value is automatically derived from smartActions.SystemActionFlag. -
Value: string
Title:
Request Payload Attribute Value
Maximum Length:1000
The value assigned to the value property of a name-value pair. -
ValueStruct: string
Title:
Payload Value Structure
Maximum Length:20
A value of JSON_ARRAY_STRING indicates that the value property of a name-value pair represents an array of data rather than a single entity such as an object attribute name or simple text string. The array string is a definition of the name-value pair and the Binding and Mandatory properties. The array string follows specific pattern, for example [{"name":"leadId","Value":"LeadId","MandatoryFlag":true,"Binding":"RUNTIME"}]. A null value indicates the value property represents a simple, single entity such as an object attribute name or simple text string.
Nested Schema : Links
Type:
array
Title:
Links
The link relations associated with the resource instance.
Show Source
Nested Schema : activities-ActivityContact-smartActions-UserActionURLBinding-item-response
Type:
Show Source
object
-
Binding: string
Title:
URL Binding Type
Maximum Length:64
The classification of the value property of a name-value pair. The binding value of a UserActionURLBinding instance must be RUNTIME. A binding value of RUNTIME indicates the value to be assigned is the runtime value of an object attribute. -
links: array
Links
Title:
Links
The link relations associated with the resource instance. -
SystemActionFlag: boolean
Title:
System Action
Maximum Length:1
Default Value:false
Indicates whether the smart action is seeded or custom. 'True' indicates the smart action is seeded. The value is automatically derived from smartActions.SystemActionFlag. -
URLBindingId: integer
(int64)
The unique identifier of a smart action REST path parameter name-value pair definition.
-
URLBindingName: string
Title:
URL Binding Parameter Name
Maximum Length:256
The value assigned to the name property of a name-value pair. -
Value: string
Title:
URL Binding Parameter Value
Maximum Length:1000
The value assigned to the value property of a name-value pair.
Nested Schema : Links
Type:
array
Title:
Links
The link relations associated with the resource instance.
Show Source
Links
- smartActions
-
Parameters:
- ActivityContactUniqID:
$request.path.ActivityContactUniqID
- ActivityNumber:
$request.path.ActivityNumber
The smart actions resource is used to view the name, security, context object, REST operation, confirmation message, and other global properties of smart actions. Smart action item or collection links returned in response payloads are valid at the moment the REST request is processed. Any change to the parent object context can invalidate a previously valid smart action. - ActivityContactUniqID:
Examples
The following example shows how to create an activity contact by submitting a POST request on the REST resource using cURL.
curl -u <username:password> \ -X POST -d @example_request_payload.json https://servername.fa.us2.oraclecloud.com/crmRestApi/resources/11.13.18.05/activities/CDRM_167275/child/ActivityContact
Example of Request Body
The following shows an example of the reequest body.
"ActivityContact": [ { "ContactId": 100010025532672 } ]
Example of Response Body
The following example shows the contents of the response body in JSON format.
{ "ActivityId": 300100091331368 "ContactId": 100010025532672 "RelationshipId": null "ActivityNumber": null "CreatedBy": "SALES_ADMIN" "CreationDate": "2016-08-24T02:17:09-07:00" "LastUpdateDate": "2016-08-24T02:17:09-07:00" "LastUpdateLogin": "3ACD2BA10C14B0DEE053780CF10A305B" "LastUpdatedBy": "SALES_ADMIN" "ObjectVersionNumber": 1 "ConflictId": 0 "UserLastUpdateDate": null "PrimaryContactFlag": false "ContactName": "Gabrielle Lee" "CorpCurrencyCode": "EUR" "CurcyConvRateType": "Corporate" "CurrencyCode": "EUR" "ContactEmail": "sendmail-test-discard@oracle.com" "ContactPhone": "+1 (650) 506-6601" "ContactJobTitle": null "EmailContactPreferenceFlag": null "PhoneContactPreferenceFlag": null "ContactCustomer": null "ContactAccount": null "AccountId": null "ContactLovSwitcher": "LOV_ContactName" "ActivityContactId": 300100091339218 "DoNotContactFlag": false "DoNotCallFlag": false "DoNotEmailFlag": false "ContactAccountId": null "ContactAccountType": null "UpgSourceObjectId": null "UpgSourceObjectType": null "RecurSeriesId": null "AttendeeFlag": true "Affinity": "" "BuyingRole": "" "PrimaryFormattedAddress": "100 Palmer Ave,Unit 1,BELMONT, CA 94002" "ContactPartyNumber": "100010025532672" - }