PUT Api/RecruitmentStages/{id}
Edytuje obiekt RecruitmentStage
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id |
identyfikator modyfikowanego obiektu |
integer |
Required |
Body Parameters
obiekt wraz ze wszystkimi wartoĊciami
RecruitmentStageDtoName | Description | Type | Additional information |
---|---|---|---|
RecruitmentStageId | integer |
Required |
|
RecruitmentProjectId | integer |
Required |
|
Title | string |
Required |
|
Description | string |
None. |
|
Sequence | integer |
None. |
|
VerificationById | integer |
None. |
|
DataWizardId | integer |
None. |
|
FillWizardByWorker | boolean |
None. |
|
AssignAccommodation | boolean |
None. |
|
AssignContract | boolean |
None. |
|
CandidateLimit | integer |
None. |
|
Attributes | Collection of integer |
None. |
|
Uniforms | Collection of integer |
None. |
|
OrganizationalUnits | Collection of integer |
None. |
|
ExportTemplate | string |
None. |
|
Roles | string |
None. |
|
Qualifications | Collection of SelectedQualificationDto |
None. |
|
Documents | Collection of SelectedDocumentDto |
None. |
|
RecruitmentStageMessageTemplates | Collection of RecruitmentStageMessageTemplateDto |
None. |
|
AllowGroupTransfer | boolean |
None. |
|
SetWorkDates | boolean |
None. |
|
PersonnelProcesses | Collection of integer |
None. |
|
AutomaticVerification | boolean |
None. |
|
FinalStage | boolean |
None. |
|
ContractStatusId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "recruitmentStageId": 1, "recruitmentProjectId": 2, "title": "sample string 3", "description": "sample string 4", "sequence": 1, "verificationById": 1, "dataWizardId": 1, "fillWizardByWorker": true, "assignAccommodation": true, "assignContract": true, "candidateLimit": 1, "attributes": [ 1, 1 ], "uniforms": [ 1, 1 ], "organizationalUnits": [ 1, 1 ], "exportTemplate": "sample string 5", "roles": "sample string 6", "qualifications": [ { "qualificationId": 1, "level": 1 }, { "qualificationId": 1, "level": 1 } ], "documents": [ { "typeOfDocumentId": 1, "versionOfDocumentId": 1, "documentStatusId": 1 }, { "typeOfDocumentId": 1, "versionOfDocumentId": 1, "documentStatusId": 1 } ], "recruitmentStageMessageTemplates": [ { "recruitmentStageMessageTemplateId": 1, "creationDate": "2024-05-18T05:32:32.1214111+00:00", "languageId": 3, "recruitmentStageId": 4, "templateContent": "sample string 5", "recruitmentStageTemplateId": 1, "notificationType": 6, "phoneNumberSendType": 7, "assignedUserGroupsList": [ "sample string 1", "sample string 2" ], "modemId": 1, "notificationAlternativeRecipientConfigs": [ { "notificationAlternativeRecipientConfigId": 1, "notificationId": 1, "recruitmentStageMessageTemplateId": 1, "notificationAlternativeRecipientOptionId": 2 }, { "notificationAlternativeRecipientConfigId": 1, "notificationId": 1, "recruitmentStageMessageTemplateId": 1, "notificationAlternativeRecipientOptionId": 2 } ] }, { "recruitmentStageMessageTemplateId": 1, "creationDate": "2024-05-18T05:32:32.1214111+00:00", "languageId": 3, "recruitmentStageId": 4, "templateContent": "sample string 5", "recruitmentStageTemplateId": 1, "notificationType": 6, "phoneNumberSendType": 7, "assignedUserGroupsList": [ "sample string 1", "sample string 2" ], "modemId": 1, "notificationAlternativeRecipientConfigs": [ { "notificationAlternativeRecipientConfigId": 1, "notificationId": 1, "recruitmentStageMessageTemplateId": 1, "notificationAlternativeRecipientOptionId": 2 }, { "notificationAlternativeRecipientConfigId": 1, "notificationId": 1, "recruitmentStageMessageTemplateId": 1, "notificationAlternativeRecipientOptionId": 2 } ] } ], "allowGroupTransfer": true, "setWorkDates": true, "personnelProcesses": [ 1, 2 ], "automaticVerification": true, "finalStage": true, "contractStatusId": 1 }
multipart/form-data
Sample:
{"recruitmentStageId":1,"recruitmentProjectId":2,"title":"sample string 3","description":"sample string 4","sequence":1,"verificationById":1,"dataWizardId":1,"fillWizardByWorker":true,"assignAccommodation":true,"assignContract":true,"candidateLimit":1,"attributes":[1,1],"uniforms":[1,1],"organizationalUnits":[1,1],"exportTemplate":"sample string 5","roles":"sample string 6","qualifications":[{"qualificationId":1,"level":1},{"qualificationId":1,"level":1}],"documents":[{"typeOfDocumentId":1,"versionOfDocumentId":1,"documentStatusId":1},{"typeOfDocumentId":1,"versionOfDocumentId":1,"documentStatusId":1}],"recruitmentStageMessageTemplates":[{"recruitmentStageMessageTemplateId":1,"creationDate":"2024-05-18T05:32:32.1214111+00:00","languageId":3,"recruitmentStageId":4,"templateContent":"sample string 5","recruitmentStageTemplateId":1,"notificationType":6,"phoneNumberSendType":7,"assignedUserGroupsList":["sample string 1","sample string 2"],"modemId":1,"notificationAlternativeRecipientConfigs":[{"notificationAlternativeRecipientConfigId":1,"notificationId":1,"recruitmentStageMessageTemplateId":1,"notificationAlternativeRecipientOptionId":2},{"notificationAlternativeRecipientConfigId":1,"notificationId":1,"recruitmentStageMessageTemplateId":1,"notificationAlternativeRecipientOptionId":2}]},{"recruitmentStageMessageTemplateId":1,"creationDate":"2024-05-18T05:32:32.1214111+00:00","languageId":3,"recruitmentStageId":4,"templateContent":"sample string 5","recruitmentStageTemplateId":1,"notificationType":6,"phoneNumberSendType":7,"assignedUserGroupsList":["sample string 1","sample string 2"],"modemId":1,"notificationAlternativeRecipientConfigs":[{"notificationAlternativeRecipientConfigId":1,"notificationId":1,"recruitmentStageMessageTemplateId":1,"notificationAlternativeRecipientOptionId":2},{"notificationAlternativeRecipientConfigId":1,"notificationId":1,"recruitmentStageMessageTemplateId":1,"notificationAlternativeRecipientOptionId":2}]}],"allowGroupTransfer":true,"setWorkDates":true,"personnelProcesses":[1,2],"automaticVerification":true,"finalStage":true,"contractStatusId":1}
application/xml, text/xml
Sample:
<RecruitmentStageDto xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <RecruitmentStageId>1</RecruitmentStageId> <RecruitmentProjectId>2</RecruitmentProjectId> <Title>sample string 3</Title> <Description>sample string 4</Description> <Sequence>1</Sequence> <VerificationById>1</VerificationById> <DataWizardId>1</DataWizardId> <FillWizardByWorker>true</FillWizardByWorker> <AssignAccommodation>true</AssignAccommodation> <AssignContract>true</AssignContract> <CandidateLimit>1</CandidateLimit> <Attributes> <int>1</int> <int>1</int> </Attributes> <Uniforms> <int>1</int> <int>1</int> </Uniforms> <OrganizationalUnits> <int>1</int> <int>1</int> </OrganizationalUnits> <ExportTemplate>sample string 5</ExportTemplate> <Roles>sample string 6</Roles> <Qualifications> <SelectedQualificationDto> <QualificationId>1</QualificationId> <Level>1</Level> </SelectedQualificationDto> <SelectedQualificationDto> <QualificationId>1</QualificationId> <Level>1</Level> </SelectedQualificationDto> </Qualifications> <Documents> <SelectedDocumentDto> <TypeOfDocumentId>1</TypeOfDocumentId> <VersionOfDocumentId>1</VersionOfDocumentId> <DocumentStatusId>1</DocumentStatusId> </SelectedDocumentDto> <SelectedDocumentDto> <TypeOfDocumentId>1</TypeOfDocumentId> <VersionOfDocumentId>1</VersionOfDocumentId> <DocumentStatusId>1</DocumentStatusId> </SelectedDocumentDto> </Documents> <RecruitmentStageMessageTemplates> <RecruitmentStageMessageTemplateDto> <RecruitmentStageMessageTemplateId>1</RecruitmentStageMessageTemplateId> <CreationDate>2024-05-18T05:32:32.1214111+00:00</CreationDate> <LanguageId>3</LanguageId> <RecruitmentStageId>4</RecruitmentStageId> <TemplateContent>sample string 5</TemplateContent> <RecruitmentStageTemplateId>1</RecruitmentStageTemplateId> <NotificationType>6</NotificationType> <PhoneNumberSendType>7</PhoneNumberSendType> <AssignedUserGroupsList> <string>sample string 1</string> <string>sample string 2</string> </AssignedUserGroupsList> <ModemId>1</ModemId> <NotificationAlternativeRecipientConfigs> <NotificationAlternativeRecipientConfigDto> <NotificationAlternativeRecipientConfigId>1</NotificationAlternativeRecipientConfigId> <NotificationId>1</NotificationId> <RecruitmentStageMessageTemplateId>1</RecruitmentStageMessageTemplateId> <NotificationAlternativeRecipientOptionId>2</NotificationAlternativeRecipientOptionId> </NotificationAlternativeRecipientConfigDto> <NotificationAlternativeRecipientConfigDto> <NotificationAlternativeRecipientConfigId>1</NotificationAlternativeRecipientConfigId> <NotificationId>1</NotificationId> <RecruitmentStageMessageTemplateId>1</RecruitmentStageMessageTemplateId> <NotificationAlternativeRecipientOptionId>2</NotificationAlternativeRecipientOptionId> </NotificationAlternativeRecipientConfigDto> </NotificationAlternativeRecipientConfigs> </RecruitmentStageMessageTemplateDto> <RecruitmentStageMessageTemplateDto> <RecruitmentStageMessageTemplateId>1</RecruitmentStageMessageTemplateId> <CreationDate>2024-05-18T05:32:32.1214111+00:00</CreationDate> <LanguageId>3</LanguageId> <RecruitmentStageId>4</RecruitmentStageId> <TemplateContent>sample string 5</TemplateContent> <RecruitmentStageTemplateId>1</RecruitmentStageTemplateId> <NotificationType>6</NotificationType> <PhoneNumberSendType>7</PhoneNumberSendType> <AssignedUserGroupsList> <string>sample string 1</string> <string>sample string 2</string> </AssignedUserGroupsList> <ModemId>1</ModemId> <NotificationAlternativeRecipientConfigs> <NotificationAlternativeRecipientConfigDto> <NotificationAlternativeRecipientConfigId>1</NotificationAlternativeRecipientConfigId> <NotificationId>1</NotificationId> <RecruitmentStageMessageTemplateId>1</RecruitmentStageMessageTemplateId> <NotificationAlternativeRecipientOptionId>2</NotificationAlternativeRecipientOptionId> </NotificationAlternativeRecipientConfigDto> <NotificationAlternativeRecipientConfigDto> <NotificationAlternativeRecipientConfigId>1</NotificationAlternativeRecipientConfigId> <NotificationId>1</NotificationId> <RecruitmentStageMessageTemplateId>1</RecruitmentStageMessageTemplateId> <NotificationAlternativeRecipientOptionId>2</NotificationAlternativeRecipientOptionId> </NotificationAlternativeRecipientConfigDto> </NotificationAlternativeRecipientConfigs> </RecruitmentStageMessageTemplateDto> </RecruitmentStageMessageTemplates> <AllowGroupTransfer>true</AllowGroupTransfer> <SetWorkDates>true</SetWorkDates> <PersonnelProcesses> <int>1</int> <int>2</int> </PersonnelProcesses> <AutomaticVerification>true</AutomaticVerification> <FinalStage>true</FinalStage> <ContractStatusId>1</ContractStatusId> </RecruitmentStageDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.