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/json, text/json

Sample:
{
  "JobReference": "38a756a4-486c-46fd-b5fe-8b7b4c98a56c",
  "CancellationReason": "sample string 2"
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.