GET api/Session?type={type}&membershipId={membershipId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
type

string

Required

membershipId

integer

Required

Body Parameters

None.

Response Information

Resource Description

SessionModel
NameDescriptionTypeAdditional 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": "2021-07-31T06:00:30.036326+00:00"
}

text/html

Sample:
{"Id":"sample string 1","Type":"sample string 2","MembershipId":3,"Value":{},"Date":"2021-07-31T06:00:30.036326+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>2021-07-31T06:00:30.036326+00:00</Date>
  <Id>sample string 1</Id>
  <MembershipId>3</MembershipId>
  <Type>sample string 2</Type>
  <Value />
</SessionModel>