POST api/Job/CreateProblemJob
Request Information
URI Parameters
None.
Body Parameters
ProblemJobModel| Name | Description | Type | Additional information |
|---|---|---|---|
| ExistingJobId | integer |
None. |
|
| JobIds | Collection of integer |
None. |
|
| LigaIds | Collection of string |
None. |
|
| SelectedServiceWorkerId | integer |
None. |
|
| Deadline | date |
None. |
|
| JobNumber | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"ExistingJobId": 1,
"JobIds": [
1,
2
],
"LigaIds": [
"sample string 1",
"sample string 2"
],
"SelectedServiceWorkerId": 1,
"Deadline": "2026-04-03T06:06:04.6690838Z",
"JobNumber": "sample string 3"
}
text/html
Sample:
{"ExistingJobId":1,"JobIds":[1,2],"LigaIds":["sample string 1","sample string 2"],"SelectedServiceWorkerId":1,"Deadline":"2026-04-03T06:06:04.6690838Z","JobNumber":"sample string 3"}
application/xml, text/xml
Sample:
<ProblemJobModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mediahuis.Models.Job">
<Deadline>2026-04-03T06:06:04.6690838Z</Deadline>
<ExistingJobId>1</ExistingJobId>
<JobIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:long>1</d2p1:long>
<d2p1:long>2</d2p1:long>
</JobIds>
<JobNumber>sample string 3</JobNumber>
<LigaIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>sample string 1</d2p1:string>
<d2p1:string>sample string 2</d2p1:string>
</LigaIds>
<SelectedServiceWorkerId>1</SelectedServiceWorkerId>
</ProblemJobModel>
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.