POST api/Mech/SubmitJobReason

Request Information

URI Parameters

None.

Body Parameters

MechJob
NameDescriptionTypeAdditional information
servicejobid

integer

None.

jobstatus

string

None.

reason

string

None.

serviceid

integer

None.

concurrent

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "servicejobid": 1,
  "jobstatus": "sample string 2",
  "reason": "sample string 3",
  "serviceid": 4,
  "concurrent": true
}

application/xml, text/xml

Sample:
<MechJob xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EasyQuoteServiceWCF.Models">
  <concurrent>true</concurrent>
  <jobstatus>sample string 2</jobstatus>
  <reason>sample string 3</reason>
  <serviceid>4</serviceid>
  <servicejobid>1</servicejobid>
</MechJob>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.