Admin
API for managing msisdn inventory CRUD operations
Parameters
Name
In
Type
Required
Description
msisdn
path
string
true
a msisdn of Grupo Mamovil
org
path
string
true
tenant name
body
body
InboundInventory
false
‘none’
1
2
3
{
"imsi" : "2140420422222227"
}
Name
Type
Required
Description
imsi
string
true
none
Request example
1
2
3
4
5
6
7
8
9
curl -X PUT https://orgs.masstack.com/v2/orgs/masmovil/msisdns/666777888 \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-H "Authorization: Bearer {access-token}" \
--data-raw "{
'imsi': '2140420422222227'
}"
400 - instance of ErrorDto
Custom schema example
1
2
3
4
5
6
7
{
"componentMsg" : "Error:Field validation for 'Imsi' failed on the 'required' tag" ,
"id" : "MM0000001" ,
"msg" : "Invalid inbound entity" ,
"sentryCode" : "string" ,
"status" : "$statusCode"
}
Name
Type
Required
Description
componentMsg
string
false
none
id
string
false
none
msg
string
false
none
sentryCode
string
false
none
status
integer(int64)
false
none
Parameters
Name
In
Type
Required
Description
msisdn
path
string
true
a msisdn of Grupo Mamovil
org
path
string
true
tenant name
body
body
InboundPartialInventory
false
‘none’
1
2
3
4
{
"belongs_to" : "mas-stack" ,
"status" : "OK"
}
Name
Type
Required
Description
belongs_to
string
false
none
status
string
false
none
Property
Values
belongs_to
one of [unknown, mas-stack, heos, ektnet, salesforce, qvantel, outside, plintron, qvantel-prepaid, tcnet, r]
status
one of [OK, Deleted, Migrating, Migrated]
Request example
1
2
3
4
5
6
7
8
9
10
curl -X PATCH https://orgs.masstack.com/v2/orgs/masmovil/msisdns/666777888 \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-H "Authorization: Bearer {access-token}" \
--data-raw "{
'belongs_to': 'mas-stack',
'status': 'OK'
}"
400 - instance of ErrorDto
Custom schema example
1
2
3
4
5
6
7
{
"componentMsg" : "Error:Field validation for 'Imsi' failed on the 'required' tag" ,
"id" : "MM0000001" ,
"msg" : "Invalid inbound entity" ,
"sentryCode" : "string" ,
"status" : "$statusCode"
}
Name
Type
Required
Description
componentMsg
string
false
none
id
string
false
none
msg
string
false
none
sentryCode
string
false
none
status
integer(int64)
false
none
Parameters
Name
In
Type
Required
Description
msisdn
path
string
true
a msisdn of Grupo Mamovil
org
path
string
true
tenant name
body
body
InboundInventory
false
‘none’
1
2
3
{
"imsi" : "2140420422222227"
}
Name
Type
Required
Description
imsi
string
true
none
Request example
1
2
3
4
5
6
7
8
9
curl -X POST https://orgs.masstack.com/v2/orgs/masmovil/msisdns/666777888 \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-H "Authorization: Bearer {access-token}" \
--data-raw "{
'imsi': '2140420422222227'
}"
400 - instance of ErrorDto
Custom schema example
1
2
3
4
5
6
7
{
"componentMsg" : "Error:Field validation for 'Imsi' failed on the 'required' tag" ,
"id" : "MM0000001" ,
"msg" : "Invalid inbound entity" ,
"sentryCode" : "string" ,
"status" : "$statusCode"
}
Name
Type
Required
Description
componentMsg
string
false
none
id
string
false
none
msg
string
false
none
sentryCode
string
false
none
status
integer(int64)
false
none
Parameters
Name
In
Type
Required
Description
msisdn
path
string
true
a msisdn of Grupo Mamovil
org
path
string
true
tenant name
Request example
1
2
3
4
5
curl -X DELETE https://orgs.masstack.com/v2/orgs/masmovil/msisdns/666777888 \
-H "Accept: application/json" \
-H "Authorization: Bearer {access-token}"
403 - instance of ErrorDto
Custom schema example
1
2
3
4
5
6
7
{
"componentMsg" : "Error:Field validation for 'Imsi' failed on the 'required' tag" ,
"id" : "MM0000001" ,
"msg" : "Invalid inbound entity" ,
"sentryCode" : "string" ,
"status" : "$statusCode"
}
Name
Type
Required
Description
componentMsg
string
false
none
id
string
false
none
msg
string
false
none
sentryCode
string
false
none
status
integer(int64)
false
none