GET api/entity/person/staff/GetActiveStaff?seasonID={seasonID}
Get a list of the staff personID's for the given (current) season. To be on the list they must be employed at some point during the requested season Default season is the current season
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
seasonID | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
list of personIDs
WebMethodResultOfListOfInt32Name | Description | Type | Additional information |
---|---|---|---|
Result | Collection of integer |
None. |
|
Success | boolean |
None. |
|
ErrorText | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Result": [ 1, 2 ], "Success": true, "ErrorText": "sample string 2" }
application/javascript
Sample:
{"Result":[1,2],"Success":true,"ErrorText":"sample string 2"}
application/xml, text/xml
Sample:
<WebMethodResultOfListOfInt32 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> <int>1</int> <int>2</int> </Result> </WebMethodResultOfListOfInt32>