POST api/Subscription/GetAccountDetails

Gets the account details.

Request Information

Parameters

NameDescriptionAdditional information
request
The request.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "sequenceId": 0,
  "activeUserId": "sample",
  "userId": "sample",
  "facilityId": 0,
  "MAC": "10-5A-1A-FF-AA",
  "IP": "235.123.231.89",
  "emailAddress": "john@doe.com"
}

Response Information

Response body formats

application/json, text/json

Sample:
{
  "status_code": 0,
  "OPM": {
    "productByFacilityId": 0,
    "planName": "sample",
    "accountNumber": "sample",
    "phoneNumber": "sample",
    "userName": "sample",
    "password": "sample",
    "balanceText": "sample",
    "promo": {
      "balance": 0.0,
      "unit": "sample",
      "stores": [
        {
          "url": "sample",
          "store": "sample",
          "success": true,
          "comments": "Success!",
          "error": {
            "code": 0,
            "params": [
              "sample",
              "sample"
            ]
          }
        },
        {
          "url": "sample",
          "store": "sample",
          "success": true,
          "comments": "Success!",
          "error": {
            "code": 0,
            "params": []
          }
        }
      ],
      "success": true,
      "comments": "Success!",
      "error": {
        "code": 0,
        "params": []
      }
    },
    "success": true,
    "comments": "Success!",
    "error": {
      "code": 0,
      "params": []
    }
  },
  "OP": {
    "productByFacilityId": 0,
    "planName": "sample",
    "pin": "sample",
    "expirationDate": "sample",
    "balanceText": "sample",
    "culture": "sample",
    "success": true,
    "comments": "Success!",
    "error": {
      "code": 0,
      "params": []
    }
  },
  "media": {
    "planName": "sample",
    "expirationDate": "sample",
    "url": "sample",
    "success": true,
    "comments": "Success!",
    "error": {
      "code": 0,
      "params": []
    }
  },
  "success": true,
  "comments": "Success!",
  "error": {
    "code": 0,
    "params": []
  }
}