Inventory

public API


Parameters

Name In Type Required Description
imsi path string true a imsi of msisdn of Grupo Mamovil

Request example

1
2
3
4
5

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

Responses

Code Meaning Description Schema
200 OK Info of msisdn MsisdnInventory
403 Forbidden Error response ErrorDto
404 Not Found Error response ErrorDto
500 Internal Server Error Error response ErrorDto

Parameters

Name In Type Required Description
operatorToken path string true Operator token from the Entitlement Server

Request example

1
2
3
4
5

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

Responses

Code Meaning Description Schema
200 OK Info of msisdn retrieved from operator token MsisdnInventory
400 Bad Request Invalid operator token format ErrorDto
401 Unauthorized Unauthorized ErrorDto
403 Forbidden Forbidden ErrorDto
404 Not Found Operator token not found or expired ErrorDto
500 Internal Server Error Internal server error ErrorDto
502 Bad Gateway Bad gateway - Entitlement Server error ErrorDto

Parameters

Name In Type Required Description
imsi query string false a imsi of msisdn of Grupo Mamovil
msisdn path string true a msisdn of Grupo Mamovil
embed query string false embed object, for example ‘tenant’

Request example

1
2
3
4
5

curl -X GET https://orgs.masstack.com/v2/msisdns/666777888?imsi='214040119172971'&embed='(tenant,imsis)' \
  -H "Accept: application/json" \
  -H "Authorization: Bearer {access-token}"

Responses

Code Meaning Description Schema
200 OK Info of msisdn MsisdnInventory
403 Forbidden Error response ErrorDto
404 Not Found Error response ErrorDto
500 Internal Server Error Error response ErrorDto

Endpoints

Admin

    Inventory