Create an event
post
/crmRestApi/resources/11.13.18.05/multiChannelAdapterEvents
Request
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-
AgentId: integer
(int64)
The agent identifier from the parties entity.
-
ApplClassificationCd: string
Maximum Length:
32The code of the application classification to which this event applies. -
BoEntityId: integer
(int64)
The auto-generated number and primary key for the business object entity table.
-
ChannelId: integer
(int64)
The auto-generated number and primary key of the channels table.
-
CommId: string
Maximum Length:
64The communication ID represented by the API Event ID. -
ContactId: integer
(int64)
The auto-generated number and primary key for the contact table.
-
DirectionCd: string
Maximum Length:
32The direction of the event for the token values. -
ErrorMsg: string
Maximum Length:
4000The error message of the event processing. -
ErrorMsgCd: string
Maximum Length:
64The error code for the event processing. -
InteractionId: integer
(int64)
The auto-generated number and primary key for the interactions table.
-
InTokens: string
Maximum Length:
4000The input tokens of the request payload. -
McaEventNumber: string
Maximum Length:
30The public surrogate key which is required during creation of the row. -
Method: string
Maximum Length:
32The name of the calling event method. -
NextState: string
Maximum Length:
32The next state calculated by the event processing. -
ObjectVersionNumber: integer
(int32)
The object version number is used to implement optimistic locking. This number is incremented every time the row is updated. The number is compared at the start and end of a transaction to detect whether another session has updated the row since it was queried.
-
Origin: string
Maximum Length:
250The URL representing the event initiator. -
OutTokens: string
Maximum Length:
4000The output tokens in the response payload. -
Result: string
Maximum Length:
64The returned result of event processing. -
ToolbarId: integer
(int64)
The auto-generated number and primary key for the toolbars table.
-
ToolbarName: string
Maximum Length:
64The toolbar name being used for this event. -
Uuid: string
Maximum Length:
64Client response unique identifier. -
Version: string
Maximum Length:
32The version of the client side consumer. -
WindowName: string
Maximum Length:
64The client window identifier of the event. -
WrapupId: integer
(int64)
The auto-generated number and primary key for the wrap ups table.
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 : multiChannelAdapterEvents-item-response
Type:
Show Source
object-
AgentId: integer
(int64)
The agent identifier from the parties entity.
-
ApplClassificationCd: string
Maximum Length:
32The code of the application classification to which this event applies. -
BoEntityId: integer
(int64)
The auto-generated number and primary key for the business object entity table.
-
ChannelId: integer
(int64)
The auto-generated number and primary key of the channels table.
-
CommId: string
Maximum Length:
64The communication ID represented by the API Event ID. -
ContactId: integer
(int64)
The auto-generated number and primary key for the contact table.
-
CreatedBy: string
Read Only:
trueMaximum Length:64The user who created the event. -
CreationDate: string
(date-time)
Read Only:
trueThe date and time when the event was created. -
DirectionCd: string
Maximum Length:
32The direction of the event for the token values. -
EntityName: string
Title:
Object NameRead Only:trueMaximum Length:64A unique identifier of the business object entity. -
ErrorMsg: string
Maximum Length:
4000The error message of the event processing. -
ErrorMsgCd: string
Maximum Length:
64The error code for the event processing. -
InteractionId: integer
(int64)
The auto-generated number and primary key for the interactions table.
-
InTokens: string
Maximum Length:
4000The input tokens of the request payload. -
LastUpdateDate: string
(date-time)
Read Only:
trueThe user who last updated the event. -
LastUpdatedBy: string
Read Only:
trueMaximum Length:64The date when the event was last updated. -
LastUpdateLogin: string
Read Only:
trueMaximum Length:32The login of the user who last updated the event. -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
McaEventId: integer
(int64)
Read Only:
trueThe auto-generated number and primary key for the event. -
McaEventNumber: string
Maximum Length:
30The public surrogate key which is required during creation of the row. -
Method: string
Maximum Length:
32The name of the calling event method. -
NextState: string
Maximum Length:
32The next state calculated by the event processing. -
ObjectVersionNumber: integer
(int32)
The object version number is used to implement optimistic locking. This number is incremented every time the row is updated. The number is compared at the start and end of a transaction to detect whether another session has updated the row since it was queried.
-
Origin: string
Maximum Length:
250The URL representing the event initiator. -
OutTokens: string
Maximum Length:
4000The output tokens in the response payload. -
Result: string
Maximum Length:
64The returned result of event processing. -
ToolbarId: integer
(int64)
The auto-generated number and primary key for the toolbars table.
-
ToolbarName: string
Maximum Length:
64The toolbar name being used for this event. -
Uuid: string
Maximum Length:
64Client response unique identifier. -
Version: string
Maximum Length:
32The version of the client side consumer. -
WindowName: string
Maximum Length:
64The client window identifier of the event. -
WrapupId: integer
(int64)
The auto-generated number and primary key for the wrap ups table.
Nested Schema : Links
Type:
arrayTitle:
LinksThe link relations associated with the resource instance.
Show Source
Nested Schema : link
Type:
Show Source
object-
href: string
Title:
hyperlink referenceThe URI to the related resource. -
kind: string
Title:
kindAllowed Values:[ "collection", "item", "describe", "other" ]The kind of the related resource. -
name: string
Title:
nameThe name of the link to the related resource. -
properties: object
properties
-
rel: string
Title:
relationAllowed 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.
Links
- ApplClassificationCodeLOV
-
Parameters:
- finder:
LookupTypeFinder%3BLookupType%3DORA_SVC_MCA_APPL_CLASSIF_CD
The following properties are defined on the LOV link relation:- Source Attribute: ApplClassificationCd; Target Attribute: LookupCode
- Display Attribute: Meaning
- finder: