GET api/subscription/status

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

UserSubscriptionDetails
NameDescriptionTypeAdditional information
IsActive

boolean

None.

Status

string

None.

Start

date

None.

Stop

date

None.

PlanDetails

PlanDetails

None.

AccountErrors

Collection of string

None.

Response Formats

application/json, text/json

Sample:
{
  "IsActive": true,
  "Status": "sample string 2",
  "Start": "2022-07-03T17:03:41.5523564+00:00",
  "Stop": "2022-07-03T17:03:41.5523564+00:00",
  "PlanDetails": {
    "Name": "sample string 1",
    "UnitCap": 2,
    "UnitsListed": 3
  },
  "AccountErrors": [
    "sample string 1",
    "sample string 2"
  ]
}

application/xml, text/xml

Sample:
<UserSubscriptionDetails xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WisspNetApi.Models.Paypal">
  <AccountErrors xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </AccountErrors>
  <IsActive>true</IsActive>
  <PlanDetails>
    <Name>sample string 1</Name>
    <UnitCap>2</UnitCap>
    <UnitsListed>3</UnitsListed>
  </PlanDetails>
  <Start>2022-07-03T17:03:41.5523564+00:00</Start>
  <Status>sample string 2</Status>
  <Stop>2022-07-03T17:03:41.5523564+00:00</Stop>
</UserSubscriptionDetails>