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}"
|
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
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 |
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}"
|
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}"
|
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
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 |
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}"
|