Misc services

Access to different endpoints to get configuration definition


Parameters

Name In Type Required Description
org_id path string true organization name

Request example

1
2
3
4
5

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

Responses

Code Meaning Description Schema
200 OK OK [SubsTypeName_Response]
400 Bad Request Bad request string
401 Unauthorized Unauthorized string
404 Not Found Item not found KOGenericResponse

200 - instance of SubsTypeName_Response

Custom schema example

1
2
3
4
5
6
7
[
  {
    "name": "POST-PAGO",
    "description": "ADSL",
    "id": "5"
  }
]
Name Type Required Description
name string false subscription type name
description string false subscription type description
id string false subscription type id

400 - JsonObject

Custom schema example

1
"Bad Request"
Name Type Required Description
name string false subscription type name
description string false subscription type description
id string false subscription type id

401 - JsonObject

Custom schema example

1
"Origin authentication failed."
Name Type Required Description
name string false subscription type name
description string false subscription type description
id string false subscription type id

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

Parameters

Name In Type Required Description
org_id path string true organization name
id path string true subscription type identifier

Request example

1
2
3
4
5

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

Responses

Code Meaning Description Schema
200 OK OK SubsTypeName_Response
400 Bad Request Bad request string
401 Unauthorized Unauthorized string
404 Not Found Item not found KOGenericResponse

Parameters

Name In Type Required Description
org_id path string true organization name

Request example

1
2
3
4
5

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

Responses

Code Meaning Description Schema
200 OK OK [TerritoryOwnerAlone]
400 Bad Request Bad request string
401 Unauthorized Unauthorized string
404 Not Found Item not found KOGenericResponse

200 - instance of TerritoryOwnerAlone

Custom schema example

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

400 - JsonObject

Custom schema example

1
"Bad Request"
Name Type Required Description
id string false none
name 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
name 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

Parameters

Name In Type Required Description
org_id path string true organization name
id path string true territory owner identifier

Request example

1
2
3
4
5

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

Responses

Code Meaning Description Schema
200 OK OK TerritoryOwnerAlone
400 Bad Request Bad request string
401 Unauthorized Unauthorized string
404 Not Found Item not found KOGenericResponse

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