GET api/StaffCustody/GetAllByStaffID/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of StaffCustodyDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| StaffCustodyID | integer |
None. |
|
| StaffID | integer |
None. |
|
| StaffCustodyNameEnglish | string |
None. |
|
| StaffCustodyNameArabic | string |
None. |
|
| IsDeleted | boolean |
None. |
|
| CreationDate | date |
None. |
|
| ModifiedDate | date |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"StaffCustodyID": 1,
"StaffID": 2,
"StaffCustodyNameEnglish": "sample string 3",
"StaffCustodyNameArabic": "sample string 4",
"IsDeleted": true,
"CreationDate": "2025-10-27T18:27:24.8093672-04:00",
"ModifiedDate": "2025-10-27T18:27:24.8093672-04:00"
},
{
"StaffCustodyID": 1,
"StaffID": 2,
"StaffCustodyNameEnglish": "sample string 3",
"StaffCustodyNameArabic": "sample string 4",
"IsDeleted": true,
"CreationDate": "2025-10-27T18:27:24.8093672-04:00",
"ModifiedDate": "2025-10-27T18:27:24.8093672-04:00"
}
]
application/xml, text/xml
Sample:
<ArrayOfStaffCustodyDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HR.Objects.DTOs">
<StaffCustodyDTO>
<CreationDate>2025-10-27T18:27:24.8093672-04:00</CreationDate>
<IsDeleted>true</IsDeleted>
<ModifiedDate>2025-10-27T18:27:24.8093672-04:00</ModifiedDate>
<StaffCustodyID>1</StaffCustodyID>
<StaffCustodyNameArabic>sample string 4</StaffCustodyNameArabic>
<StaffCustodyNameEnglish>sample string 3</StaffCustodyNameEnglish>
<StaffID>2</StaffID>
</StaffCustodyDTO>
<StaffCustodyDTO>
<CreationDate>2025-10-27T18:27:24.8093672-04:00</CreationDate>
<IsDeleted>true</IsDeleted>
<ModifiedDate>2025-10-27T18:27:24.8093672-04:00</ModifiedDate>
<StaffCustodyID>1</StaffCustodyID>
<StaffCustodyNameArabic>sample string 4</StaffCustodyNameArabic>
<StaffCustodyNameEnglish>sample string 3</StaffCustodyNameEnglish>
<StaffID>2</StaffID>
</StaffCustodyDTO>
</ArrayOfStaffCustodyDTO>