GET Api/RecruitmentProjectTemplates/{id}
Wyszukuje object RecruitmentProjectTemplate po jego identyfikatorze
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id |
unikalny identyfikator obiektu |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
obiekt RecruitmentProjectTemplate posiadajÄ…cy wybrany identyfikator
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. |
Response 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>