Pole Info

This service provides info and management of pole ctos


Parameters

Name In Type Required Description
technicalId path string true ‘none’
scope query string true * building - Locations (1) and operators in the building
* street - Locations and operators in the street (S/N included)
* street odd - Locations and operators in the street, only odd numbers (S/N not included)
* street even - Locations and operators in the street, only even numbers (S/N not included)
* town - Locations and operators in the town

Enumerated Values

Property Values
scope one of [building, street, street odd, street even, town]

Request example

1
2
3
4

curl -X GET https://feasibility.sta.masstack.com/v1/poleinfo/location/{technicalId}/installations/volumes?scope='building'?scope=building \
  -H "Accept: application/json"

Responses

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

Parameters

Name In Type Required Description
technicalId path string true ‘none’
body body _installationsUpdate false Scope, operator/s and installationType to be updated and source information

Request body - instance of _installationsUpdate

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
{
  "operators": [
    "MasMovil"
  ],
  "installationType": "POSTE",
  "scope": "street",
  "source": {
    "user": "1231FSM",
    "type": "INSPECTOR"
  }
}
Name Type Required Description
operators array true none
installationType string true none
scope string true none
source _source true none
Property Values
installationType one of [POSTE, POSTE H, NO POSTE]
scope one of [building, street, street odd, street even]

Request example

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

curl -X POST https://feasibility.sta.masstack.com/v1/poleinfo/location/{technicalId}/installations \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
 --data-raw "{
  'operators': [
    'MasMovil'
  ],
  'installationType': 'POSTE',
  'scope': 'street',
  'source': {
    'user': '1231FSM',
    'type': 'INSPECTOR'
  }
}" 

Responses

Code Meaning Description Schema
200 OK Accepted poleinfo_accepted
400 Bad Request Bad request bad_request_response
default Default Error error_response

Parameters

Name In Type Required Description
technicalId path string true ‘none’
operator query string false operator of the requested installations (if empty all will be returned)
scope query string true ‘none’

Enumerated Values

Property Values
scope one of [street, street odd, street even]

Request example

1
2
3
4

curl -X GET https://feasibility.sta.masstack.com/v1/poleinfo/location/{technicalId}/installations/list?operator='string'&scope='street'?scope=street \
  -H "Accept: application/json"

Responses

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

Parameters

Name In Type Required Description
body body _listUpdate false List of installations to be updated

Request body - instance of _listUpdate

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
{
  "installationType": "POSTE, NO POSTE, POSTE H",
  "operators": [
    "MasMovil"
  ],
  "technicalIds": [
    "01000500474700067"
  ],
  "source": {
    "user": "1231FSM",
    "type": "INSPECTOR"
  }
}
Name Type Required Description
installationType string false none
operators [string] false none
technicalIds [string] false none
source _source false none

Request example

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

curl -X POST https://feasibility.sta.masstack.com/v1/poleinfo/installations/list \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
 --data-raw "{
  'installationType': 'POSTE, NO POSTE, POSTE H',
  'operators': [
    'MasMovil'
  ],
  'technicalIds': [
    '01000500474700067'
  ],
  'source': {
    'user': '1231FSM',
    'type': 'INSPECTOR'
  }
}" 

Responses

Code Meaning Description Schema
200 OK Accepted poleinfo_accepted
400 Bad Request Bad request bad_request_response
default Default Error error_response

Parameters

Name In Type Required Description
technicalId path string true ‘none’
body body _singleUpdate false CTO information to be updated

Request body - instance of _singleUpdate

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
{
  "cto": {
    "ctoCode": "08346863x4433xe",
    "territoryOwner": "ADAMO01",
    "installationType": "FACHADA"
  },
  "source": {
    "user": "1231FSM",
    "type": "INSPECTOR"
  }
}
Name Type Required Description
cto _ctoSingleUpdate false none
source _source false none

Request example

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

curl -X POST https://feasibility.sta.masstack.com/v1/poleinfo/location/{technicalId}/cto \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
 --data-raw "{
  'cto': {
    'ctoCode': '08346863x4433xe',
    'territoryOwner': 'ADAMO01',
    'installationType': 'FACHADA'
  },
  'source': {
    'user': '1231FSM',
    'type': 'INSPECTOR'
  }
}" 

Responses

Code Meaning Description Schema
200 OK Accepted poleinfo_accepted
400 Bad Request Bad request bad_request_response
409 Conflict Conflict conflict_response
default Default Error error_response

Parameters

Name In Type Required Description
technicalId path string true gescal17 or gescal37. 17 o 37 caracteres
territoryOwner query string true TO of the requested installations

Request example

1
2
3
4

curl -X GET https://feasibility.sta.masstack.com/v1/poleinfo/location/{technicalId}/installationtype?territoryOwner='string'?territoryOwner=string \
  -H "Accept: application/json"

Responses

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

Endpoints

Coverage

    Coverage management

      Blacklist Contact Data

        Map

          Connection installation

            Portability

              Device Finance Prebooking

                Subscription Limit

                  Sales Documents

                    Pole Info

                      Finance Renewal