GET api/Membership/GetCurrentMembership?userId={userId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
userId

string

Required

Body Parameters

None.

Response Information

Resource Description

MembershipResponseModel
NameDescriptionTypeAdditional information
Id

string

None.

AppUserId

string

None.

MemberNumber

string

None.

StartDate

date

None.

RenewedThruDate

date

None.

ProductName

string

None.

Status

string

None.

ProRataAmount

decimal number

None.

PaidAmount

decimal number

None.

Result

ResponseResult

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": "sample string 1",
  "AppUserId": "sample string 2",
  "MemberNumber": "sample string 3",
  "StartDate": "2024-11-29T09:49:59.2967858+11:00",
  "RenewedThruDate": "2024-11-29T09:49:59.2967858+11:00",
  "ProductName": "sample string 4",
  "Status": "sample string 5",
  "ProRataAmount": 6.0,
  "PaidAmount": 7.0,
  "Result": {
    "Success": true,
    "Message": "sample string 2",
    "Errors": [
      {
        "Message": "sample string 1"
      },
      {
        "Message": "sample string 1"
      }
    ]
  }
}

application/xml, text/xml

Sample:
<MembershipResponseModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bond.Core.API.Models.Response">
  <Result>
    <Errors>
      <ErrorMessage>
        <Message>sample string 1</Message>
      </ErrorMessage>
      <ErrorMessage>
        <Message>sample string 1</Message>
      </ErrorMessage>
    </Errors>
    <Message>sample string 2</Message>
    <Success>true</Success>
  </Result>
  <AppUserId>sample string 2</AppUserId>
  <Id>sample string 1</Id>
  <MemberNumber>sample string 3</MemberNumber>
  <PaidAmount>7</PaidAmount>
  <ProRataAmount>6</ProRataAmount>
  <ProductName>sample string 4</ProductName>
  <RenewedThruDate xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <d2p1:DateTime>2024-11-28T22:49:59.2967858Z</d2p1:DateTime>
    <d2p1:OffsetMinutes>660</d2p1:OffsetMinutes>
  </RenewedThruDate>
  <StartDate xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <d2p1:DateTime>2024-11-28T22:49:59.2967858Z</d2p1:DateTime>
    <d2p1:OffsetMinutes>660</d2p1:OffsetMinutes>
  </StartDate>
  <Status>sample string 5</Status>
</MembershipResponseModel>