Rate Plans

Access to rate plans


Parameters

Name In Type Required Description
org_id path string true organization name
id path string true commercial product identifier

Request example

1
2
3
4
5

curl -X GET https://catalogue.masstack.com/v2/orgs/masmovil/commercial_products/2311/rate_plans \
  -H "Accept: application/json" \
  -H "Authorization: Bearer {access-token}"

Responses

Code Meaning Description Schema
200 OK RatePlan [RatePlan]
401 Unauthorized Unauthorized string
404 Not Found Item not found KOGenericResponse

200 - instance of RatePlan

Custom schema example

1
2
3
4
5
6
7
[
  {
    "id": "TARIFA_CERO_PREPAGO_TOT_VOZ",
    "in_catalogue_since": "2019-08-24T14:15:22Z",
    "in_catalogue_until": "2019-08-24T14:15:22Z"
  }
]
Name Type Required Description
id string false none
in_catalogue_since string(date-time) false none
in_catalogue_until string(date-time) false none

401 - JsonObject

Custom schema example

1
"Origin authentication failed."
Name Type Required Description
id string false none
in_catalogue_since string(date-time) false none
in_catalogue_until string(date-time) false none

404 - instance of KOGenericResponse

Custom schema example

1
2
3
4
5
{
  "error": "Item not found",
  "message": "Item not found",
  "code": "0200XX"
}
Name Type Required Description
error string false none
message string false none
code string false none

Endpoints

Commercial Products

    Bundled Products

      Bundled Commercial Products

        Free Units Packages

          Promotions

            Commercial Devices

              Rate Plans

                Base profiles and services

                  Value Added Services

                    Provisioning Profiles

                      Services

                        Commercial Infos

                          Transaction types

                            Devices

                              Commercial profiles

                                Misc services