GetProducts

GET

Get Products

Returns a list of valid Indosat Ooredoo data package products.

 

To get a list of available Indosat Ooredoo data packages, 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/products

 

 

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
success
boolean
Return true if success.
totalResults
integer
Total number of items in the products list.
results
array

An array of product information

results[]
struct

A single product information

uuid
string
Product identifier.
name
string
Product name.
description
string
Product description.
details
struct

Product benefit details.

data
struct

Describe data benefit of this product

mainQuota
string
Main quota data in byte.
nightQuota
string
Night quota data in byte. Night quota is a quota for internet usage that can be used starting from 01.00 until 06.00.
appsQuota
string
Daily apps quota data in byte. "Daily apps without quota" is a feature which allow user to use popular apps without using their main quota.
price
struct

Product price details.

amount
duble

The price of the product

currency
duble

Currency code in ISO 4217 format.

 

 

Response (Example)

HTTP Code Response
200
{
    "success": true,
    "totalResults": 4,
    "results": [
        {
            "uuid": "c8fcf0d9-83bf-4e8a-9ef9-78cc80d001dd",
            "name": "Internet 2GB",
            "description": "Monthly Internet 2GB. Total with bonus 16GB.",
            "details": {
                "data": {
                    "mainQuota": "2147483648",
                    "nightQuota": "10737418240",
                    "appsQuota": "4294967296"
                }
            },
            "price": {
                "amount": 60000,
                "currency": "IDR"
            }
        },
        {
            "uuid": "6a2a76f3-ebba-455f-a200-5f9815b30084",
            "name": "Internet 4GB",
            "description": "Monthly Internet 4GB. Total with bonus 25GB.",
            "details": {
                "data": {
                    "mainQuota": "4294967296",
                    "nightQuota": "16106127360",
                    "appsQuota": "6442450944"
                }
            },
            "price": {
                "amount": 80000,
                "currency": "IDR"
            }
        },
        {
            "uuid": "7be02052-0453-4f0f-a8e6-8432821bdfe1",
            "name": "Internet 5GB",
            "description": "Monthly Internet 5GB. Total with bonus 31GB.",
            "details": {
                "data": {
                    "mainQuota": "5368709120",
                    "nightQuota": "19327352832",
                    "appsQuota": "8589934592"
                }
            },
            "price": {
                "amount": 130000,
                "currency": "IDR"
            }
        },
        {
            "uuid": "968f6ee8-e252-4723-95a8-96c470dd666e",
            "name": "Internet 10GB",
            "description": "Monthly Internet 10GB. Total with bonus 40GB.",
            "details": {
                "data": {
                    "mainQuota": "10737418240",
                    "nightQuota": "21474836480",
                    "appsQuota": "10737418240"
                }
            },
            "price": {
                "amount": 160000,
                "currency": "IDR"
            }
        }
    ]
}
401
{
    "fault": {
        "faultstring": "Invalid Access Token",
        "detail": {
            "errorcode": "keymanagement.service.invalid_access_token"
        }
    }
}

Resource URL

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

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...