POST api/Job

Issues a request that a job be cancelled if possbile

Request Information

URI Parameters

None.

Body Parameters

The cancellation request.

CancelJobCommandDataContract
NameDescriptionTypeAdditional information
JobReference

globally unique identifier

None.

CancellationReason

string

None.

Request Formats

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'CancelJobCommandDataContract'.

application/json, text/json

Sample:
{
  "JobReference": "7fe44e73-42a0-4baf-9f97-66542c480ac9",
  "CancellationReason": "sample string 2"
}

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.