GetSubscriptionTypes

GET

Get Subscription Types

Returns information surrounding the supported types of Subscriber.

 

To get the list of supported subscriber types, every request must pass in the access_token value in the header. For more information on how to generate your access_token, please refer to this section.

 

 

Request

Method URL
GET https://blinke-stage.apigee.net/io/subscribertypes

 

 

Request Headers

Name Description Mandatory
Authorization Bearer access_token Yes
Content-Type application/json Yes

 

 

Response

Result of the successful request contains following information:

Name Description
array An array of valid subscriber types.

 

subscribertypes[]
struct
A single subscriber type information

 

uuid
string
Unique identifier of each subscriber type.
type
string
The item type. The value is "subscribertype".
name
string
A system subscriber name.
created
long
The number represents date/time when the subscriber type is created. Date time in ISO 8601 format.
modified
long
The number represents date/time when was the last time the subscriber type was modified. Date time in ISO 8601 format.
category
string
Subscriber type category. The value can be "Business" or "Personal".
displayName
string
Subscriber type display name.
metadata
string
Subscriber type metadata

 

 

Response (Example)

HTTP Code Response
200
[
    {
        "uuid": "5bee96b8-b70d-11e7-ba80-0ad881f403bf",
        "type": "subscribertype",
        "name": "enterprise",
        "created": 1508665366291,
        "modified": 1508665366291,
        "category": "Business",
        "displayName": "Enterprise",
        "metadata": {
            "path": "/subscribertypes/5bee96b8-b70d-11e7-ba80-0ad881f403bf",
            "size": 386
        }
    },
    {
        "uuid": "5be8a33e-b70d-11e7-ba80-0ad881f403bf",
        "type": "subscribertype",
        "name": "prepaid",
        "created": 1508665366252,
        "modified": 1508665366252,
        "category": "Personal",
        "displayName": "Prepaid",
        "metadata": {
            "path": "/subscribertypes/5be8a33e-b70d-11e7-ba80-0ad881f403bf",
            "size": 380
        }
    },
    {
        "uuid": "5be0dafd-b70d-11e7-ba80-0ad881f403bf",
        "type": "subscribertype",
        "name": "postpaid",
        "created": 1508665366201,
        "modified": 1508665366201,
        "category": "Personal",
        "displayName": "Postpaid",
        "metadata": {
            "path": "/subscribertypes/5be0dafd-b70d-11e7-ba80-0ad881f403bf",
            "size": 382
        }
    }
]
401
{
    "fault": {
        "faultstring": "Invalid Access Token",
        "detail": {
            "errorcode": "keymanagement.service.invalid_access_token"
        }
    }
}

Resource URL

https://blinke-stage.apigee.net /io/subscribertypes

Header Parameters


Name Values Description
Content-Type
(required)

JSON

Authorization
(required)

Bearer access_token

Request Body

HTTP Basic

OAuth 2.0

API Key

Reset

Make a request and see the response.

Make a request and see the response.

Make a request and see the response.

Resource Summary

Security

Working...