post /executionsession

Stability index

LOCKED.
This API is extremely reliable and will not be broken unless absolutely necessary.

Request body

item (required)
ExecutionSession

Query parameters

privileges (optional)

Return type

ExecutionSession

Example data

Content-Type: application/json

{ "abortReason" : 6, "app" : { "privileges" : [ "privileges", "privileges" ], "publishTime" : "2000-01-23T04:56:07.000+00:00", "migrationHash" : "migrationHash", "stream" : { "privileges" : [ "privileges", "privileges" ], "name" : "name", "id" : "046b6c7f-0b8a-43b9-b35d-6489e6daee91" }, "appId" : "appId", "name" : "name", "savedInProductVersion" : "savedInProductVersion", "id" : "046b6c7f-0b8a-43b9-b35d-6489e6daee91", "published" : true, "availabilityStatus" : { } }, "externalProgramTask" : { "privileges" : [ "privileges", "privileges" ], "taskType" : 4, "maxRetries" : 2, "name" : "name", "operational" : { "privileges" : [ "privileges", "privileges" ], "lastExecutionResult" : { "duration" : 5, "privileges" : [ "privileges", "privileges" ], "executingNodeName" : "executingNodeName", "scriptLogLocation" : "scriptLogLocation", "fileReferenceID" : "046b6c7f-0b8a-43b9-b35d-6489e6daee91", "startTime" : "2000-01-23T04:56:07.000+00:00", "stopTime" : "2000-01-23T04:56:07.000+00:00", "scriptLogAvailable" : true, "details" : [ { "privileges" : [ "privileges", "privileges" ], "detailsType" : 2, "id" : "046b6c7f-0b8a-43b9-b35d-6489e6daee91", "message" : "message", "detailCreatedDate" : "2000-01-23T04:56:07.000+00:00" }, { "privileges" : [ "privileges", "privileges" ], "detailsType" : 2, "id" : "046b6c7f-0b8a-43b9-b35d-6489e6daee91", "message" : "message", "detailCreatedDate" : "2000-01-23T04:56:07.000+00:00" } ], "id" : "046b6c7f-0b8a-43b9-b35d-6489e6daee91", "status" : { }, "scriptLogSize" : 7 }, "id" : "046b6c7f-0b8a-43b9-b35d-6489e6daee91", "nextExecution" : "2000-01-23T04:56:07.000+00:00" }, "id" : "046b6c7f-0b8a-43b9-b35d-6489e6daee91", "taskSessionTimeout" : 1586191969, "enabled" : true }, "privileges" : [ "privileges", "privileges" ], "schemaPath" : "schemaPath", "userSyncTask" : { "privileges" : [ "privileges", "privileges" ], "taskType" : 9, "maxRetries" : 4, "name" : "name", "operational" : { "privileges" : [ "privileges", "privileges" ], "lastExecutionResult" : { "duration" : 5, "privileges" : [ "privileges", "privileges" ], "executingNodeName" : "executingNodeName", "scriptLogLocation" : "scriptLogLocation", "fileReferenceID" : "046b6c7f-0b8a-43b9-b35d-6489e6daee91", "startTime" : "2000-01-23T04:56:07.000+00:00", "stopTime" : "2000-01-23T04:56:07.000+00:00", "scriptLogAvailable" : true, "details" : [ { "privileges" : [ "privileges", "privileges" ], "detailsType" : 2, "id" : "046b6c7f-0b8a-43b9-b35d-6489e6daee91", "message" : "message", "detailCreatedDate" : "2000-01-23T04:56:07.000+00:00" }, { "privileges" : [ "privileges", "privileges" ], "detailsType" : 2, "id" : "046b6c7f-0b8a-43b9-b35d-6489e6daee91", "message" : "message", "detailCreatedDate" : "2000-01-23T04:56:07.000+00:00" } ], "id" : "046b6c7f-0b8a-43b9-b35d-6489e6daee91", "status" : { }, "scriptLogSize" : 7 }, "id" : "046b6c7f-0b8a-43b9-b35d-6489e6daee91", "nextExecution" : "2000-01-23T04:56:07.000+00:00" }, "id" : "046b6c7f-0b8a-43b9-b35d-6489e6daee91", "taskSessionTimeout" : 776546569, "enabled" : true }, "abortAt" : "2000-01-23T04:56:07.000+00:00", "reloadTask" : { "privileges" : [ "privileges", "privileges" ], "taskType" : 6, "maxRetries" : 11, "name" : "name", "operational" : { "privileges" : [ "privileges", "privileges" ], "lastExecutionResult" : { "duration" : 5, "privileges" : [ "privileges", "privileges" ], "executingNodeName" : "executingNodeName", "scriptLogLocation" : "scriptLogLocation", "fileReferenceID" : "046b6c7f-0b8a-43b9-b35d-6489e6daee91", "startTime" : "2000-01-23T04:56:07.000+00:00", "stopTime" : "2000-01-23T04:56:07.000+00:00", "scriptLogAvailable" : true, "details" : [ { "privileges" : [ "privileges", "privileges" ], "detailsType" : 2, "id" : "046b6c7f-0b8a-43b9-b35d-6489e6daee91", "message" : "message", "detailCreatedDate" : "2000-01-23T04:56:07.000+00:00" }, { "privileges" : [ "privileges", "privileges" ], "detailsType" : 2, "id" : "046b6c7f-0b8a-43b9-b35d-6489e6daee91", "message" : "message", "detailCreatedDate" : "2000-01-23T04:56:07.000+00:00" } ], "id" : "046b6c7f-0b8a-43b9-b35d-6489e6daee91", "status" : { }, "scriptLogSize" : 7 }, "id" : "046b6c7f-0b8a-43b9-b35d-6489e6daee91", "nextExecution" : "2000-01-23T04:56:07.000+00:00" }, "id" : "046b6c7f-0b8a-43b9-b35d-6489e6daee91", "taskSessionTimeout" : 314780941, "enabled" : true }, "executingNode" : { "privileges" : [ "privileges", "privileges" ], "id" : "046b6c7f-0b8a-43b9-b35d-6489e6daee91" }, "retries" : 8, "createdDate" : "2000-01-23T04:56:07.000+00:00", "modifiedByUserName" : "modifiedByUserName", "modifiedDate" : "2000-01-23T04:56:07.000+00:00", "executionResult" : { "duration" : 5, "privileges" : [ "privileges", "privileges" ], "executingNodeName" : "executingNodeName", "scriptLogLocation" : "scriptLogLocation", "fileReferenceID" : "046b6c7f-0b8a-43b9-b35d-6489e6daee91", "startTime" : "2000-01-23T04:56:07.000+00:00", "stopTime" : "2000-01-23T04:56:07.000+00:00", "scriptLogAvailable" : true, "details" : [ { "privileges" : [ "privileges", "privileges" ], "detailsType" : 2, "id" : "046b6c7f-0b8a-43b9-b35d-6489e6daee91", "message" : "message", "detailCreatedDate" : "2000-01-23T04:56:07.000+00:00" }, { "privileges" : [ "privileges", "privileges" ], "detailsType" : 2, "id" : "046b6c7f-0b8a-43b9-b35d-6489e6daee91", "message" : "message", "detailCreatedDate" : "2000-01-23T04:56:07.000+00:00" } ], "id" : "046b6c7f-0b8a-43b9-b35d-6489e6daee91", "status" : { }, "scriptLogSize" : 7 }, "id" : "046b6c7f-0b8a-43b9-b35d-6489e6daee91", "user" : "user" }

Responses

201
Created