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 integer

None.

SelectedServiceWorkerId

integer

None.

Deadline

date

None.

JobNumber

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ExistingJobId": 1,
  "JobIds": [
    1,
    2
  ],
  "LigaIds": [
    1,
    2
  ],
  "SelectedServiceWorkerId": 1,
  "Deadline": "2025-06-28T12:51:53.2776745Z",
  "JobNumber": "sample string 3"
}

text/html

Sample:
{"ExistingJobId":1,"JobIds":[1,2],"LigaIds":[1,2],"SelectedServiceWorkerId":1,"Deadline":"2025-06-28T12:51:53.2776745Z","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/DAO.Models.Job">
  <Deadline>2025-06-28T12:51:53.2776745Z</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:long>1</d2p1:long>
    <d2p1:long>2</d2p1:long>
  </LigaIds>
  <SelectedServiceWorkerId>1</SelectedServiceWorkerId>
</ProblemJobModel>

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.