GET api/entity/person/camper/Camper/GetActiveCamper?seasonID={seasonID}

Get a list of the camper personID's for the given (current) season. We include any camper for the given season regardless of enrollment Default season is the current season Also, restrict the list to campers who went to camp in some capacity

Request Information

URI Parameters

NameDescriptionTypeAdditional information
seasonID

integer

Required

Body Parameters

None.

Response Information

Resource Description

list of personIDs

WebMethodResultOfListOfInt32
NameDescriptionTypeAdditional 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>