Acquisitions

Access to acquisitions data


Request example

1
2
3
4

curl -X GET https://mas-portability.sta.masstack.com/v2/acquisitionStatus \
  -H "Accept: application/json"

Responses

Code Meaning Description Schema
200 OK successful operation acquisitionStatus
404 Not Found Operators not found None

200 - instance of acquisitionStatus

Custom schema example

1
2
3
4
5
{
  "id": "1",
  "description": "Portado",
  "cancellable": false
}
Name Type Required Description
id string false status id
description string false status description
cancellable boolean false is cancellable the current status

Request example

1
2
3
4

curl -X GET https://mas-portability.sta.masstack.com/v2/acquisitionDate \
  -H "Accept: application/json"

Responses

Code Meaning Description Schema
200 OK successful operation acquisitionDate
404 Not Found Operators not found None

200 - instance of acquisitionDate

Custom schema example

1
2
3
4
5
{
  "operator": "2017-09-15T08:00:00",
  "cmt_numeration": "2017-09-15T08:00:00",
  "acquisition": "2017-09-15T08:00:00"
}
Name Type Required Description
operator string false operators last modified date
cmt_numeration string false cmt_numeration last modified date
acquisition string false acquisition last modified date

Request example

1
2
3
4

curl -X GET https://mas-portability.sta.masstack.com/v2/operators \
  -H "Accept: application/json"

Responses

Code Meaning Description Schema
200 OK successful operation operator
404 Not Found Operators not found None

200 - instance of operator

Custom schema example

1
2
3
4
5
6
{
  "id": "00031",
  "name": "Xtra Telecom S.A.",
  "license": "01",
  "community": "15"
}
Name Type Required Description
id string true operator code
name string true operator name
license string¦null false license type
community string false community type

Parameters

Name In Type Required Description
operatorId path string true The operator id

Request example

1
2
3
4

curl -X GET https://mas-portability.sta.masstack.com/v2/operator/{operatorId} \
  -H "Accept: application/json"

Responses

Code Meaning Description Schema
200 OK successful operation operator
404 Not Found Operator not found None
405 Method Not Allowed Validation exception None

200 - instance of operator

Custom schema example

1
2
3
4
5
6
{
  "id": "00031",
  "name": "Xtra Telecom S.A.",
  "license": "01",
  "community": "15"
}
Name Type Required Description
id string true operator code
name string true operator name
license string¦null false license type
community string false community type

Parameters

Name In Type Required Description
phonenumber path string true The phonenumber

Request example

1
2
3
4

curl -X GET https://mas-portability.sta.masstack.com/v2/ownerOperator/{phonenumber} \
  -H "Accept: application/json"

Responses

Code Meaning Description Schema
200 OK successful operation ownerOperator
404 Not Found Phonenumber not found None
405 Method Not Allowed Validation exception None

200 - instance of ownerOperator

Custom schema example

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
{
  "phonenumber": "911111111",
  "donorOperator": "00001",
  "donorOperatorName": "Movistar",
  "recipientOperator": "00031",
  "recipientOperatorName": "Xtra",
  "initialDonorOperator": "00002",
  "initialDonorOperatorName": "Vodafone",
  "initialDonorOperator2": "00002",
  "initialDonorOperator2Name": "Vodafone",
  "initialDonorOperator3": "00002",
  "initialDonorOperator3Name": "Vodafone",
  "nrn": "312800",
  "windowDate": "2017-09-15T08:00:00",
  "status": "1",
  "statusName": "Portado",
  "recipientResellerOperator": "XFERA",
  "donorResellerOperator": "CABLEMOBIL"
}
Name Type Required Description
phonenumber string false phonenumber
donorOperator string false donor operator code
donorOperatorName string false donor operator name
recipientOperator string false recipient operator code
recipientOperatorName string false recipient operator name
initialDonorOperator string false initial donor operator code
initialDonorOperatorName string false initial donor operator name
initialDonorOperator2 string false initial donor operator 2 code
initialDonorOperator2Name string false initial donor operator 2 name
initialDonorOperator3 string false initial donor operator 3 code
initialDonorOperator3Name string false initial donor operator 3 name
nrn string false network routing number
windowDate string false portability date
status string false status code
statusName string false status name
recipientResellerOperator string false recipient reseller operator name
donorResellerOperator string false donor reseller operator name

Endpoints

Portabilities

    Migrations

      Acquisitions

        Operations

          Producers

            Impersonate