GET api/entity/person/staff/Staff/GetStaffCategories
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
WebMethodResultOfListOfStaffCategory| Name | Description | Type | Additional information |
|---|---|---|---|
| Result | Collection of StaffCategory |
None. |
|
| Success | boolean |
None. |
|
| ErrorText | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Result": [
{
"Id": 1,
"Name": "sample string 2"
},
{
"Id": 1,
"Name": "sample string 2"
}
],
"Success": true,
"ErrorText": "sample string 2"
}
application/javascript
Sample:
{"Result":[{"Id":1,"Name":"sample string 2"},{"Id":1,"Name":"sample string 2"}],"Success":true,"ErrorText":"sample string 2"}
application/xml, text/xml
Sample:
<WebMethodResultOfListOfStaffCategory xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Success>true</Success>
<ErrorText>sample string 2</ErrorText>
<Result>
<StaffCategory>
<Id>1</Id>
<Name>sample string 2</Name>
</StaffCategory>
<StaffCategory>
<Id>1</Id>
<Name>sample string 2</Name>
</StaffCategory>
</Result>
</WebMethodResultOfListOfStaffCategory>