POST api/Job/ReleaseSelectedJobs?reasonCode={reasonCode}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| reasonCode | integer |
Required |
Body Parameters
ReleaseJobsModel| Name | Description | Type | Additional information |
|---|---|---|---|
| JobIds | Collection of integer |
None. |
|
| ForceRelease | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"JobIds": [
1,
2
],
"ForceRelease": true
}
text/html
Sample:
{"JobIds":[1,2],"ForceRelease":true}
application/xml, text/xml
Sample:
<ReleaseJobsModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mediahuis.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>
</ReleaseJobsModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, text/html, application/xml, text/xml
Sample:
Sample not available.