MasFeasibility API
Coverage verification, address validation, and feasibility checks for telecommunications services.
- STA
- PROD
- Authentication
- Bearer · JWT
About this API
I am MasFeasibility API. My intention is to provide a set of REST services to check sales viability.
Resources 14
- Coverage 9 endpoints
This service allows to find an address and provices coverage info for a particular iam.
- GET
/orgs /{orgId} /coverage /streets - GET
/orgs /{orgId} /coverage /buildings - POST
/orgs /{orgId} /coverage /buildings /search - GET
/orgs /{orgId} /coverage /buildings /{technical_id} - GET
/orgs /{orgId} /coverage /buildings /extra
- GET
- Coverage management 15 endpoints
API to manage coverage data.
- GET
/orgs /{orgId} /management /address /{address_id} /territory_owner - GET
/management /territory_owners - GET
/management /territory_owners /{territoryOwner} - GET
/orgs /{orgId} /management /blacklist /reasons - GET
/orgs /{orgId} /management /blacklist /blocks /{id}
- GET
- Map 2 endpoints
This service provides address search for map based clients. It does not require iam validation headers.
- Blacklist Contact Data 1 endpoint
This service checks if a phone, email or domain can be used as contact data.
- Connection installation 3 endpoints
This service check if an installation has to be done by TELEFONICA.
- Portability 1 endpoint
This services checks if a landline portability is allowed.
- Device Finance Prebooking 1 endpoint
This services checks feasibility for devices finance
- Subscription Limit 1 endpoint
This service provides subscriptions info of telco services
- Sales Documents 1 endpoint
This service checks the current states of the provided orderIds
- Pole Info 6 endpoints
This service provides info and management of pole ctos
- GET
/poleinfo /location /{technicalId} /installations /volumes - POST
/poleinfo /location /{technicalId} /installations - GET
/poleinfo /location /{technicalId} /installations /list - POST
/poleinfo /installations /list - POST
/poleinfo /location /{technicalId} /cto
- GET
- Finance Renewal 2 endpoints
Finance Renewal takes customer and account information among other data and makes a request to the Risk API to evaluate the feasibility or not of selling or financing a new device while you have financing in progress
- Insurance 1 endpoint
Insurance for validating whether selling device insurance for a given device is allowed.
- Mobile Coverage 1 endpoint
This service checks 5G mobile coverage availability for a given address.
- Mobile Portability 1 endpoint
This service will check if a number port is available by receiving an MSISDN
MasFeasibility API
Coverage verification, address validation, and feasibility checks for telecommunications services.
- STA
- PROD
- Authentication
- Bearer · JWT
About this API
I am MasFeasibility API. My intention is to provide a set of REST services to check sales viability.
Resources 14
- Coverage 9 endpoints
This service allows to find an address and provices coverage info for a particular iam.
- GET
/orgs /{orgId} /coverage /streets - GET
/orgs /{orgId} /coverage /buildings - POST
/orgs /{orgId} /coverage /buildings /search - GET
/orgs /{orgId} /coverage /buildings /{technical_id} - GET
/orgs /{orgId} /coverage /buildings /extra
- GET
- Coverage management 15 endpoints
API to manage coverage data.
- GET
/orgs /{orgId} /management /address /{address_id} /territory_owner - GET
/management /territory_owners - GET
/management /territory_owners /{territoryOwner} - GET
/orgs /{orgId} /management /blacklist /reasons - GET
/orgs /{orgId} /management /blacklist /blocks /{id}
- GET
- Map 2 endpoints
This service provides address search for map based clients. It does not require iam validation headers.
- Blacklist Contact Data 1 endpoint
This service checks if a phone, email or domain can be used as contact data.
- Connection installation 3 endpoints
This service check if an installation has to be done by TELEFONICA.
- Portability 1 endpoint
This services checks if a landline portability is allowed.
- Device Finance Prebooking 1 endpoint
This services checks feasibility for devices finance
- Subscription Limit 1 endpoint
This service provides subscriptions info of telco services
- Sales Documents 1 endpoint
This service checks the current states of the provided orderIds
- Pole Info 6 endpoints
This service provides info and management of pole ctos
- GET
/poleinfo /location /{technicalId} /installations /volumes - POST
/poleinfo /location /{technicalId} /installations - GET
/poleinfo /location /{technicalId} /installations /list - POST
/poleinfo /installations /list - POST
/poleinfo /location /{technicalId} /cto
- GET
- Finance Renewal 2 endpoints
Finance Renewal takes customer and account information among other data and makes a request to the Risk API to evaluate the feasibility or not of selling or financing a new device while you have financing in progress
- Insurance 1 endpoint
Insurance for validating whether selling device insurance for a given device is allowed.
- Mobile Coverage 1 endpoint
This service checks 5G mobile coverage availability for a given address.
- Mobile Portability 1 endpoint
This service will check if a number port is available by receiving an MSISDN
Coverage
GET /orgs/{orgId}/coverage/streets
/orgs /{orgId} /coverage /streets Returns a list of street summary objects.
Path parameters
orgIdstringRequiredOrganization name as it is registered in Mas-Stack
Query parameters
searchstringRequiredsearch parameter to match in the records (e.g. calle azalea, paseo del prado...)
Header parameters
sf-channelstringRequiredMust be provide by feasibility squad
sf-segmentstringRequiredMust be provide by feasibility squad
sf-check-idstring (uuid)RequiredMust use a UUID format
Responses
Success
-
idstringgescal12
-
technical_idstringgescal12
-
scorestring -
addressobject-
summarystring -
street_typestring -
street_namestring -
townstring -
provincestring -
province_idstring -
postal_codestring[]
-
Bad request
-
codestring -
statusstring -
messagestring -
detailMsgstring
Error
-
codestring -
statusstring -
messagestring -
detailMsgstring
Coverage
GET /orgs/{orgId}/coverage/buildings
/orgs /{orgId} /coverage /buildings Returns a list of building summary objects.
Path parameters
orgIdstringRequiredOrganization name as it is registered in Mas-Stack
Query parameters
searchstringRequiredsearch parameter to match in the records (e.g. calle azalea, madrid, paseo...)
Header parameters
sf-channelstringRequiredMust be provide by feasibility squad
sf-segmentstringRequiredMust be provide by feasibility squad
sf-check-idstring (uuid)RequiredMust use a UUID format
Responses
Success
-
idstringNot gescal. If it ends by 'H' is an historical street
-
technical_idstringgescal17
-
scorestring -
addressobject-
summarystringstreet_type + street_name + number + postal_code + town + province
-
descriptionstringclarifier. It shows whern number is S/N
-
street_typestring -
street_namestring -
numberstring -
townstring -
postal_codestring -
provincestring -
province_idstring
-
Bad request
-
codestring -
statusstring -
messagestring -
detailMsgstring
Error
-
codestring -
statusstring -
messagestring -
detailMsgstring
Coverage
POST /orgs/{orgId}/coverage/buildings/search
/orgs /{orgId} /coverage /buildings /search Returns a list of building summary objects.
Path parameters
orgIdstringRequiredOrganization name as it is registered in Mas-Stack
Header parameters
sf-channelstringRequiredMust be provide by feasibility squad
sf-segmentstringRequiredMust be provide by feasibility squad
sf-check-idstring (uuid)RequiredMust use a UUID format
Request body application/json
-
way_namestring RequiredWay name
-
numberstring RequiredNumber
-
way_typestringWay type
-
townstringTown name
-
postal_codestringPostal Code
Responses
Success
-
idstringNot gescal. If it ends by 'H' is an historical street
-
technical_idstringgescal17
-
scorestring -
addressobject-
summarystringstreet_type + street_name + number + postal_code + town + province
-
descriptionstringclarifier. It shows whern number is S/N
-
street_typestring -
street_namestring -
numberstring -
townstring -
postal_codestring -
provincestring -
province_idstring
-
Bad request
-
codestring -
statusstring -
messagestring -
detailMsgstring
Error
-
codestring -
statusstring -
messagestring -
detailMsgstring
Coverage
GET /orgs/{orgId}/coverage/buildings/{technical_id}
/orgs /{orgId} /coverage /buildings /{technical_id} Returns a single building object
Path parameters
orgIdstringRequiredOrganization name as it is registered in masstack
technical_idstringRequiredBuilding identifier (Gescal 17)
Query parameters
unit_to_databooleanA boolean to indicate if territory_owner (TO) data is needed for each unit in the unit array response. If True, to arrays will be appended to each unit. A territory_owners array that shows the TOs with coverage in the unit. A blocked_territory_owners array that shows the blocked TOs (ALL if total block)
Header parameters
sf-channelstringRequiredMust be provide by feasibility squad
sf-segmentstringRequiredMust be provide by feasibility squad
sf-check-idstring (uuid)RequiredMust use a UUID format
Responses
Success
-
idstring -
technical_idstring -
addressobject-
summarystring -
descriptionstring -
street_typestring -
street_namestring -
numberstring -
townstring -
postal_codestring -
provincestring -
province_idstring
-
-
coverageobject[]-
territory_ownerstring -
operatorstring -
pai_localstring -
terminal_exchangestring -
paistring -
territory_owner_typestringEnum representing both type TO
-
technologystring -
availabilitybooleanfalse indicates that the footprint is blocked
-
availability_infoobjectonly shows when availability is false
-
reasonstring -
completion_datestring
-
-
prioritystringthe lower the most priority
-
speedsobject-
estimatedstring -
profilestring
-
-
-
geo_codeobject -
unitsobject[]-
idstring Required -
technical_idstring Required -
territory_ownersstring[]TOs for the unit
-
territory_owner_typestringEnum representing both type TO
-
blocked_territory_ownersstring[]Blocked TOs for the unit
-
address_descriptionobject Required-
bis_duplicatestringdato de la finca
-
blockstring -
doorstring -
letterstring -
stairstring -
floorstring -
hand1string -
hand2string -
summarystring
-
-
Bad request
-
codestring -
statusstring -
messagestring -
detailMsgstring
Not found
-
codestring -
statusstring -
messagestring -
detailMsgstring
Error
-
codestring -
statusstring -
messagestring -
detailMsgstring
Coverage
GET /orgs/{orgId}/coverage/buildings/extra
/orgs /{orgId} /coverage /buildings /extra Returns an extraData object for a building 'id' and 'territory_owner'.
Path parameters
orgIdstringRequiredOrganization name as it is registered in Mas-Stack
Query parameters
idstringRequiredid parameter to match with a building 'technical_id' in ElasticSearch
territory_ownerstringRequiredterritory_owner parameter to match with a building 'territory_owner'
Header parameters
sf-channelstringRequiredMust be provide by feasibility squad
sf-segmentstringRequiredMust be provide by feasibility squad
sf-check-idstring (uuid)RequiredMust use a UUID format
Responses
Success
-
idstring -
terminal_exchangestring -
territory_ownerstring -
operatorstring -
paistring -
pai_localstring -
territory_owner_typestringEnum representing both type TO
Bad request
-
codestring -
statusstring -
messagestring -
detailMsgstring
Not found
-
codestring -
statusstring -
messagestring -
detailMsgstring
Error
-
codestring -
statusstring -
messagestring -
detailMsgstring
Coverage
GET /orgs/{orgId}/coverage/units/{id}
/orgs /{orgId} /coverage /units /{id} Returns a single building object
Path parameters
orgIdstringRequiredOrganization name as it is registered in Mas-Stack
idstringRequiredUnit identifier (Gescal 37)
Query parameters
parent_coveragebooleanBoolean to chose if return the parent coverage
Header parameters
sf-channelstringRequiredMust be provide by feasibility squad
sf-segmentstringRequiredMust be provide by feasibility squad
sf-check-idstring (uuid)RequiredMust use a UUID format
Responses
Success
-
idstring -
technical_idstring -
address_descriptionobject-
bis_duplicatestringdato de la finca
-
blockstringdato de la finca
-
doorstringdato de la finca
-
letterstringdato de la finca
-
stairstringdato de la escalera
-
floorstringdato del domicilio
-
hand1stringdato del domicilio
-
hand2stringdato del domicilio
-
summarystring
-
-
parentobject-
idstring -
coverageobject[]-
territory_ownerstring -
operatorstring -
pai_localstring -
terminal_exchangestring -
paistring -
territory_owner_typestringEnum representing both type TO
-
technologystring -
availabilitybooleanfalse indicates that the footprint is blocked
-
availability_infoobjectonly shows when availability is false
-
reasonstring -
completion_datestring
-
-
prioritystringthe lower the most priority
-
speedsobject-
estimatedstring -
profilestring
-
-
-
-
coverageobject[]-
territory_ownerstring -
operatorstring -
territory_owner_typestringEnum representing both type TO
-
availability_infoobjectonly shows when availability is false
-
reasonstring -
completion_datestring
-
-
address_idstring -
pai_localstring -
terminal_exchangestring -
paistring -
technologystring -
availabilitybooleanfalse indicates that the footprint is blocked
-
prioritystring -
speedsobject-
estimatedstring -
profilestring
-
-
Bad request
-
codestring -
statusstring -
messagestring -
detailMsgstring
Not found
-
codestring -
statusstring -
messagestring -
detailMsgstring
Error
-
codestring -
statusstring -
messagestring -
detailMsgstring
Coverage
GET /orgs/{orgId}/coverage/units/extra
/orgs /{orgId} /coverage /units /extra Returns an extraData object for a unit 'id' and 'territory_owner'.
Path parameters
orgIdstringRequiredOrganization name as it is registered in Mas-Stack
Query parameters
idstringRequiredid parameter to match with a unit 'id' in ElasticSearch
territory_ownerstringRequiredterritory_owner parameter to match with a unit 'territory_owner'
Header parameters
sf-channelstringRequiredMust be provide by feasibility squad
sf-segmentstringRequiredMust be provide by feasibility squad
sf-check-idstring (uuid)RequiredMust use a UUID format
Responses
Success
-
idstring -
address_idstring -
terminal_exchangestring -
territory_ownerstring -
operatorstring -
paistring -
pai_localstring -
territory_owner_typestringEnum representing both type TO
Bad request
-
codestring -
statusstring -
messagestring -
detailMsgstring
Not found
-
codestring -
statusstring -
messagestring -
detailMsgstring
Error
-
codestring -
statusstring -
messagestring -
detailMsgstring
Coverage
GET /orgs/{orgId}/coverage/address-codes/vendor
/orgs /{orgId} /coverage /address-codes /vendor Returns an addressCode object for a building 'id' and 'vendor'.
Path parameters
orgIdstringRequiredOrganization name as it is registered in Mas-Stack
Query parameters
idstringRequiredid parameter to match with a street 'id' in ElasticSearch (gescal12 o gescal17)
vendorstringRequiredvendor parameter to match with a 'vendor'
Header parameters
sf-channelstringRequiredMust be provide by feasibility squad
sf-segmentstringRequiredMust be provide by feasibility squad
sf-check-idstring (uuid)RequiredMust use a UUID format
Responses
Success
-
idstring -
province_codestring -
street_codestring -
town_codestring -
vendorstring
Bad request
-
codestring -
statusstring -
messagestring -
detailMsgstring
Not found
-
codestring -
statusstring -
messagestring -
detailMsgstring
Error
-
codestring -
statusstring -
messagestring -
detailMsgstring
Coverage
GET /orgs/{orgId}/coverage/streets/clarifiers/{gescal12}
/orgs /{orgId} /coverage /streets /clarifiers /{gescal12} Provides information to identify a building from a street.
Path parameters
orgIdstringRequiredOrganization name as it is registered in Mas-Stack
gescal12stringRequiredg12
Header parameters
sf-channelstringRequiredMust be provide by feasibility squad
sf-segmentstringRequiredMust be provide by feasibility squad
sf-check-idstring (uuid)RequiredMust use a UUID format
Responses
Success
-
numberstring -
descriptionstring -
building_idstring -
street_idstring
Bad request
-
codestring -
statusstring -
messagestring -
detailMsgstring
Not found
-
codestring -
statusstring -
messagestring -
detailMsgstring
Error
-
codestring -
statusstring -
messagestring -
detailMsgstring
Coverage management
GET /orgs/{orgId}/management/address/{address_id}/territory_owner
/orgs /{orgId} /management /address /{address_id} /territory_owner Return territory_owners related to address_id. Could be more than one. Must select the territory with more priotity.
Path parameters
orgIdstringRequiredOrganization name as it is registered in Mas-Stack
address_idstringRequiredaddress_id with or without spaces
Query parameters
business_rulesbooleanIf true, iam business rules are applied to the response. Otherwise, the response includes all TOs found, if any.
Header parameters
sf-channelstringRequiredMust be provide by feasibility squad
sf-segmentstringRequiredMust be provide by feasibility squad
sf-check-idstring (uuid)RequiredMust use a UUID format
Responses
search results matching criteria
-
address_idstring -
territory_ownersobject[]-
territory_ownerstring -
prioritystring
-
Bad request
-
codestring -
statusstring -
messagestring -
detailMsgstring
bad input parameter
No body.
Coverage management
GET /management/territory_owners
/management /territory_owners Returns the full territory owner catalogue. Served from an in-memory snapshot that is refreshed periodically (every 5 minutes by default), so the data may be up to one refresh interval stale. Read the X-Snapshot-Loaded-At response header to know the exact age of the data. No pagination and no filters; the complete set is always returned.
Responses
The complete territory owner catalogue
-
territory_ownersobject[]Ordered by territory_owner ascending
-
territory_ownerstringTerritory owner code
-
operatorstringOwning operator. Note - this carries the value of the database column "owner", which is a different column from the "operator" field published by the coverage endpoints.
-
technologystring -
subtechnologystring | nullLowercased subtechnology, or null when the source has no value. Currently null for all entries; real values (neba, vula) are expected once the source column is populated.
-
speed_profilestringRaw pipe-delimited list of supported speed profiles, exactly as stored. Whitespace around the separators is not normalized; the consumer parses it.
-
territory_owner_typestring -
is_cmpboolean
-
The caller's roles do not grant the required permission
-
codestring -
statusstring -
messagestring -
detailMsgstring
The snapshot is not available yet. Retry.
-
codestring -
statusstring -
messagestring -
detailMsgstring
Response Headers
X-Snapshot-Loaded-Atstring (date-time)Timestamp at which the served snapshot was loaded from the database
Coverage management
GET /management/territory_owners/{territoryOwner}
/management /territory_owners /{territoryOwner} Returns a single territory owner by its code. Served from the same in-memory snapshot as the list endpoint, with the same staleness characteristics. Lookup is exact-match and case-sensitive. Read the X-Snapshot-Loaded-At response header to know the exact age of the data.
Path parameters
territoryOwnerstringRequiredTerritory owner code
Responses
The requested territory owner
-
territory_ownerstringTerritory owner code
-
operatorstringOwning operator. Note - this carries the value of the database column "owner", which is a different column from the "operator" field published by the coverage endpoints.
-
technologystring -
subtechnologystring | nullLowercased subtechnology, or null when the source has no value. Currently null for all entries; real values (neba, vula) are expected once the source column is populated.
-
speed_profilestringRaw pipe-delimited list of supported speed profiles, exactly as stored. Whitespace around the separators is not normalized; the consumer parses it.
-
territory_owner_typestring -
is_cmpboolean
The caller's roles do not grant the required permission
-
codestring -
statusstring -
messagestring -
detailMsgstring
No territory owner exists with the given code
-
codestring -
statusstring -
messagestring -
detailMsgstring
The snapshot is not available yet. Retry.
-
codestring -
statusstring -
messagestring -
detailMsgstring
Response Headers
X-Snapshot-Loaded-Atstring (date-time)Timestamp at which the served snapshot was loaded from the database
Coverage management
GET /orgs/{orgId}/management/blacklist/reasons
/orgs /{orgId} /management /blacklist /reasons Returns a json array of blacklist reasons available for the given user role.
Path parameters
orgIdstringRequiredOrganization name as it is registered in Mas-Stack
Responses
A list of blacklist reasons for the user auth roles
-
reasonstring -
reason_typestring -
reason_codestring -
duration_daysinteger (int32)
Coverage management
GET /orgs/{orgId}/management/blacklist/blocks/{id}
/orgs /{orgId} /management /blacklist /blocks /{id} Returns a json array of of blocks for a given id
Path parameters
orgIdstringRequiredOrganization name as it is registered in Mas-Stack
idstringRequiredgescal 7, gescal 17 o gescal 37
Responses
A list of blocks for the given id
-
idstring -
territory_ownersstring[] -
gescal_scopestring -
block_reasonstring -
block_reason_codestring -
block_untilstring -
block_userstring -
block_rolestring -
block_datestring -
block_observationstring
Bad request
-
codestring -
statusstring -
messagestring -
detailMsgstring
Not found
-
codestring -
statusstring -
messagestring -
detailMsgstring
Coverage management
POST /orgs/{orgId}/management/blacklist/building
/orgs /{orgId} /management /blacklist /building Blocks the given id, territory owner and reason code.
Path parameters
orgIdstringRequiredOrganization name as it is registered in Mas-Stack
Request body application/json
Block - The block we want to create:
- id - The gescal 17 to block.
- reason_code - The code for the reason we want to block the id.
- territory_owner - The territory owner we want to block in that building. "ALL" to block all territory owners.
- observation - An OPTIONAL 250 max character observation about the block that is being created.
-
idstring -
reason_codestring -
territory_ownerstring -
observationstring
Responses
Returns a Json object that describes the newly created block.
-
valid_fieldsobject-
idstring -
territory_ownerstring -
block_untilstring -
reasonstring -
block_userstring -
block_rolestring -
has_coveragestring
-
-
g17_resultobject[]-
idstring -
territory_ownerstring -
gescal_scopestring -
block_untilstring -
creation_userstring
-
-
g37_resultobject[]-
idstring -
territory_ownerstring -
gescal_scopestring -
block_untilstring -
creation_userstring
-
Bad request
-
codestring -
statusstring -
messagestring -
detailMsgstring
Coverage management
POST /orgs/{orgId}/management/blacklist/unit
/orgs /{orgId} /management /blacklist /unit Blocks the given id, territory owner and reason code.
Path parameters
orgIdstringRequiredOrganization name as it is registered in Mas-Stack
Request body application/json
Block - The block we want to create:
- id - The gescal 37 to block.
- reason_code - The code for the reason we want to block the id.
- territory_owner - The territory owner we want to block in that building. "ALL" to block all territory owners.
- observation - An OPTIONAL 250 max character observation about the block that is being created.
-
idstring -
reason_codestring -
territory_ownerstring -
observationstring
Responses
Returns a Json object that describes the newly created block.
-
valid_fieldsobject-
idstring -
territory_ownerstring -
block_untilstring -
reasonstring -
block_userstring -
block_rolestring -
has_coveragestring
-
-
g37_resultobject[]-
idstring -
territory_ownerstring -
gescal_scopestring -
block_untilstring -
creation_userstring
-
Bad request
-
codestring -
statusstring -
messagestring -
detailMsgstring
Coverage management
DELETE /orgs/{orgId}/management/blacklist/building/{id}
/orgs /{orgId} /management /blacklist /building /{id} Blocks the given id, territory owner and reason code.
Path parameters
orgIdstringRequiredOrganization name as it is registered in Mas-Stack
idstringRequiredgescal 17 to unblock
Query parameters
territory_ownerstringRequiredterritory owner to unblock
reason_codestringRequiredreason code to unblock
observationstringAn OPTIONAL observation about the unblock that is being done
Responses
Returns a Json object that describes all the unblocked gescals
-
valid_fieldsobject-
is_blockedstring -
territory_ownerstring -
unblock_rolestring
-
-
g17_resultobject[]-
idstring -
territory_ownerstring -
gescal_scopestring -
block_untilstring -
creation_userstring
-
-
g37_resultobject[]-
idstring -
territory_ownerstring -
gescal_scopestring -
block_untilstring -
creation_userstring
-
Bad request
-
codestring -
statusstring -
messagestring -
detailMsgstring
Coverage management
DELETE /orgs/{orgId}/management/blacklist/unit/{id}
/orgs /{orgId} /management /blacklist /unit /{id} Blocks the given id, territory owner and reason code.
Path parameters
orgIdstringRequiredOrganization name as it is registered in Mas-Stack
idstringRequiredgescal 37 to unblock
Query parameters
territory_ownerstringRequiredterritory owner to unblock
reason_codestringRequiredreason code to unblock
observationstringAn OPTIONAL observation about the unblock that is being done
Responses
Returns a Json object that describes all the unblocked gescals
-
valid_fieldsobject-
is_blockedstring -
territory_ownerstring -
unblock_rolestring
-
-
g37_resultobject[]-
idstring -
territory_ownerstring -
gescal_scopestring -
block_untilstring -
creation_userstring
-
Bad request
-
codestring -
statusstring -
messagestring -
detailMsgstring
Coverage management
GET /orgs/{orgId}/management/load/info/{id}
/orgs /{orgId} /management /load /info /{id} Return load info for id
Path parameters
orgIdstringRequiredOrganization name as it is registered in Mas-Stack
idstringRequiredload id
Responses
search results matching criteria
-
idstring -
userstring -
statusstring -
load_typestring -
filesstring[] -
stagesobject[]-
stagestring -
statusstring Required -
logstring -
started_atstring (date-time) Required -
ended_atstring (date-time) Required
-
Bad request
-
codestring -
statusstring -
messagestring -
detailMsgstring
Not found
-
codestring -
statusstring -
messagestring -
detailMsgstring
Coverage management
GET /orgs/{orgId}/management/load/history
/orgs /{orgId} /management /load /history Return load summary data for loads that started on a date between start_date and end_date
Path parameters
orgIdstringRequiredOrganization name as it is registered in Mas-Stack
Query parameters
start_datestring (date)date range start
end_datestring (date)date range end
userstringuser that started the data load
typestringtype of data load
statusstring[]array of status a load is in
filesstringa string to perform a partial search against files loaded. Similar to functions CONTAINS
limitintegerRequiredmax number of items in response
offsetintegerRequiredfirs n items to skip in response
Responses
list of data loads matching search criteria
-
dataobject[]-
idstring -
userstring -
statusstring -
load_typestring -
filesstring[] -
stagesobject[]-
stagestring -
statusstring Required -
logstring -
started_atstring (date-time) Required -
ended_atstring (date-time) Required
-
-
-
limitinteger -
offsetinteger -
totalinteger
Bad request
-
codestring -
statusstring -
messagestring -
detailMsgstring
Coverage management
GET /orgs/{orgId}/management/load/availabilities
/orgs /{orgId} /management /load /availabilities Indicates if load service is available. The service may be processing another data load and thus, not available for a new load.
Path parameters
orgIdstringRequiredOrganization name as it is registered in Mas-Stack
Query parameters
load_typestringload type to check availability
Responses
indicates if system is available
-
availabilityboolean -
reasonobject-
idstring -
userstring -
statusstring -
load_typestring -
filesstring[] -
stagesobject[]-
stagestring -
statusstring Required -
logstring -
started_atstring (date-time) Required -
ended_atstring (date-time) Required
-
-
Coverage management
GET /orgs/{orgId}/management/load/availability
/orgs /{orgId} /management /load /availability Indicates if load service is available. The service amy be processing another data load and thus, not available for a new load.
Path parameters
orgIdstringRequiredOrganization name as it is registered in Mas-Stack
Query parameters
load_typestringRequiredload type to check availability
Responses
indicates if system is available
-
availabilityboolean -
reasonobject-
idstring -
userstring -
statusstring -
load_typestring -
filesstring[] -
stagesobject[]-
stagestring -
statusstring Required -
logstring -
started_atstring (date-time) Required -
ended_atstring (date-time) Required
-
-
Bad request
-
codestring -
statusstring -
messagestring -
detailMsgstring
Coverage management
POST /orgs/{orgId}/management/load
/orgs /{orgId} /management /load Creates a new load
Path parameters
orgIdstringRequiredOrganization name as it is registered in Mas-Stack
Request body application/json Required
-
load_typestring
Responses
indicates if system is available
-
idstring -
userstring -
typestring -
statusstring -
started_atstring (date)
Bad request
-
codestring -
statusstring -
messagestring -
detailMsgstring
Conflict
-
codestring -
statusstring -
messagestring -
detailMsgstring
Resource Locked
-
codestring -
statusstring -
messagestring -
detailMsgstring
Coverage management
POST /orgs/{orgId}/management/load/audit_check
/orgs /{orgId} /management /load /audit_check Update load audit check stage to DONE, if user wants load to continue or CANCELED if user wants to stop the data load.
Path parameters
orgIdstringRequiredOrganization name as it is registered in Mas-Stack
Request body application/json Required
-
idstring Required -
statusstring Required -
night_loadboolean
Responses
Response without a content that indcates the operation was successful
No body.
Bad request
-
codestring -
statusstring -
messagestring -
detailMsgstring
Not found
-
codestring -
statusstring -
messagestring -
detailMsgstring
Conflict
-
codestring -
statusstring -
messagestring -
detailMsgstring
Map
GET /orgs/{orgId}/map/buildings
/orgs /{orgId} /map /buildings Returns a list of building summary objects.
Path parameters
orgIdstringRequiredOrganization name as it is registered in Mas-Stack
Query parameters
searchstringRequiredsearch parameter to match in the records (e.g. calle azalea, madrid, paseo...)
Responses
Success
-
idstringNot gescal. If it ends by 'H' is an historical street
-
technical_idstringgescal17
-
scorestring -
addressobject-
summarystringstreet_type + street_name + number + postal_code + town + province
-
descriptionstringclarifier. It shows whern number is S/N
-
street_typestring -
street_namestring -
numberstring -
townstring -
postal_codestring -
provincestring -
province_idstring
-
Bad request
-
codestring -
statusstring -
messagestring -
detailMsgstring
Error
-
codestring -
statusstring -
messagestring -
detailMsgstring
Map
GET /orgs/{orgId}/map/streets
/orgs /{orgId} /map /streets Returns a list of street summary objects.
Path parameters
orgIdstringRequiredOrganization name as it is registered in Mas-Stack
Query parameters
searchstringRequiredsearch parameter to match in the records (e.g. calle azalea, paseo del prado...)
Responses
Success
-
idstringgescal12
-
technical_idstringgescal12
-
scorestring -
addressobject-
summarystring -
street_typestring -
street_namestring -
townstring -
provincestring -
province_idstring -
postal_codestring[]
-
Bad request
-
codestring -
statusstring -
messagestring -
detailMsgstring
Error
-
codestring -
statusstring -
messagestring -
detailMsgstring
Blacklist Contact Data
POST /blacklist/contact/isBlocked
/blacklist /contact /isBlocked Returns true or false, depending on wheter field is locked or not.
Request body application/json
contactType - The type of contact we want to check:
- number - Field of type phone that we have to check if it is blocked.
- email - Field of type email that we have to check if it is blocked.
- emailDomain - Field of type email domain that we have to check if it is blocked. value - Contact info value.
-
contactTypestring Required -
valuestring Required
Responses
Accepted
-
isBlockedboolean
Bad request
-
codestring -
statusstring -
messagestring -
detailMsgstring
Connection installation
GET /connection/addressConnection/{id}
/connection /addressConnection /{id} Retrieves an addressConnection
Path parameters
idstringRequiredaddressConnection identifier (gescal17)
Responses
Success
-
idstring -
installerstring -
connectionTypestring- P - CTO on post
- N - CTO not pre-connectorized
- NV - CTO Not pre-connectorized with structured vertical
- S - Special
- O - Other
- null - not defined
-
portInbooleanTrue if the installer changes from MM to TESA due to Inspector intervention
-
userstringLast user to create/modify the address connection status
-
creationDatestring -
updateDatestring -
releaseReasonstring- A - Automatic release based on date
- I - Field Inspector
- O - Other
- null - Not released (Installer = TESA)
-
commentstring -
estimatedReleaseDatestringEstimated release date based on type of connection and area
addressConnection not found
No body.
Error
-
codestring -
statusstring -
messagestring -
detailMsgstring
Connection installation
PUT /connection/addressConnection/{id}
/connection /addressConnection /{id} Inserts or updates an addressConnection
Path parameters
idstringRequiredaddressConnection identifier (gescal17)
Request body application/json Required
New addressConnection data that to be inserted or updated.
-
idstring -
installerstring -
connectionTypestring- P - CTO on post
- N - CTO not pre-connectorized
- NV - CTO Not pre-connectorized with structured vertical
- S - Special
- O - Other
- null - not defined
-
portInbooleanTrue if the installer changes from MM to TESA due to Inspector intervention
-
userstringLast user to create/modify the address connection status
-
creationDatestring -
updateDatestring -
releaseReasonstring- A - Automatic release based on date
- I - Field Inspector
- O - Other
- null - Not released (Installer = TESA)
-
commentstring -
estimatedReleaseDatestringEstimated release date based on type of connection and area
Responses
No Content
No body.
Bad Request
No body.
unexpected error
-
codestring -
statusstring -
messagestring -
detailMsgstring
Connection installation
GET /connection/connectionType
/connection /connectionType Retrieves the avaible connectionType values
Responses
Success
-
keystring -
valuestring
Portability
POST /orgs/{orgId}/portability/portabilityCheck
Deprecated /orgs /{orgId} /portability /portabilityCheck [DEPRECATED] Returns whether the portability process can be carried out and whether it requires a new installation
Path parameters
orgIdstringRequired
Request body application/json
-
numberstring RequiredFixed number to be ported
-
territoryOwnerstring RequiredTerritory owner. Not mandatory if technology is MIFIJO
-
technicalIdstring RequiredTechnicalId (corresponding with "GESCAL" ). Not mandatory if technology is MIFIJO
-
technologystring RequiredTechnology to be provided
-
sfidstring RequiredSeller SFID
Responses
Success
-
internalPortabilitybooleanDetermines whether the process is an internal portability or not
-
isPortablebooleanDetermines whether the number is portable
-
installationRequiredbooleanDetermines whether a new installation is required
-
operatorobject-
codestringOperator code
-
namestringOperator name
-
Bad request
-
codestring -
statusstring -
messagestring -
detailMsgstring
Not found
-
codestring -
statusstring -
messagestring -
detailMsgstring
Error
-
codestring -
statusstring -
messagestring -
detailMsgstring
Device Finance Prebooking
POST /orgs/{orgId}/finance/devices/feasible
Deprecated /orgs /{orgId} /finance /devices /feasible [DEPRECATED] By passing in the appropriate options, you can check if a finance is pre-accepted or rejected
Path parameters
orgIdstringRequiredOrganization name as it is registered in Mas-Stack
Query parameters
entityBankstring[]Desired financial entity to be consulted (Currently only XCF is supported)
Request body application/json Required
-
personal_detailsobject-
personal_dataobject-
document_idobject-
typestring -
valuestring -
expiration_datestring (date)
-
-
namestring -
surnamesstring[] -
birthdatestring (date) -
genderintegerEnum to define the human sexes is an international standard from ISO/IEC 5218 https://en.wikipedia.org/wiki/ISO/IEC_5218
- 0 - No definido
- 1 - Hombre
- 2 - Mujer
- 9 - No aplica
-
nationalitystringUse the ISO 3166-1 alfa-2 format
Show 240 values Hide 240 values
AFALDZASADAOAIAQAGARAMAWAUATAZBSBHBDBBBYBEBZBJBMBTBOBQBABWBVBRIOBNBGBFBIKHCMCACVKYCFTDCLCNCXCCCOKMCGCDCKCRHRCUCWCYCZCIDKDJDMDOECEGSVGQEREESZETFKFOFJFIFRPFTFGAGMGEDEGHGIGRGLGDGUGTGGGNGWGYHTHMVAHNHKHUISINIDIRIQIEIMILITJMJPJEJOKZKEKIKPKRKWKGLALVLBLSLRLYLILTLUMOMKMGMWMYMVMLMTMHMRMUYTMXFMMDMCMNMEMSMAMZMMNANRNPNLNCNZNINENGNUNFMPNOOMPKPWPSPAPGPYPEPHPNPLPTPRQARORURWSHKNLCPMVCWSSMSTSASNRSSCSLSGSXSKSISBSOZAGSSSESLKSDSRSECHSYTWTJTZTHTLTGTKTOTTTNTRTMTCTVUGUAAEGBUMUSUYUZVUVEVNVGVIWFYEZMZW
-
-
contact_dataobject-
emailstring -
phone_numberstringmobile phone number
-
phone_number2string
-
-
employmentobject-
professionintegerProfession enum.
- 1 - Obrero - sector privado
- 2 - Técnico, Administrativo - sector privado
- 3 - Cargo intermedio - sector privado
- 4 - Directivo - sector privado
- 5 - Obrero, Técnico, Administrativo - sector público
- 6 - Cargo intermedio, Directivo - sector público
- 8 - Autónomo
- 9 - Empresario
- 10 - Rentista
- 11 - Vigilante de seguridad
- 12 - Camarero / Vendedor de la Once
- 13 - Bombero, Militar, Policia, Guardia Civil
- 14 - Estudiante, Universitario, Master y Doctorado
- 15 - Jubilado, Pensionista
- 16 - No trabaja
Show 15 values Hide 15 values
1234568910111213141516
-
companystring -
incomenumberFinancing customer monthly income amount
-
income_sourceintegerIncome Source enum.
- 1 - Herencia o Donación
- 2 - Rentas de propiedad inmobiliaria
- 3 - Otros
-
other_income_sourcestringMandatory if income_source=3
-
activity_countrystringShow 240 values Hide 240 values
AFALDZASADAOAIAQAGARAMAWAUATAZBSBHBDBBBYBEBZBJBMBTBOBQBABWBVBRIOBNBGBFBIKHCMCACVKYCFTDCLCNCXCCCOKMCGCDCKCRHRCUCWCYCZCIDKDJDMDOECEGSVGQEREESZETFKFOFJFIFRPFTFGAGMGEDEGHGIGRGLGDGUGTGGGNGWGYHTHMVAHNHKHUISINIDIRIQIEIMILITJMJPJEJOKZKEKIKPKRKWKGLALVLBLSLRLYLILTLUMOMKMGMWMYMVMLMTMHMRMUYTMXFMMDMCMNMEMSMAMZMMNANRNPNLNCNZNINENGNUNFMPNOOMPKPWPSPAPGPYPEPHPNPLPTPRQARORURWSHKNLCPMVCWSSMSTSASNRSSCSLSGSXSKSISBSOZAGSSSESLKSDSRSECHSYTWTJTZTHTLTGTKTOTTTNTRTMTCTVUGUAAEGBUMUSUYUZVUVEVNVGVIWFYEZMZW
-
professional_areaintegerProfessional branch enum.
- 1 - Banca, Seguros, Financieras
- 2 - Sanidad y Farmacia
- 3 - Enseñanza, Formación
- 4 - Construcción oficios y Otros
- 5 - Hostelería, Restauración
- 6 - Transporte de personas y Otros
- 7 - Comercio on line y segunda mano, Importación y Exportación Petróleo y Materias primas
- 8 - Agricultura (otros), Ganadería, Pesca
- 9 - Agencias y Agentes inmobiliarios
- 10 - Arte, Piedras y Metales preciosos, Juegos de azar
- 11 - Comercio ambulante
- 12 - Armas y energía nuclear
- 13 - Manufactura del metal, Químicos y farmacéuticos, Refinería petróleo y gas
- 14 - Asesoría fiscal y Abogados
- 15 - Club deportivos profesionales, sus agentes e intermediarios
- 16 - Minería y extracción recursos naturales (otros)
- 17 - Alcohol y Tabaco (fabricación, distribución)
- 18 - Casas de cambio, Emisores medios pago virtual y prepago, Micro créditos
- 19 - Comercio minorista y Mayorista (otros)
- 20 - Servicios otros
- 21 - Manufactura y Fabricación (otros)
- 22 - Transporte de dinero, Combustibles y Mercancías
- 23 - Organizaciones políticas
- 24 - Talleres de coches, motos y otros automóviles
- 25 - Agencias viajes, Agentes de aduanas
- 26 - Agricultura intensiva en mano de obra (viñedo, aceituna, fresa, caña de azúcar,...)
- 27 - Casas de subasta-empeño, Organizaciones religiosas, ONGs
- 28 - Comercio: Alcohol, Tabaco, Teléfonos móviles, Equipos informáticos, Joyas y Gasolineras
- 29 - Construcción, Inmobiliaria, Contratistas
- 30 - Discotecas, Salas de baile, Night clubs
- 31 - Empresas fiduciarias, Offshore
- 32 - Fabricación barcos, aviones y otros vehículos
- 33 - Minería y extracción gas y petróleo, producción y distribución energía renovable
- 34 - Minería y extracción uranio, metales y piedras preciosas
- 35 - Servicios de lavandería, Manejo de desechos, Limpieza ambiental
Show 35 values Hide 35 values
1234567891011121314151617181920212223242526272829303132333435
-
professional_useboolean
-
-
segmentstring -
addressobject-
streetstring -
street_typestring -
numberstring -
bisstring -
citystring -
gescalstring -
districtstring -
blockstring -
stairstring -
floorstring -
letterstring -
zip_codestring -
provincestring -
statestring -
countrystringShow 240 values Hide 240 values
AFALDZASADAOAIAQAGARAMAWAUATAZBSBHBDBBBYBEBZBJBMBTBOBQBABWBVBRIOBNBGBFBIKHCMCACVKYCFTDCLCNCXCCCOKMCGCDCKCRHRCUCWCYCZCIDKDJDMDOECEGSVGQEREESZETFKFOFJFIFRPFTFGAGMGEDEGHGIGRGLGDGUGTGGGNGWGYHTHMVAHNHKHUISINIDIRIQIEIMILITJMJPJEJOKZKEKIKPKRKWKGLALVLBLSLRLYLILTLUMOMKMGMWMYMVMLMTMHMRMUYTMXFMMDMCMNMEMSMAMZMMNANRNPNLNCNZNINENGNUNFMPNOOMPKPWPSPAPGPYPEPHPNPLPTPRQARORURWSHKNLCPMVCWSSMSTSASNRSSCSLSGSXSKSISBSOZAGSSSESLKSDSRSECHSYTWTJTZTHTLTGTKTOTTTNTRTMTCTVUGUAAEGBUMUSUYUZVUVEVNVGVIWFYEZMZW
-
additional_detailsstring
-
-
-
order_detailsobject-
sfidstring -
fuc_codenumberUnique identifier of the sales channel |- Fuc code enum. * 323841452 - TIENDAS * 332577543 - WEB * 332577626 - TELESALES
-
telco_societyintegerTelco society enum.
- 1 - Xfera moviles SAU
- 2 - Eukastel
-
order_typeintegerOrder type enum.
- 0 - Alta nueva
- 1 - Portabilidad
- 2 - Renovación
- 4 - Fusión STC
-
deviceobject-
idstring -
brandstring -
modelstring -
namestring -
descriptionstring -
categorynumberCategory enum.
- 1 - Tablet
- 2 - Smartwatch
- 3 - Smartphone
- 4 - STB
- 5 - PBX
- 6 - Wifiextender
- 7 - Router
- 8 - Otros
-
colourstring -
valuenumber
-
-
-
financial_detailsobject-
financial_brandintegerTelecommunications brand used by any of the companies in Masmovil holding:|- Finance brand enum. * 1 - MoneyGO * 2 - XferaCF
-
financial_productintegerFinancial product commercialized by any of the companies in Masmovil holding |- Product type enum. * 1 - Préstamo personal * 2 - Tarjeta de crédito * 3 - Linea de crédito (sin tarjeta)
-
final_paymentnumber100,00 / 100.00
-
loanobject-
valuenumberc
-
commisionnumberFee to be charged for the financing operation.
-
taenumberInterest rate of the financing operation, including fees and other costs.
-
tinnumberInterest rate of the financing operation.
-
durationintegerDuration of financing operation in months
-
monthly_feenumberMonthly amount of the financing operation to be paid by the financing customer.
-
bank_accountobject-
namestring Required -
surnamesstring[] Required -
ibanstring Required
-
-
-
Responses
Success
-
feasibility_idstringfeasibility order id
-
order_idstringbank order id
-
authorization_idstringbank authorization id
-
financial_entitystringentity that provides the financing
-
statusstringstatus of the financing
-
granted_amountstring900,00 / 900.00
-
credit_line_amountnumber -
financial_productintegerfinal product offered by the bank * 1 - Préstamo personal * 2 - Tarjeta de crédito * 3 - Linea de crédito (sin tarjeta)
Bad request
-
codestring -
statusstring -
messagestring -
detailMsgstring
Not found
-
codestring -
statusstring -
messagestring -
detailMsgstring
Error
-
codestring -
statusstring -
messagestring -
detailMsgstring
Subscription Limit
POST /orgs/{orgId}/subscriptions/limit/active
/orgs /{orgId} /subscriptions /limit /active Gives active subscriptions info and fraud limits of telco services for a client
Path parameters
orgIdstringRequiredOrganization name as it is registered in mas-stack
Request body application/json Required
-
document_typestringclient document type.
-
document_idstringclient document number.
-
subscription_typestring -
segmentstring
Responses
Success
-
typestringrequest subscription type
-
limitintegerfraud limit
-
active_subscriptionsintegeractive subscription for request type and client
-
subscriptions_allowedintegersubscriptions allowed for request type and client
Sales Documents
POST /orgs/{orgId}/sales/documents/document_status
/orgs /{orgId} /sales /documents /document_status Service that receives N orderId and returns another array of requests with their respective documents and validation status
Path parameters
orgIdstringRequiredOrganization name as it is registered in mas-stack
Request body application/json Required
A list of orderIds to be consulted
-
ordersstring[]
Responses
Success
-
errorCodenumber -
dataobject[]-
orderIdnumber -
orderErrorCodenumber -
orderErrorMessagestring -
statusstring -
documentsobject[]-
documentIDstring -
documentNamestring -
documentStatusstring -
documentMotivestring -
documentMaxSizestring
-
-
Bad request
-
codestring -
statusstring -
messagestring -
detailMsgstring
Unauthorized
-
codestring -
statusstring -
messagestring -
detailMsgstring
Not found
-
codestring -
statusstring -
messagestring -
detailMsgstring
Error
-
codestring -
statusstring -
messagestring -
detailMsgstring
Pole Info
GET /poleinfo/location/{technicalId}/installations/volumes
Deprecated /poleinfo /location /{technicalId} /installations /volumes Returns volume of locations both total and grouped by operator based on initial location and scope
Path parameters
technicalIdstringRequired
Query parameters
scopestringRequired-
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
-
Responses
Success
-
technicalIdstring -
scopestring -
totalVolumeinteger -
operatorsobject[]-
operatorstring -
volumeinteger
-
Bad request
-
codestring -
statusstring -
messagestring -
detailMsgstring
Not found
-
codestring -
statusstring -
messagestring -
detailMsgstring
Conflict
-
codestring -
statusstring -
messagestring -
detailMsgstring
Error
-
codestring -
statusstring -
messagestring -
detailMsgstring
Pole Info
POST /poleinfo/location/{technicalId}/installations
Deprecated /poleinfo /location /{technicalId} /installations Updates installationType information associated to a technicalId and a operator and scope
Path parameters
technicalIdstringRequired
Request body application/json
Scope, operator/s and installationType to be updated and source information
-
operatorsany Required -
installationTypestring Required -
scopestring Required -
sourceobject Required-
userstring Required -
typestring Required
-
Responses
Accepted
Bad request
-
codestring -
statusstring -
messagestring -
detailMsgstring
Error
-
codestring -
statusstring -
messagestring -
detailMsgstring
Pole Info
GET /poleinfo/location/{technicalId}/installations/list
Deprecated /poleinfo /location /{technicalId} /installations /list Returns locations contained in the scope associated to a technicalId and operator/s
Path parameters
technicalIdstringRequired
Query parameters
operatorstringoperator of the requested installations (if empty all will be returned)
scopestringRequired
Responses
Success
-
totalinteger -
installationsobject[]-
operatorsstring[] -
technicalIdstring -
streetNuminteger
-
Bad request
-
codestring -
statusstring -
messagestring -
detailMsgstring
Not found
-
codestring -
statusstring -
messagestring -
detailMsgstring
Conflict
-
codestring -
statusstring -
messagestring -
detailMsgstring
Error
-
codestring -
statusstring -
messagestring -
detailMsgstring
Pole Info
POST /poleinfo/installations/list
Deprecated /poleinfo /installations /list Requests an update of a list of installations
Request body application/json
List of installations to be updated
-
installationTypestring -
operatorsstring[] -
technicalIdsstring[] -
sourceobject-
userstring Required -
typestring Required
-
Responses
Accepted
Bad request
-
codestring -
statusstring -
messagestring -
detailMsgstring
Error
-
codestring -
statusstring -
messagestring -
detailMsgstring
Pole Info
POST /poleinfo/location/{technicalId}/cto
/poleinfo /location /{technicalId} /cto Requests an update of a single CTO
Path parameters
technicalIdstringRequired
Request body application/json
CTO information to be updated
-
ctoobject-
ctoCodestring Required -
territoryOwnerstring Required -
installationTypestring Required
-
-
sourceobject-
userstring Required -
typestring Required
-
Responses
Accepted
Bad request
-
codestring -
statusstring -
messagestring -
detailMsgstring
Conflict
-
codestring -
statusstring -
messagestring -
detailMsgstring
Error
-
codestring -
statusstring -
messagestring -
detailMsgstring
Pole Info
GET /poleinfo/location/{technicalId}/installationtype
/poleinfo /location /{technicalId} /installationtype Returns the installation type associated to a technicalId and an TO (POSTE, POSTE H, NO POSTE)
Path parameters
technicalIdstringRequiredgescal17 or gescal37. 17 o 37 caracteres
Query parameters
territoryOwnerstringRequiredTO of the requested installations
Responses
Success
-
installationTypestring[]
Bad request
-
codestring -
statusstring -
messagestring -
detailMsgstring
Not found
-
codestring -
statusstring -
messagestring -
detailMsgstring
Error
-
codestring -
statusstring -
messagestring -
detailMsgstring
Finance Renewal
POST /orgs/{orgId}/finance/renewal
/orgs /{orgId} /finance /renewal Path parameters
orgIdstringRequiredOrganization name as it is registered in Mas-Stack
Header parameters
sf-client-ipstringClient IP address
Request body application/json
-
customer_idstring Requirednew uuid format used by MasCustomers
-
account_idstring Requirednew uuid format used by MasCustomers
-
subscription_idstring (int64) Requireduuid legacy id
-
app_idinteger Requiredsales application
-
dealer_idstring Requireddealer id
Responses
Success
-
subscriptionobject-
subscription_idstring -
subscription_devicesobject[]-
idstring -
installment_plan_end_datestring
-
-
-
total_limitsobject-
credit_limitnumber (double) -
single_upfront_devices_limitinteger -
financed_devices_limitinteger
-
-
payment_financial_entityobject[]-
entitystring -
amountnumber (double)
-
-
renewal_allowedboolean -
financed_devices_available_limitinteger -
available_credit_limitnumber (double) -
single_upfront_devices_available_limitinteger -
prescoring_id_valueinteger (int64) -
prescoring_risk_profilestring -
score_valuestringEnum representing score values for different states.
-
renewal_denied_reasonstring -
actionstring -
score_descriptionstring -
segmentation_codestring
Bad request
-
codestring -
statusstring -
messagestring -
detailMsgstring
Unauthorized
-
codestring -
statusstring -
messagestring -
detailMsgstring
Not found
-
codestring -
statusstring -
messagestring -
detailMsgstring
Time out Error
-
codestring -
statusstring -
messagestring -
detailMsgstring
Internal Server Error
-
codestring -
statusstring -
messagestring -
detailMsgstring
Bad Gateway error
-
codestring -
statusstring -
messagestring -
detailMsgstring
Error
-
codestring -
statusstring -
messagestring -
detailMsgstring
Finance Renewal
POST /orgs/{orgId}/finance/credit_limit
/orgs /{orgId} /finance /credit_limit Path parameters
orgIdstringRequiredOrganization name as it is registered in Mas-Stack
Request body application/json
-
customer_idstringnew uuid format used by MasCustomers
-
account_idstringnew uuid format used by MasCustomers
-
operationstring -
sales_appintegersales application
-
dealer_idstringdealer id
-
customer_infoobject-
first_namestring -
last_namestring -
middle_namestring -
birth_datestring (date) -
contact_dataobject-
emailstring -
phone_numberstringmobile phone number
-
phone_number2string
-
-
address_infoobject-
addressstringStreet from address
-
postal_codestringPostal code
-
localitystringLocality from address
-
region_codestring -
administrative_areastring -
country_idstring
-
-
associated_userobject-
first_namestring -
middle_namestring -
second_namestring -
document_typestringclient document type.
-
document_idstringclient document number.
-
nationalitystring
-
-
Responses
Success
-
subscriptionobject-
subscription_idstring -
subscription_devicesobject[]-
idstring -
installment_plan_end_datestring
-
-
-
total_limitsobject-
credit_limitnumber (double) -
single_upfront_devices_limitinteger -
financed_devices_limitinteger
-
-
payment_financial_entityobject[]-
entitystring -
amountnumber (double)
-
-
renewal_allowedboolean -
financed_devices_available_limitinteger -
available_credit_limitnumber (double) -
single_upfront_devices_available_limitinteger -
prescoring_id_valueinteger (int64) -
prescoring_risk_profilestring -
score_valuestringEnum representing score values for different states.
-
renewal_denied_reasonstring -
actionstring -
score_descriptionstring -
segmentation_codestring
Bad request
-
codestring -
statusstring -
messagestring -
detailMsgstring
Unauthorized
-
codestring -
statusstring -
messagestring -
detailMsgstring
Not found
-
codestring -
statusstring -
messagestring -
detailMsgstring
Time out Error
-
codestring -
statusstring -
messagestring -
detailMsgstring
Internal Server Error
-
codestring -
statusstring -
messagestring -
detailMsgstring
Bad Gateway error
-
codestring -
statusstring -
messagestring -
detailMsgstring
Error
-
codestring -
statusstring -
messagestring -
detailMsgstring
Insurance
POST /orgs/{orgId}/insurance/check
/orgs /{orgId} /insurance /check Path parameters
orgIdstringRequiredOrganization name as it is registered in Mas-Stack
Request body application/json
-
insurance_typestring Requiredtype of insurance to check
-
delivery_datestring (date)
Responses
Success
-
allowedboolean
Bad request
-
codestring -
statusstring -
messagestring -
detailMsgstring
Unauthorized
-
codestring -
statusstring -
messagestring -
detailMsgstring
Error
-
codestring -
statusstring -
messagestring -
detailMsgstring
Mobile Coverage
Check 5G mobile coverage availability
/orgs /{orgId} /mobile_coverage /5g /{technical_id} Validates if 5G mobile coverage is available for a given address identified by technical_id (GESCAL code). The technical_id parameter should be URL-encoded when it contains spaces or special characters. Note that any other response different from a 200 are passed through from the upstream GIROS system and may have varying response formats.
Path parameters
orgIdstringRequiredOrganization name as it is registered in Mas-Stack
technical_idstringRequiredGESCAL address identifier. Standardized Spanish address code used by telecommunications operators. Must be exactly 17 or 37 characters. URL-encode spaces and special characters (e.g., Ñ → %C3%91).
Responses
Success - Returns 5G availability status
-
5gboolean RequiredIndicates if 5G mobile coverage is available at the address.
Bad request - Invalid technical_id format. The path parameter must be exactly 17 or 37 characters long.
-
codestring -
statusstring -
messagestring -
detailMsgstring
Unauthorized
-
codestring -
statusstring -
messagestring -
detailMsgstring
Address not found in GIROS system (pass-through response)
No body.
Precondition failed in GIROS system (pass-through response)
No body.
Internal server error from GIROS system (pass-through response)
No body.
Unexpected error
-
codestring -
statusstring -
messagestring -
detailMsgstring
Mobile Portability
GET /orgs/{orgId}/mobile_portability/portability_check/{msisdn}
/orgs /{orgId} /mobile_portability /portability_check /{msisdn} Validates if a mobile number can be renewed for portability
Path parameters
orgIdstringRequiredmsisdnstringRequiredMobile number to validate
Responses
Success
-
is_portableboolean RequiredIndicates if the number is portable