POST api/Job

Issues a request that a job be cancelled if possbile

Request Information

URI Parameters

None.

Body Parameters

The cancellation request.

Dezrez.Core.DataContracts.External.Api.Job.Command.CancelJob.CancelJobCommandDataContract
NameDescriptionTypeAdditional information
JobReference

globally unique identifier

None.

CancellationReason

string

None.

Request Formats

application/x-www-form-urlencoded

Sample:

Sample not available.

application/json, text/json

Sample:
{
  "JobReference": "d768acb9-f6c9-4e88-bf4a-f2d6e99dacb8",
  "CancellationReason": "sample string 2"
}

Response Information

Resource Description

System.Web.Http.IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.