Portability

These services checks if a landline portability or an access transfer is allowed.


Parameters

Name In Type Required Description
orgId path string true ‘none’
body body portabilityCheck false ‘none’

Request body - instance of portabilityCheck

1
2
3
4
5
6
7
{
  "number": "911234567",
  "territoryOwner": "FIBNEB01",
  "technicalId": "12345678901234567",
  "addressId": "M0000000000000000000000000000007042185",
  "technology": "FTTH"
}
Name Type Required Description
number string true Fixed number to be ported
territoryOwner string true Territory owner. Not mandatory if technology is MIFIJO
technicalId string true TechnicalId (corresponding with “GESCAL” ). Not mandatory if technology is MIFIJO. g17 or g37
addressId string false Unique address ID
technology string true Technology to be provided
Property Values
technology one of [FTTH, ADSL, MIFIJO]

Request example

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12

curl -X POST https://feasibility.sta.masstack.com/v2/orgs/{orgId}/portability/portabilityCheck \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
 --data-raw "{
  'number': '911234567',
  'territoryOwner': 'FIBNEB01',
  'technicalId': '12345678901234567',
  'addressId': 'M0000000000000000000000000000007042185',
  'technology': 'FTTH'
}" 

Responses

Code Meaning Description Schema
200 OK Success _getPortabilityConditions
400 Bad Request Bad request bad_request_response
404 Not Found Not found not_found_response
default Default Error error_response

Parameters

Name In Type Required Description
orgId path string true ‘none’
body body accessCheck false ‘none’

Request body - instance of accessCheck

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
{
  "originNumber": "911234567",
  "territoryOwner": "FIBNEB01",
  "technicalId": "12345678901234567",
  "addressId": "M0000000000000000000000000000007042185",
  "documentId": {
    "type": "NIF",
    "value": "11111111A"
  }
}
Name Type Required Description
originNumber string false Fixed number to be ported
territoryOwner string true Territory owner.
technicalId string true TechnicalId (corresponding with “GESCAL” ). g17 or g37
addressId string false Unique address ID
documentId documentId true none

Request example

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15

curl -X POST https://feasibility.sta.masstack.com/v2/orgs/{orgId}/portability/accessCheck \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
 --data-raw "{
  'originNumber': '911234567',
  'territoryOwner': 'FIBNEB01',
  'technicalId': '12345678901234567',
  'addressId': 'M0000000000000000000000000000007042185',
  'documentId': {
    'type': 'NIF',
    'value': '11111111A'
  }
}" 

Responses

Code Meaning Description Schema
200 OK Success _getAccessCheck
400 Bad Request Bad request bad_request_response
404 Not Found Not found not_found_response
default Default Error error_response

Endpoints

Portability

    Subscription Limit