GET api/Session?type={type}&membershipId={membershipId}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
type | string |
Required |
|
membershipId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
SessionModelName | Description | Type | Additional information |
---|---|---|---|
Id | string |
None. |
|
Type | string |
None. |
|
MembershipId | integer |
None. |
|
Value | Object |
None. |
|
Date | date |
None. |
Response Formats
application/json, text/json
Sample:
{ "Id": "sample string 1", "Type": "sample string 2", "MembershipId": 3, "Value": {}, "Date": "2024-12-21T16:06:30.6459586+00:00" }
text/html
Sample:
{"Id":"sample string 1","Type":"sample string 2","MembershipId":3,"Value":{},"Date":"2024-12-21T16:06:30.6459586+00:00"}
application/xml, text/xml
Sample:
<SessionModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NPlay.Common.Models.Services"> <Date>2024-12-21T16:06:30.6459586+00:00</Date> <Id>sample string 1</Id> <MembershipId>3</MembershipId> <Type>sample string 2</Type> <Value /> </SessionModel>