GET api/getonlinesetting/{sessionID}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| sessionID | string |
Required |
Body Parameters
None.
Response Information
Resource Description
GetOnlineSettingResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| retval |
Return code (0 - ok, otherwise - error) |
integer |
None. |
| desc |
Text explanation of return code (error description) |
string |
None. |
| setting |
Setting |
integer |
None. |
| period |
Number of days online after logout |
integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"retval": 1,
"desc": "sample string 2",
"setting": 3,
"period": 4
}
application/xml, text/xml
Sample:
<getonlinesetting.response> <retval>1</retval> <desc>sample string 2</desc> <setting>3</setting> <period>4</period> </getonlinesetting.response>