Portability API

Get info about portabilities


Parameters

NameDescription

orgs*required

string

(path)

Tenant

filter

string

(query)

Add filter to get portabilites

Request example

content_copy
1
2
3
4

curl -X GET https://mas-portability.sta.masstack.com/v1/orgs/{orgs}/portabilities?filter='string' \
  -H "Accept: application/json"

Responses

Code Description Schema
200 successful operation [Portability]
401 Unauthorized None
500 Internal Server Error None

200 - instance of Portability

Custom schema example

content_copy
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
[
  {
    "access_type": "string",
    "cause_status": "string",
    "contract_code": "string",
    "create_date_nc": "string",
    "donor_operator": "string",
    "external_reference": "string",
    "icc_id": "string",
    "id": "string",
    "message_type": "string",
    "msisdn": "string",
    "nrn_receptor": "string",
    "process_id": "string",
    "recipient_operator": "string",
    "recipient_rol": true,
    "state": "string",
    "tenant": "string",
    "window_date": "string"
  }
]
Name Type Required Description
access_type string false none
cause_status string false none
contract_code string false none
create_date_nc string false none
donor_operator string false none
external_reference string false none
icc_id string false none
id string false none
message_type string false none
msisdn string false none
nrn_receptor string false none
process_id string false none
recipient_operator string false none
recipient_rol boolean false none
state string false none
tenant string false none
window_date string false none

Parameters

NameDescription

orgs*required

string

(path)

Tenant

processId*required

string

(path)

ProcessId

filter

string

(query)

Add filter to get portabilites

Request example

content_copy
1
2
3
4

curl -X GET https://mas-portability.sta.masstack.com/v1/orgs/{orgs}/portabilities/processId/{processId}?filter='string' \
  -H "Accept: application/json"

Responses

Code Description Schema
200 successful operation [Portability]
401 Unauthorized None
500 Internal Server Error None

200 - instance of Portability

Custom schema example

content_copy
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
[
  {
    "access_type": "string",
    "cause_status": "string",
    "contract_code": "string",
    "create_date_nc": "string",
    "donor_operator": "string",
    "external_reference": "string",
    "icc_id": "string",
    "id": "string",
    "message_type": "string",
    "msisdn": "string",
    "nrn_receptor": "string",
    "process_id": "string",
    "recipient_operator": "string",
    "recipient_rol": true,
    "state": "string",
    "tenant": "string",
    "window_date": "string"
  }
]
Name Type Required Description
access_type string false none
cause_status string false none
contract_code string false none
create_date_nc string false none
donor_operator string false none
external_reference string false none
icc_id string false none
id string false none
message_type string false none
msisdn string false none
nrn_receptor string false none
process_id string false none
recipient_operator string false none
recipient_rol boolean false none
state string false none
tenant string false none
window_date string false none

Parameters

NameDescription

orgs*required

string

(path)

Tenant

msisdn*required

string

(path)

Msisdn

filter

string

(query)

Add filter to get portabilites

Request example

content_copy
1
2
3
4

curl -X GET https://mas-portability.sta.masstack.com/v1/orgs/{orgs}/portabilities/msisdn/{msisdn}?filter='string' \
  -H "Accept: application/json"

Responses

Code Description Schema
200 successful operation [Portability]
401 Unauthorized None
500 Internal Server Error None

200 - instance of Portability

Custom schema example

content_copy
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
[
  {
    "access_type": "string",
    "cause_status": "string",
    "contract_code": "string",
    "create_date_nc": "string",
    "donor_operator": "string",
    "external_reference": "string",
    "icc_id": "string",
    "id": "string",
    "message_type": "string",
    "msisdn": "string",
    "nrn_receptor": "string",
    "process_id": "string",
    "recipient_operator": "string",
    "recipient_rol": true,
    "state": "string",
    "tenant": "string",
    "window_date": "string"
  }
]
Name Type Required Description
access_type string false none
cause_status string false none
contract_code string false none
create_date_nc string false none
donor_operator string false none
external_reference string false none
icc_id string false none
id string false none
message_type string false none
msisdn string false none
nrn_receptor string false none
process_id string false none
recipient_operator string false none
recipient_rol boolean false none
state string false none
tenant string false none
window_date string false none

