PATH PARAMETERS
a msisdn of Grupo Mamovil
tenant name
{
"imsi": "2140420422222227"
} | Property | Type | Description | Constraints | Default |
|---|---|---|---|---|
imsi* | string |
Created OK
Bad Request Error response
{
"componentMsg": "Error:Field validation for 'Imsi' failed on the 'required' tag",
"id": "MM0000001",
"msg": "Invalid inbound entity",
"sentryCode": "string",
"status": "$statusCode"
} | Property | Type | Description | Constraints | Default |
|---|---|---|---|---|
componentMsg | string | |||
id | string | |||
msg | string | |||
sentryCode | string | |||
status | integer (int64) |
Unauthorized Error response
{
"componentMsg": "Error:Field validation for 'Imsi' failed on the 'required' tag",
"id": "MM0000001",
"msg": "Invalid inbound entity",
"sentryCode": "string",
"status": "$statusCode"
} | Property | Type | Description | Constraints | Default |
|---|---|---|---|---|
componentMsg | string | |||
id | string | |||
msg | string | |||
sentryCode | string | |||
status | integer (int64) |
Forbidden Error response
{
"componentMsg": "Error:Field validation for 'Imsi' failed on the 'required' tag",
"id": "MM0000001",
"msg": "Invalid inbound entity",
"sentryCode": "string",
"status": "$statusCode"
} | Property | Type | Description | Constraints | Default |
|---|---|---|---|---|
componentMsg | string | |||
id | string | |||
msg | string | |||
sentryCode | string | |||
status | integer (int64) |
Not Found Error response
{
"componentMsg": "Error:Field validation for 'Imsi' failed on the 'required' tag",
"id": "MM0000001",
"msg": "Invalid inbound entity",
"sentryCode": "string",
"status": "$statusCode"
} | Property | Type | Description | Constraints | Default |
|---|---|---|---|---|
componentMsg | string | |||
id | string | |||
msg | string | |||
sentryCode | string | |||
status | integer (int64) |
Conflict Error response
{
"componentMsg": "Error:Field validation for 'Imsi' failed on the 'required' tag",
"id": "MM0000001",
"msg": "Invalid inbound entity",
"sentryCode": "string",
"status": "$statusCode"
} | Property | Type | Description | Constraints | Default |
|---|---|---|---|---|
componentMsg | string | |||
id | string | |||
msg | string | |||
sentryCode | string | |||
status | integer (int64) |
Internal Server Error Error response
{
"componentMsg": "Error:Field validation for 'Imsi' failed on the 'required' tag",
"id": "MM0000001",
"msg": "Invalid inbound entity",
"sentryCode": "string",
"status": "$statusCode"
} | Property | Type | Description | Constraints | Default |
|---|---|---|---|---|
componentMsg | string | |||
id | string | |||
msg | string | |||
sentryCode | string | |||
status | integer (int64) |
curl -X POST 'https://orgs.masstack.com/v2/orgs/masmovil/msisdns/666777888' \
-H 'Authorization: Bearer {access-token}' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"imsi": "2140420422222227"
}' Msisdn should exist.
PATH PARAMETERS
a msisdn of Grupo Mamovil
tenant name
{
"imsi": "2140420422222227"
} | Property | Type | Description | Constraints | Default |
|---|---|---|---|---|
imsi* | string |
No Content OK
Bad Request Error response
{
"componentMsg": "Error:Field validation for 'Imsi' failed on the 'required' tag",
"id": "MM0000001",
"msg": "Invalid inbound entity",
"sentryCode": "string",
"status": "$statusCode"
} | Property | Type | Description | Constraints | Default |
|---|---|---|---|---|
componentMsg | string | |||
id | string | |||
msg | string | |||
sentryCode | string | |||
status | integer (int64) |
Unauthorized Error response
{
"componentMsg": "Error:Field validation for 'Imsi' failed on the 'required' tag",
"id": "MM0000001",
"msg": "Invalid inbound entity",
"sentryCode": "string",
"status": "$statusCode"
} | Property | Type | Description | Constraints | Default |
|---|---|---|---|---|
componentMsg | string | |||
id | string | |||
msg | string | |||
sentryCode | string | |||
status | integer (int64) |
Forbidden Error response
{
"componentMsg": "Error:Field validation for 'Imsi' failed on the 'required' tag",
"id": "MM0000001",
"msg": "Invalid inbound entity",
"sentryCode": "string",
"status": "$statusCode"
} | Property | Type | Description | Constraints | Default |
|---|---|---|---|---|
componentMsg | string | |||
id | string | |||
msg | string | |||
sentryCode | string | |||
status | integer (int64) |
Not Found Error response
{
"componentMsg": "Error:Field validation for 'Imsi' failed on the 'required' tag",
"id": "MM0000001",
"msg": "Invalid inbound entity",
"sentryCode": "string",
"status": "$statusCode"
} | Property | Type | Description | Constraints | Default |
|---|---|---|---|---|
componentMsg | string | |||
id | string | |||
msg | string | |||
sentryCode | string | |||
status | integer (int64) |
Conflict Error response
{
"componentMsg": "Error:Field validation for 'Imsi' failed on the 'required' tag",
"id": "MM0000001",
"msg": "Invalid inbound entity",
"sentryCode": "string",
"status": "$statusCode"
} | Property | Type | Description | Constraints | Default |
|---|---|---|---|---|
componentMsg | string | |||
id | string | |||
msg | string | |||
sentryCode | string | |||
status | integer (int64) |
Internal Server Error Error response
{
"componentMsg": "Error:Field validation for 'Imsi' failed on the 'required' tag",
"id": "MM0000001",
"msg": "Invalid inbound entity",
"sentryCode": "string",
"status": "$statusCode"
} | Property | Type | Description | Constraints | Default |
|---|---|---|---|---|
componentMsg | string | |||
id | string | |||
msg | string | |||
sentryCode | string | |||
status | integer (int64) |
curl -X PUT 'https://orgs.masstack.com/v2/orgs/masmovil/msisdns/666777888' \
-H 'Authorization: Bearer {access-token}' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"imsi": "2140420422222227"
}' Msisdn should exist.
PATH PARAMETERS
a msisdn of Grupo Mamovil
tenant name
{
"belongs_to": "mas-stack",
"status": "OK"
} | Property | Type | Description | Constraints | Default |
|---|---|---|---|---|
belongs_to | string
()
unknownmas-stackheosektnetsalesforceqvanteloutsideqvantel-prepaidtcnetrxenaosp-stacksimyo-stack | |||
status | string
()
OKDeletedMigratingMigrated |
No Content OK
Bad Request Error response
{
"componentMsg": "Error:Field validation for 'Imsi' failed on the 'required' tag",
"id": "MM0000001",
"msg": "Invalid inbound entity",
"sentryCode": "string",
"status": "$statusCode"
} | Property | Type | Description | Constraints | Default |
|---|---|---|---|---|
componentMsg | string | |||
id | string | |||
msg | string | |||
sentryCode | string | |||
status | integer (int64) |
Unauthorized Error response
{
"componentMsg": "Error:Field validation for 'Imsi' failed on the 'required' tag",
"id": "MM0000001",
"msg": "Invalid inbound entity",
"sentryCode": "string",
"status": "$statusCode"
} | Property | Type | Description | Constraints | Default |
|---|---|---|---|---|
componentMsg | string | |||
id | string | |||
msg | string | |||
sentryCode | string | |||
status | integer (int64) |
Forbidden Error response
{
"componentMsg": "Error:Field validation for 'Imsi' failed on the 'required' tag",
"id": "MM0000001",
"msg": "Invalid inbound entity",
"sentryCode": "string",
"status": "$statusCode"
} | Property | Type | Description | Constraints | Default |
|---|---|---|---|---|
componentMsg | string | |||
id | string | |||
msg | string | |||
sentryCode | string | |||
status | integer (int64) |
Not Found Error response
{
"componentMsg": "Error:Field validation for 'Imsi' failed on the 'required' tag",
"id": "MM0000001",
"msg": "Invalid inbound entity",
"sentryCode": "string",
"status": "$statusCode"
} | Property | Type | Description | Constraints | Default |
|---|---|---|---|---|
componentMsg | string | |||
id | string | |||
msg | string | |||
sentryCode | string | |||
status | integer (int64) |
Conflict Error response
{
"componentMsg": "Error:Field validation for 'Imsi' failed on the 'required' tag",
"id": "MM0000001",
"msg": "Invalid inbound entity",
"sentryCode": "string",
"status": "$statusCode"
} | Property | Type | Description | Constraints | Default |
|---|---|---|---|---|
componentMsg | string | |||
id | string | |||
msg | string | |||
sentryCode | string | |||
status | integer (int64) |
Internal Server Error Error response
{
"componentMsg": "Error:Field validation for 'Imsi' failed on the 'required' tag",
"id": "MM0000001",
"msg": "Invalid inbound entity",
"sentryCode": "string",
"status": "$statusCode"
} | Property | Type | Description | Constraints | Default |
|---|---|---|---|---|
componentMsg | string | |||
id | string | |||
msg | string | |||
sentryCode | string | |||
status | integer (int64) |
curl -X PATCH 'https://orgs.masstack.com/v2/orgs/masmovil/msisdns/666777888' \
-H 'Authorization: Bearer {access-token}' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"belongs_to": "mas-stack",
"status": "OK"
}' Delete msisdn
PATH PARAMETERS
a msisdn of Grupo Mamovil
tenant name
No Content OK
Forbidden Error response
{
"componentMsg": "Error:Field validation for 'Imsi' failed on the 'required' tag",
"id": "MM0000001",
"msg": "Invalid inbound entity",
"sentryCode": "string",
"status": "$statusCode"
} | Property | Type | Description | Constraints | Default |
|---|---|---|---|---|
componentMsg | string | |||
id | string | |||
msg | string | |||
sentryCode | string | |||
status | integer (int64) |
Not Found Error response
{
"componentMsg": "Error:Field validation for 'Imsi' failed on the 'required' tag",
"id": "MM0000001",
"msg": "Invalid inbound entity",
"sentryCode": "string",
"status": "$statusCode"
} | Property | Type | Description | Constraints | Default |
|---|---|---|---|---|
componentMsg | string | |||
id | string | |||
msg | string | |||
sentryCode | string | |||
status | integer (int64) |
Internal Server Error Error response
{
"componentMsg": "Error:Field validation for 'Imsi' failed on the 'required' tag",
"id": "MM0000001",
"msg": "Invalid inbound entity",
"sentryCode": "string",
"status": "$statusCode"
} | Property | Type | Description | Constraints | Default |
|---|---|---|---|---|
componentMsg | string | |||
id | string | |||
msg | string | |||
sentryCode | string | |||
status | integer (int64) |
curl -X DELETE 'https://orgs.masstack.com/v2/orgs/masmovil/msisdns/666777888' \
-H 'Authorization: Bearer {access-token}' \
-H 'Accept: application/json' Get info for this imsi
PATH PARAMETERS
a imsi of msisdn of Grupo Mamovil
OK Info of msisdn
{
"belongs_to": "mas-stack",
"checked_at": "2025-01-15T10:30:00Z",
"imsi": {
"created_at": "2025-01-15T10:30:00Z",
"imsi": "2140420422222227",
"segment": "B2B"
},
"imsis": [
{
"created_at": "2025-01-15T10:30:00Z",
"imsi": "2140420422222227",
"segment": "B2B"
}
],
"msisdn": "666777888",
"org": "masmovil",
"status": "OK",
"tenant": {
"bit": 2,
"iam": "authz.masmovil",
"name": "masmovil",
"org": "masmovil",
"tenant_id": 2,
"tier": 1
},
"internal_portability": {
"belongs_to": "mas-stack",
"org": "yoigo"
}
} | Property | Type | Description | Constraints | Default | |||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
belongs_to | string
()
unknownmas-stackheosektnetsalesforceqvanteloutsideqvantel-prepaidtcnetrxenaosp-stacksimyo-stack | ||||||||||||||||||||||||||||||||||||||
checked_at | string (date-time) | ||||||||||||||||||||||||||||||||||||||
imsi | object | ||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||
imsis | object[] | ||||||||||||||||||||||||||||||||||||||
Array items:
| |||||||||||||||||||||||||||||||||||||||
msisdn | string | ||||||||||||||||||||||||||||||||||||||
org | string | ||||||||||||||||||||||||||||||||||||||
status | string
()
OKDeletedMigratingMigrated | ||||||||||||||||||||||||||||||||||||||
tenant | object | ||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||
internal_portability | object | ||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||
Forbidden Error response
{
"componentMsg": "Error:Field validation for 'Imsi' failed on the 'required' tag",
"id": "MM0000001",
"msg": "Invalid inbound entity",
"sentryCode": "string",
"status": "$statusCode"
} | Property | Type | Description | Constraints | Default |
|---|---|---|---|---|
componentMsg | string | |||
id | string | |||
msg | string | |||
sentryCode | string | |||
status | integer (int64) |
Not Found Error response
{
"componentMsg": "Error:Field validation for 'Imsi' failed on the 'required' tag",
"id": "MM0000001",
"msg": "Invalid inbound entity",
"sentryCode": "string",
"status": "$statusCode"
} | Property | Type | Description | Constraints | Default |
|---|---|---|---|---|
componentMsg | string | |||
id | string | |||
msg | string | |||
sentryCode | string | |||
status | integer (int64) |
Internal Server Error Error response
{
"componentMsg": "Error:Field validation for 'Imsi' failed on the 'required' tag",
"id": "MM0000001",
"msg": "Invalid inbound entity",
"sentryCode": "string",
"status": "$statusCode"
} | Property | Type | Description | Constraints | Default |
|---|---|---|---|---|
componentMsg | string | |||
id | string | |||
msg | string | |||
sentryCode | string | |||
status | integer (int64) |
curl -X GET 'https://orgs.masstack.com/v2/imsis/214040119172971' \
-H 'Authorization: Bearer {access-token}' \
-H 'Accept: application/json' Retrieves MSISDN and IMSI information from the Entitlement Server (ES)
PATH PARAMETERS
Operator token from the Entitlement Server
OK Info of msisdn retrieved from operator token
{
"belongs_to": "mas-stack",
"checked_at": "2025-01-15T10:30:00Z",
"imsi": {
"created_at": "2025-01-15T10:30:00Z",
"imsi": "2140420422222227",
"segment": "B2B"
},
"imsis": [
{
"created_at": "2025-01-15T10:30:00Z",
"imsi": "2140420422222227",
"segment": "B2B"
}
],
"msisdn": "666777888",
"org": "masmovil",
"status": "OK",
"tenant": {
"bit": 2,
"iam": "authz.masmovil",
"name": "masmovil",
"org": "masmovil",
"tenant_id": 2,
"tier": 1
},
"internal_portability": {
"belongs_to": "mas-stack",
"org": "yoigo"
}
} | Property | Type | Description | Constraints | Default | |||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
belongs_to | string
()
unknownmas-stackheosektnetsalesforceqvanteloutsideqvantel-prepaidtcnetrxenaosp-stacksimyo-stack | ||||||||||||||||||||||||||||||||||||||
checked_at | string (date-time) | ||||||||||||||||||||||||||||||||||||||
imsi | object | ||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||
imsis | object[] | ||||||||||||||||||||||||||||||||||||||
Array items:
| |||||||||||||||||||||||||||||||||||||||
msisdn | string | ||||||||||||||||||||||||||||||||||||||
org | string | ||||||||||||||||||||||||||||||||||||||
status | string
()
OKDeletedMigratingMigrated | ||||||||||||||||||||||||||||||||||||||
tenant | object | ||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||
internal_portability | object | ||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||
Bad Request Invalid operator token format
{
"componentMsg": "Error:Field validation for 'Imsi' failed on the 'required' tag",
"id": "MM0000001",
"msg": "Invalid inbound entity",
"sentryCode": "string",
"status": "$statusCode"
} | Property | Type | Description | Constraints | Default |
|---|---|---|---|---|
componentMsg | string | |||
id | string | |||
msg | string | |||
sentryCode | string | |||
status | integer (int64) |
Unauthorized Unauthorized
{
"componentMsg": "Error:Field validation for 'Imsi' failed on the 'required' tag",
"id": "MM0000001",
"msg": "Invalid inbound entity",
"sentryCode": "string",
"status": "$statusCode"
} | Property | Type | Description | Constraints | Default |
|---|---|---|---|---|
componentMsg | string | |||
id | string | |||
msg | string | |||
sentryCode | string | |||
status | integer (int64) |
Forbidden Forbidden
{
"componentMsg": "Error:Field validation for 'Imsi' failed on the 'required' tag",
"id": "MM0000001",
"msg": "Invalid inbound entity",
"sentryCode": "string",
"status": "$statusCode"
} | Property | Type | Description | Constraints | Default |
|---|---|---|---|---|
componentMsg | string | |||
id | string | |||
msg | string | |||
sentryCode | string | |||
status | integer (int64) |
Not Found Operator token not found or expired
{
"componentMsg": "Error:Field validation for 'Imsi' failed on the 'required' tag",
"id": "MM0000001",
"msg": "Invalid inbound entity",
"sentryCode": "string",
"status": "$statusCode"
} | Property | Type | Description | Constraints | Default |
|---|---|---|---|---|
componentMsg | string | |||
id | string | |||
msg | string | |||
sentryCode | string | |||
status | integer (int64) |
Internal Server Error Internal server error
{
"componentMsg": "Error:Field validation for 'Imsi' failed on the 'required' tag",
"id": "MM0000001",
"msg": "Invalid inbound entity",
"sentryCode": "string",
"status": "$statusCode"
} | Property | Type | Description | Constraints | Default |
|---|---|---|---|---|
componentMsg | string | |||
id | string | |||
msg | string | |||
sentryCode | string | |||
status | integer (int64) |
Bad Gateway Bad gateway - Entitlement Server error
{
"componentMsg": "Error:Field validation for 'Imsi' failed on the 'required' tag",
"id": "MM0000001",
"msg": "Invalid inbound entity",
"sentryCode": "string",
"status": "$statusCode"
} | Property | Type | Description | Constraints | Default |
|---|---|---|---|---|
componentMsg | string | |||
id | string | |||
msg | string | |||
sentryCode | string | |||
status | integer (int64) |
curl -X GET 'https://orgs.masstack.com/v2/operatorToken/abc123xyz456' \
-H 'Authorization: Bearer {access-token}' \
-H 'Accept: application/json' Get info for this msisdn
PATH PARAMETERS
a msisdn of Grupo Mamovil
QUERY PARAMETERS
a imsi of msisdn of Grupo Mamovil
embed object, for example 'tenant'
HEADER PARAMETERS
When set to "yes", the msisdn field in the response will include the country code prefix (e.g. "+34666777888" instead of "666777888"). If omitted or set to any other value, the prefix is stripped from the response.
OK Info of msisdn
{
"belongs_to": "mas-stack",
"checked_at": "2025-01-15T10:30:00Z",
"imsi": {
"created_at": "2025-01-15T10:30:00Z",
"imsi": "2140420422222227",
"segment": "B2B"
},
"imsis": [
{
"created_at": "2025-01-15T10:30:00Z",
"imsi": "2140420422222227",
"segment": "B2B"
}
],
"msisdn": "666777888",
"org": "masmovil",
"status": "OK",
"tenant": {
"bit": 2,
"iam": "authz.masmovil",
"name": "masmovil",
"org": "masmovil",
"tenant_id": 2,
"tier": 1
},
"internal_portability": {
"belongs_to": "mas-stack",
"org": "yoigo"
}
} | Property | Type | Description | Constraints | Default | |||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
belongs_to | string
()
unknownmas-stackheosektnetsalesforceqvanteloutsideqvantel-prepaidtcnetrxenaosp-stacksimyo-stack | ||||||||||||||||||||||||||||||||||||||
checked_at | string (date-time) | ||||||||||||||||||||||||||||||||||||||
imsi | object | ||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||
imsis | object[] | ||||||||||||||||||||||||||||||||||||||
Array items:
| |||||||||||||||||||||||||||||||||||||||
msisdn | string | ||||||||||||||||||||||||||||||||||||||
org | string | ||||||||||||||||||||||||||||||||||||||
status | string
()
OKDeletedMigratingMigrated | ||||||||||||||||||||||||||||||||||||||
tenant | object | ||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||
internal_portability | object | ||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||
Forbidden Error response
{
"componentMsg": "Error:Field validation for 'Imsi' failed on the 'required' tag",
"id": "MM0000001",
"msg": "Invalid inbound entity",
"sentryCode": "string",
"status": "$statusCode"
} | Property | Type | Description | Constraints | Default |
|---|---|---|---|---|
componentMsg | string | |||
id | string | |||
msg | string | |||
sentryCode | string | |||
status | integer (int64) |
Not Found Error response
{
"componentMsg": "Error:Field validation for 'Imsi' failed on the 'required' tag",
"id": "MM0000001",
"msg": "Invalid inbound entity",
"sentryCode": "string",
"status": "$statusCode"
} | Property | Type | Description | Constraints | Default |
|---|---|---|---|---|
componentMsg | string | |||
id | string | |||
msg | string | |||
sentryCode | string | |||
status | integer (int64) |
Internal Server Error Error response
{
"componentMsg": "Error:Field validation for 'Imsi' failed on the 'required' tag",
"id": "MM0000001",
"msg": "Invalid inbound entity",
"sentryCode": "string",
"status": "$statusCode"
} | Property | Type | Description | Constraints | Default |
|---|---|---|---|---|
componentMsg | string | |||
id | string | |||
msg | string | |||
sentryCode | string | |||
status | integer (int64) |
curl -X GET 'https://orgs.masstack.com/v2/msisdns/666777888?imsi=214040119172971&embed=(tenant%2C%20imsis)' \
-H 'Authorization: Bearer {access-token}' \
-H 'feature-flag.preserve-the-prefix: yes' \
-H 'Accept: application/json'