POST jobtype/addJobStatus

Request Information

URI Parameters

None.

Body Parameters

jb_JobStatusEntity
NameDescriptionTypeAdditional information
StatusId

integer

None.

StatusDesc

string

None.

IsComplete

boolean

None.

Active

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "StatusId": 1,
  "StatusDesc": "sample string 2",
  "IsComplete": true,
  "Active": true
}

text/html

Sample:
{"StatusId":1,"StatusDesc":"sample string 2","IsComplete":true,"Active":true}

application/xml, text/xml

Sample:
<jb_JobStatusEntity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ListenerOnline.BusinessEntities.JobTypes">
  <Active>true</Active>
  <IsComplete>true</IsComplete>
  <StatusDesc>sample string 2</StatusDesc>
  <StatusId>1</StatusId>
</jb_JobStatusEntity>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.