GET api/Subscription?guid={guid}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
guid

string

Required

Body Parameters

None.

Response Information

Resource Description

LoginCookie
NameDescriptionTypeAdditional information
Value

string

None.

ExpirationDate

date

None.

IsValid

boolean

None.

Subscription

VClientSubscription

None.

Response Formats

application/json, text/json

Sample:
{
  "Value": "sample string 1",
  "ExpirationDate": "2018-07-08T03:59:16.0904536+02:00",
  "IsValid": true,
  "Subscription": {
    "Id": 1,
    "Price": 2.0,
    "TransactionDate": "2018-07-08T03:59:16.0904536+02:00",
    "Paid": true,
    "RegistrationDate": "2018-07-08T03:59:16.0904536+02:00",
    "DurationInDays": 4,
    "StartDate": "2018-07-08T03:59:16.0904536+02:00",
    "EndDate": "2018-07-08T03:59:16.0904536+02:00",
    "PaymentProviderId": 5,
    "ProductId": 6,
    "Code": "sample string 7",
    "Description": "sample string 8",
    "ActualPrice": 9.0,
    "Active": true,
    "ClientId": 11,
    "FirstName": "sample string 12",
    "LastName": "sample string 13",
    "Email": "sample string 14",
    "FirstRegistered": "2018-07-08T03:59:16.0904536+02:00",
    "UserName": "sample string 16",
    "Password": "sample string 17",
    "Verified": true,
    "ConcurrentAccounts": 64,
    "Currency": "sample string 20",
    "FreeDays": 21.0
  }
}

application/xml, text/xml

Sample:
<LoginCookie xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PaymentManager.Web.API.Models">
  <ExpirationDate>2018-07-08T03:59:16.0904536+02:00</ExpirationDate>
  <IsValid>true</IsValid>
  <Subscription xmlns:d2p1="http://schemas.datacontract.org/2004/07/PaymentManager.Model">
    <d2p1:Active>true</d2p1:Active>
    <d2p1:ActualPrice>9</d2p1:ActualPrice>
    <d2p1:ClientId>11</d2p1:ClientId>
    <d2p1:Code>sample string 7</d2p1:Code>
    <d2p1:ConcurrentAccounts>64</d2p1:ConcurrentAccounts>
    <d2p1:Currency>sample string 20</d2p1:Currency>
    <d2p1:Description>sample string 8</d2p1:Description>
    <d2p1:DurationInDays>4</d2p1:DurationInDays>
    <d2p1:Email>sample string 14</d2p1:Email>
    <d2p1:EndDate>2018-07-08T03:59:16.0904536+02:00</d2p1:EndDate>
    <d2p1:FirstName>sample string 12</d2p1:FirstName>
    <d2p1:FirstRegistered>2018-07-08T03:59:16.0904536+02:00</d2p1:FirstRegistered>
    <d2p1:FreeDays>21</d2p1:FreeDays>
    <d2p1:Id>1</d2p1:Id>
    <d2p1:LastName>sample string 13</d2p1:LastName>
    <d2p1:Paid>true</d2p1:Paid>
    <d2p1:Password>sample string 17</d2p1:Password>
    <d2p1:PaymentProviderId>5</d2p1:PaymentProviderId>
    <d2p1:Price>2</d2p1:Price>
    <d2p1:ProductId>6</d2p1:ProductId>
    <d2p1:RegistrationDate>2018-07-08T03:59:16.0904536+02:00</d2p1:RegistrationDate>
    <d2p1:StartDate>2018-07-08T03:59:16.0904536+02:00</d2p1:StartDate>
    <d2p1:TransactionDate>2018-07-08T03:59:16.0904536+02:00</d2p1:TransactionDate>
    <d2p1:UserName>sample string 16</d2p1:UserName>
    <d2p1:Verified>true</d2p1:Verified>
  </Subscription>
  <Value>sample string 1</Value>
</LoginCookie>