post https://yourorgsite.com/api/TaskDefinition/_execute
Executes an operation of TaskDefinition
With the TaskDefinition service, you can perform the following operations on the execute endpoint:
- TaskAdhocRequest (Task)
- TaskAdhocRequest (TaskDefinitionId)
TaskAdhocRequest (Task)
BODY PARAMS:
{
"$type": "Asi.Soa.Communications.DataContracts.TaskAdhocRequest, Asi.Contracts",
"EntityTypeName": "TaskDefinition",
"OperationName": "TaskAdhocRequest",
"Task": {
"$type": "Asi.Soa.Communications.DataContracts.TaskDefinitionData, Asi.Contracts"
}
}
TaskAdhocRequest (TaskDefinitionId)
BODY PARAMS:
{
"$type": "Asi.Soa.Communications.DataContracts.TaskRequest, Asi.Contracts",
"EntityTypeName": "TaskDefinition",
"OperationName": "TaskAdhocRequest",
"TaskDefinitionId": "string value"
}