POST api/Job/AssignSelectedJobs

Request Information

URI Parameters

None.

Body Parameters

AssignJobModel
Name Description Type Additional information
ServiceWorkerId

integer

None.

JobIds

Collection of integer

None.

ForceRelease

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "ServiceWorkerId": 1,
  "JobIds": [
    1,
    2
  ],
  "ForceRelease": true
}

text/html

Sample:
{"ServiceWorkerId":1,"JobIds":[1,2],"ForceRelease":true}

application/xml, text/xml

Sample:
<AssignJobModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DAO.Models.Job">
  <ForceRelease>true</ForceRelease>
  <JobIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:long>1</d2p1:long>
    <d2p1:long>2</d2p1:long>
  </JobIds>
  <ServiceWorkerId>1</ServiceWorkerId>
</AssignJobModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.