PUT Api/Contracts/SetAssignmentStage

Request Information

URI Parameters

None.

Body Parameters

MissingContract
NameDescriptionTypeAdditional information
ProfileId

string

None.

Name

string

None.

Surname

string

None.

Email

string

None.

Phone

string

None.

Level

integer

None.

Rating

decimal number

None.

EmployerId

integer

None.

AssignmentStageId

integer

None.

SignedByWorker

boolean

None.

SignedByEmployer

boolean

None.

WorkPositionId

integer

None.

Contract

Contract

None.

PrevContract

Contract

None.

ContractId

integer

None.

OrganizationalUnitId

integer

None.

Dates

Collection of date

None.

TotalDays

integer

None.

IsAssigned

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "profileId": "sample string 1",
  "name": "sample string 2",
  "surname": "sample string 3",
  "email": "sample string 4",
  "phone": "sample string 5",
  "level": 6,
  "rating": 7.0,
  "employerId": 8,
  "assignmentStageId": 1,
  "signedByWorker": true,
  "signedByEmployer": true,
  "workPositionId": 11,
  "contract": {
    "contractId": 1,
    "profileId": "sample string 2",
    "organizationalUnitId": 1,
    "employerId": 3,
    "typeOfContractId": 4,
    "startDate": "2024-05-18T08:21:03.3333092+00:00",
    "endDate": "2024-05-18T08:21:03.3333092+00:00",
    "workStartDate": "2024-05-18T08:21:03.3333092+00:00",
    "workEndDate": "2024-05-18T08:21:03.3333092+00:00",
    "signingDate": "2024-05-18T08:21:03.3333092+00:00",
    "workPositionId": 1,
    "fileLocation": "sample string 6",
    "partTime": 7.0,
    "workingTimeStandardId": 1,
    "isOnline": true,
    "content": "sample string 9",
    "contractTemplateId": 1,
    "signedByWorker": true,
    "signedByEmployer": true,
    "recruitmentProjectId": 1,
    "contractNumber": "sample string 12",
    "year": 1,
    "month": 1,
    "number": 1,
    "exported": true,
    "settlementPeriod": 0,
    "personnelProcessId": 1,
    "contractStatusId": 1,
    "typeOfResignationId": 1,
    "creationDate": "2024-05-18T08:21:03.3489005+00:00",
    "lastUpdate": "2024-05-18T08:21:03.3489005+00:00",
    "wasRemoved": true
  },
  "prevContract": {
    "contractId": 1,
    "profileId": "sample string 2",
    "organizationalUnitId": 1,
    "employerId": 3,
    "typeOfContractId": 4,
    "startDate": "2024-05-18T08:21:03.3333092+00:00",
    "endDate": "2024-05-18T08:21:03.3333092+00:00",
    "workStartDate": "2024-05-18T08:21:03.3333092+00:00",
    "workEndDate": "2024-05-18T08:21:03.3333092+00:00",
    "signingDate": "2024-05-18T08:21:03.3333092+00:00",
    "workPositionId": 1,
    "fileLocation": "sample string 6",
    "partTime": 7.0,
    "workingTimeStandardId": 1,
    "isOnline": true,
    "content": "sample string 9",
    "contractTemplateId": 1,
    "signedByWorker": true,
    "signedByEmployer": true,
    "recruitmentProjectId": 1,
    "contractNumber": "sample string 12",
    "year": 1,
    "month": 1,
    "number": 1,
    "exported": true,
    "settlementPeriod": 0,
    "personnelProcessId": 1,
    "contractStatusId": 1,
    "typeOfResignationId": 1,
    "creationDate": "2024-05-18T08:21:03.3489005+00:00",
    "lastUpdate": "2024-05-18T08:21:03.3489005+00:00",
    "wasRemoved": true
  },
  "contractId": 1,
  "organizationalUnitId": 1,
  "dates": [
    "2024-05-18T08:21:03.3489005+00:00",
    "2024-05-18T08:21:03.3489005+00:00"
  ],
  "totalDays": 12,
  "isAssigned": true
}

multipart/form-data

Sample:
{"profileId":"sample string 1","name":"sample string 2","surname":"sample string 3","email":"sample string 4","phone":"sample string 5","level":6,"rating":7.0,"employerId":8,"assignmentStageId":1,"signedByWorker":true,"signedByEmployer":true,"workPositionId":11,"contract":{"contractId":1,"profileId":"sample string 2","organizationalUnitId":1,"employerId":3,"typeOfContractId":4,"startDate":"2024-05-18T08:21:03.3333092+00:00","endDate":"2024-05-18T08:21:03.3333092+00:00","workStartDate":"2024-05-18T08:21:03.3333092+00:00","workEndDate":"2024-05-18T08:21:03.3333092+00:00","signingDate":"2024-05-18T08:21:03.3333092+00:00","workPositionId":1,"fileLocation":"sample string 6","partTime":7.0,"workingTimeStandardId":1,"isOnline":true,"content":"sample string 9","contractTemplateId":1,"signedByWorker":true,"signedByEmployer":true,"recruitmentProjectId":1,"contractNumber":"sample string 12","year":1,"month":1,"number":1,"exported":true,"settlementPeriod":0,"personnelProcessId":1,"contractStatusId":1,"typeOfResignationId":1,"creationDate":"2024-05-18T08:21:03.3489005+00:00","lastUpdate":"2024-05-18T08:21:03.3489005+00:00","wasRemoved":true},"prevContract":{"contractId":1,"profileId":"sample string 2","organizationalUnitId":1,"employerId":3,"typeOfContractId":4,"startDate":"2024-05-18T08:21:03.3333092+00:00","endDate":"2024-05-18T08:21:03.3333092+00:00","workStartDate":"2024-05-18T08:21:03.3333092+00:00","workEndDate":"2024-05-18T08:21:03.3333092+00:00","signingDate":"2024-05-18T08:21:03.3333092+00:00","workPositionId":1,"fileLocation":"sample string 6","partTime":7.0,"workingTimeStandardId":1,"isOnline":true,"content":"sample string 9","contractTemplateId":1,"signedByWorker":true,"signedByEmployer":true,"recruitmentProjectId":1,"contractNumber":"sample string 12","year":1,"month":1,"number":1,"exported":true,"settlementPeriod":0,"personnelProcessId":1,"contractStatusId":1,"typeOfResignationId":1,"creationDate":"2024-05-18T08:21:03.3489005+00:00","lastUpdate":"2024-05-18T08:21:03.3489005+00:00","wasRemoved":true},"contractId":1,"organizationalUnitId":1,"dates":["2024-05-18T08:21:03.3489005+00:00","2024-05-18T08:21:03.3489005+00:00"],"totalDays":12,"isAssigned":true}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.