HomeGuidesAPI ReferenceChangelogDiscussions
GuidesiMIS ProfessionaliMIS EnterpriseClient SupportLog In
API Reference
These docs are for v20.3.44. Click to read the latest docs for v20.3.192.

Executes an Event operation

Executes an operation of Event

With the Event service, you can perform the following operations on the execute endpoint:

  • CloneEvent
  • Populate Event with Specific Properties
  • CancelEvent
  • CloseEvent
  • DeleteEvent

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"
}

Populate Event with Specific Properties

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
}

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
}
Language
Credentials
OAuth2
Click Try It! to start a request and see the response here!

Contact us
Copyright © Advanced Solutions International, All rights reserved.