POST api/customdata/asphaltgreen/EnrollCamper
Request Information
URI Parameters
None.
Body Parameters
EnrollCamperRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| PersonId | integer |
None. |
|
| SeasonId | integer |
None. |
|
| SessionId | integer |
None. |
|
| DivisionId | integer |
None. |
|
| ClientDefinedKey | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"PersonId": 1,
"SeasonId": 2,
"SessionId": 3,
"DivisionId": 4,
"ClientDefinedKey": "sample string 5"
}
application/javascript
Sample:
{"PersonId":1,"SeasonId":2,"SessionId":3,"DivisionId":4,"ClientDefinedKey":"sample string 5"}
application/xml, text/xml
Sample:
<EnrollCamperRequest xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <PersonId>1</PersonId> <SeasonId>2</SeasonId> <SessionId>3</SessionId> <DivisionId>4</DivisionId> <ClientDefinedKey>sample string 5</ClientDefinedKey> </EnrollCamperRequest>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
WebMethodResult| Name | Description | Type | Additional information |
|---|---|---|---|
| Success | boolean |
None. |
|
| ErrorText | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Success": true,
"ErrorText": "sample string 2"
}
application/javascript
Sample:
{"Success":true,"ErrorText":"sample string 2"}
application/xml, text/xml
Sample:
<WebMethodResult 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> </WebMethodResult>