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": "d3126bfa-fd1d-40a7-bf0d-cfdb389ffb24",
  "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.