Parameters

NameDescription

orgs*required

string

(path)

Tenant

msisdn*required

string

(path)

Msisdn

filter

string

(query)

Add filter to get portabilites

Request example

content_copy
1
2
3
4

curl -X GET https://mas-portability.sta.masstack.com/v1/orgs/{orgs}/portabilities/msisdn/{msisdn}/last?filter='string' \
  -H "Accept: application/json"

Responses

Code Description Schema
200 successful operation [Portability]
401 Unauthorized None
500 Internal Server Error None

200 - instance of Portability

Custom schema example

content_copy
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
[
  {
    "access_type": "string",
    "cause_status": "string",
    "contract_code": "string",
    "create_date_nc": "string",
    "donor_operator": "string",
    "external_reference": "string",
    "icc_id": "string",
    "id": "string",
    "message_type": "string",
    "msisdn": "string",
    "nrn_receptor": "string",
    "process_id": "string",
    "recipient_operator": "string",
    "recipient_rol": true,
    "state": "string",
    "tenant": "string",
    "window_date": "string"
  }
]
Name Type Required Description
access_type string false none
cause_status string false none
contract_code string false none
create_date_nc string false none
donor_operator string false none
external_reference string false none
icc_id string false none
id string false none
message_type string false none
msisdn string false none
nrn_receptor string false none
process_id string false none
recipient_operator string false none
recipient_rol boolean false none
state string false none
tenant string false none
window_date string false none

Parameters

NameDescription

orgs*required

string

(path)

Tenant

id*required

string

(path)

id

Request example

content_copy
1
2
3
4

curl -X GET https://mas-portability.sta.masstack.com/v1/orgs/{orgs}/portabilities/id/{id} \
  -H "Accept: application/json"

Responses

Code Description Schema
200 successful operation PortabilityDetail
401 Unauthorized None
500 Internal Server Error None

Parameters

NameDescription

orgs*required

string

(path)

Tenant

Request example

content_copy
1
2
3
4

curl -X GET https://mas-portability.sta.masstack.com/v1/orgs/{orgs}/portabilities/pendingDonor \
  -H "Accept: application/json"

Responses

Code Description Schema
200 successful operation Portability
401 Unauthorized None
500 Internal Server Error None

Parameters

NameDescription

orgs*required

string

(path)

Tenant

operator

string

(query)

Operator

operatorCode

string

(query)

Operator code

status

string

(query)

Operator status

Request example

content_copy
1
2
3
4

curl -X GET https://mas-portability.sta.masstack.com/v1/orgs/{orgs}/operator?operator='string'&operatorCode='string'&status='string' \
  -H "Accept: application/json"

Responses

Code Description Schema
200 successful operation [OperatorConfigs]
404 Not Found None
500 Internal Server Error None

200 - instance of OperatorConfigs

Custom schema example

content_copy
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
[
  [
    {
      "id": 4,
      "operator": "YOIGO",
      "operator_code": "005",
      "nrn_range": [
        {
          "id": 0,
          "initial_nrn": 900053,
          "final_nrn": 900056
        }
      ],
      "network_operator": "003",
      "msisdn_range": [
        {
          "id": 0,
          "initial_msisdn": 600000000,
          "final_msisdn": 600000001
        }
      ],
      "individual_quota": "A",
      "multiple_quota": 50,
      "change_quota": 1000,
      "status": "ACTIVO",
      "status_date": "2024-01-30T10:00:00Z",
      "backup": false
    }
  ]
]
Name Type Required Description
anonymous [OperatorConfig] false none

Endpoints

Mobile portabilities

Mobile operations