POST api/Job

Request Information

URI Parameters

None.

Body Parameters

CancelJobCommandDataContract
NameDescriptionTypeAdditional information
JobReference

globally unique identifier

None.

CancellationReason

string

None.

Request Formats

application/json, text/json

Sample:
{
  "JobReference": "e3d8d65e-019c-4399-a61e-5d2ba0c308f0",
  "CancellationReason": "sample string 2"
}

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'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.