GET Api/RecruitmentProjectTemplates/GetForParent/{organizationalUnitId}/{currentPage}/{itemsPerPage}
Pobiera listę wszystkich obiektów RecruitmentProjectTemplate
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
organizationalUnitId |
identyfikator obiektu nadrzędnego OrganizationalUnit |
integer |
Required |
currentPage |
numer aktualnej strony |
integer |
Default value is 0 |
itemsPerPage |
ilość elementów na stronie |
integer |
Default value is 2147483647 |
Body Parameters
None.
Response Information
Resource Description
lista wszystkich obiektów RecruitmentProjectTemplate w bazie danych
Collection of 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 ] }, { "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]},{"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:
<ArrayOfRecruitmentProjectTemplateDto xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <RecruitmentProjectTemplateDto> <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> <RecruitmentProjectTemplateDto> <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> </ArrayOfRecruitmentProjectTemplateDto>