post https://yourorgsite.com/api/Event/_execute
Executes an operation of Event
With the Event service, you can perform the following operations on the execute endpoint:
- EventCloneRequest
- EventSpecificPropertiesRequest
- CloneEvent
- CancelEvent
- CloseEvent
- DeleteEvent
EventCloneRequest
BODY PARAMS:
{
"$type": "Asi.Soa.Events.DataContracts.EventCloneRequest, Asi.Contracts",
"EntityTypeName": "Event",
"OperationName": "CloneEvent",
"EventId": "string value",
"UserId": "string value",
"EventCode": "string value",
"EventName": "string value",
"RequestCulture": "string value"
}
EventSpecificPropertiesRequest
BODY PARAMS:
{
"$type": "Asi.Soa.Events.DataContracts.EventSpecificPropertiesRequest, Asi.Contracts",
"EntityTypeName": "Event",
"OperationName": null,
"EventId": "string value",
"Properties": [
"string value"
],
"ItemId": "string value",
"RefreshCache": false,
"RequestCulture": "string value"
}
CloneEvent
BODY PARAMS:
{
"$type": "Asi.Soa.Events.DataContracts.EventCloneRequest, Asi.Contracts",
"EntityTypeName": "Event",
"OperationName": "CloneEvent",
"EventId": "string value",
"UserId": "string value",
"EventCode": "string value",
"EventName": "string value"
}
CancelEvent
BODY PARAMS:
{
"$type": "Asi.Soa.Core.DataContracts.GenericExecuteRequest, Asi.Contracts",
"OperationName": "CancelEvent",
"EntityTypeName": "Event",
"Parameters": {
"$type": "System.Collections.ObjectModel.Collection`1[[System.Object, mscorlib]], mscorlib",
"$values": [
{
"$type": "System.String",
"$value": "eventId Value"
}
]
},
"ParameterTypeName": {
"$type": "System.Collections.ObjectModel.Collection`1[[System.String, mscorlib]], mscorlib",
"$values": [
"System.String"
]
},
"UseJson": false
}
CloseEvent
BODY PARAMS:
{
"$type": "Asi.Soa.Core.DataContracts.GenericExecuteRequest, Asi.Contracts",
"OperationName": "CloseEvent",
"EntityTypeName": "Event",
"Parameters": {
"$type": "System.Collections.ObjectModel.Collection`1[[System.Object, mscorlib]], mscorlib",
"$values": [
{
"$type": "System.String",
"$value": "eventId Value"
}
]
},
"ParameterTypeName": {
"$type": "System.Collections.ObjectModel.Collection`1[[System.String, mscorlib]], mscorlib",
"$values": [
"System.String"
]
},
"UseJson": false
}
DeleteEvent
BODY PARAMS:
{
"$type": "Asi.Soa.Core.DataContracts.GenericExecuteRequest, Asi.Contracts",
"OperationName": "DeleteEvent",
"EntityTypeName": "Event",
"Parameters": {
"$type": "System.Collections.ObjectModel.Collection`1[[System.Object, mscorlib]], mscorlib",
"$values": [
{
"$type": "System.String",
"$value": "eventId Value"
}
]
},
"ParameterTypeName": {
"$type": "System.Collections.ObjectModel.Collection`1[[System.String, mscorlib]], mscorlib",
"$values": [
"System.String"
]
},
"UseJson": false
}