PUT Api/RecruitmentProjectTemplates/{id}
Edytuje obiekt RecruitmentProjectTemplate
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id |
identyfikator modyfikowanego obiektu |
integer |
Required |
Body Parameters
obiekt wraz ze wszystkimi wartoĊciami
RecruitmentProjectTemplateDtoName | Description | Type | Additional information |
---|---|---|---|
RecruitmentProjectTemplateId | integer |
Required |
|
Title | string |
Required |
|
OrganizationalUnitId | integer |
Required |
|
CancelAgreement | boolean |
None. |
|
AdvertisementTemplates | Collection of integer |
None. |
|
RecruitmentProjectId |
Identyfikator projektu rekrutacyjnego |
integer |
None. |
RemoveStageAttributes | Collection of integer |
None. |
|
RemoveStageDocuments | Collection of integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "recruitmentProjectTemplateId": 1, "title": "sample string 2", "organizationalUnitId": 3, "cancelAgreement": true, "advertisementTemplates": [ 1, 2 ], "recruitmentProjectId": 1, "removeStageAttributes": [ 1, 2 ], "removeStageDocuments": [ 1, 2 ] }
multipart/form-data
Sample:
{"recruitmentProjectTemplateId":1,"title":"sample string 2","organizationalUnitId":3,"cancelAgreement":true,"advertisementTemplates":[1,2],"recruitmentProjectId":1,"removeStageAttributes":[1,2],"removeStageDocuments":[1,2]}
application/xml, text/xml
Sample:
<RecruitmentProjectTemplateDto xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <RecruitmentProjectTemplateId>1</RecruitmentProjectTemplateId> <Title>sample string 2</Title> <OrganizationalUnitId>3</OrganizationalUnitId> <CancelAgreement>true</CancelAgreement> <AdvertisementTemplates> <int>1</int> <int>2</int> </AdvertisementTemplates> <RecruitmentProjectId>1</RecruitmentProjectId> <RemoveStageAttributes> <int>1</int> <int>2</int> </RemoveStageAttributes> <RemoveStageDocuments> <int>1</int> <int>2</int> </RemoveStageDocuments> </RecruitmentProjectTemplateDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.