GET Api/PersonnelProcesses/{id}
Wyszukuje object PersonnelProcess 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 PersonnelProcess posiadajÄ…cy wybrany identyfikator
PersonnelProcessDtoName | Description | Type | Additional information |
---|---|---|---|
PersonnelProcessId | integer |
Required |
|
Title | string |
Required |
|
Description | string |
None. |
|
Icon | string |
None. |
|
Roles | string |
None. |
|
OrganizationalUnitId | integer |
Required |
|
UsersInProcess | integer |
None. |
|
NumberNewCandidates | integer |
None. |
|
CancelAgreement | boolean |
None. |
|
RemoveProcessAttributes | Collection of integer |
None. |
|
RemoveProcessDocuments | Collection of integer |
None. |
Response Formats
application/json, text/json
Sample:
{ "personnelProcessId": 1, "title": "sample string 2", "description": "sample string 3", "icon": "sample string 4", "roles": "sample string 5", "organizationalUnitId": 6, "usersInProcess": 7, "numberNewCandidates": 8, "cancelAgreement": true, "removeProcessAttributes": [ 1, 2 ], "removeProcessDocuments": [ 1, 2 ] }
multipart/form-data
Sample:
{"personnelProcessId":1,"title":"sample string 2","description":"sample string 3","icon":"sample string 4","roles":"sample string 5","organizationalUnitId":6,"usersInProcess":7,"numberNewCandidates":8,"cancelAgreement":true,"removeProcessAttributes":[1,2],"removeProcessDocuments":[1,2]}
application/xml, text/xml
Sample:
<PersonnelProcessDto xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <PersonnelProcessId>1</PersonnelProcessId> <Title>sample string 2</Title> <Description>sample string 3</Description> <Icon>sample string 4</Icon> <Roles>sample string 5</Roles> <OrganizationalUnitId>6</OrganizationalUnitId> <UsersInProcess>7</UsersInProcess> <NumberNewCandidates>8</NumberNewCandidates> <CancelAgreement>true</CancelAgreement> <RemoveProcessAttributes> <int>1</int> <int>2</int> </RemoveProcessAttributes> <RemoveProcessDocuments> <int>1</int> <int>2</int> </RemoveProcessDocuments> </PersonnelProcessDto>