Coverage
This service allows to find an address and provices coverage info for a particular iam.
Parameters
Name
In
Type
Required
Description
sf-channel
header
string
true
Must be provide by feasibility squad
sf-segment
header
string
true
Must be provide by feasibility squad
sf-check-id
header
string(uuid)
true
Must use a UUID format
orgId
path
string
true
Organization name as it is registered in Mas-Stack
search
query
string
true
search parameter to match in the records (e.g. calle azalea, paseo del prado…)
Request example
1
2
3
4
5
6
7
curl -X GET https://feasibility.sta.masstack.com/v1/orgs/masmovil/coverage/streets?search= 'string' ?search= string \
-H "Accept: application/json" \
-H "sf-channel: string" \
-H "sf-segment: string" \
-H "sf-check-id: 497f6eca-6276-4993-bfeb-53cbbbba6f08"
Parameters
Name
In
Type
Required
Description
sf-channel
header
string
true
Must be provide by feasibility squad
sf-segment
header
string
true
Must be provide by feasibility squad
sf-check-id
header
string(uuid)
true
Must use a UUID format
orgId
path
string
true
Organization name as it is registered in Mas-Stack
search
query
string
true
search parameter to match in the records (e.g. calle azalea, madrid, paseo…)
Request example
1
2
3
4
5
6
7
curl -X GET https://feasibility.sta.masstack.com/v1/orgs/masmovil/coverage/buildings?search= 'string' ?search= string \
-H "Accept: application/json" \
-H "sf-channel: string" \
-H "sf-segment: string" \
-H "sf-check-id: 497f6eca-6276-4993-bfeb-53cbbbba6f08"
postBuildings
keyboard_arrow_down
Returns a list of building summary objects.
POST
/orgs/{orgId}/coverage/buildings/search
Parameters
Name
In
Type
Required
Description
sf-channel
header
string
true
Must be provide by feasibility squad
sf-segment
header
string
true
Must be provide by feasibility squad
sf-check-id
header
string(uuid)
true
Must use a UUID format
orgId
path
string
true
Organization name as it is registered in Mas-Stack
body
body
_search_params
false
‘none’
1
2
3
4
5
6
7
{
"way_name" : "San Juan" ,
"number" : "1" ,
"way_type" : "Paseo" ,
"town" : "Pedro Andres" ,
"postal_code" : "02534"
}
Name
Type
Required
Description
way_name
string
true
Way name
number
string
true
Number
way_type
string
false
Way type
town
string
false
Town name
postal_code
string
false
Postal Code
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/v1/orgs/masmovil/coverage/buildings/search \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-H "sf-channel: string" \
-H "sf-segment: string" \
-H "sf-check-id: 497f6eca-6276-4993-bfeb-53cbbbba6f08" \
--data-raw "{
'way_name': 'San Juan',
'number': '1',
'way_type': 'Paseo',
'town': 'Pedro Andres',
'postal_code': '02534'
}"
Parameters
Name
In
Type
Required
Description
sf-channel
header
string
true
Must be provide by feasibility squad
sf-segment
header
string
true
Must be provide by feasibility squad
sf-check-id
header
string(uuid)
true
Must use a UUID format
orgId
path
string
true
Organization name as it is registered in masstack
technical_id
path
string
true
Building identifier (Gescal 17)
unit_to_data
query
boolean
false
A 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)
Request example
1
2
3
4
5
6
7
curl -X GET https://feasibility.sta.masstack.com/v1/orgs/masmovil/coverage/buildings/{ technical_id} ?unit_to_data= 'true' \
-H "Accept: application/json" \
-H "sf-channel: string" \
-H "sf-segment: string" \
-H "sf-check-id: 497f6eca-6276-4993-bfeb-53cbbbba6f08"
Parameters
Name
In
Type
Required
Description
sf-channel
header
string
true
Must be provide by feasibility squad
sf-segment
header
string
true
Must be provide by feasibility squad
sf-check-id
header
string(uuid)
true
Must use a UUID format
orgId
path
string
true
Organization name as it is registered in Mas-Stack
id
path
string
true
Unit identifier (Gescal 37)
parent_coverage
query
boolean
false
Boolean to chose if return the parent coverage
Request example
1
2
3
4
5
6
7
curl -X GET https://feasibility.sta.masstack.com/v1/orgs/masmovil/coverage/units/{ id} ?parent_coverage= 'true' \
-H "Accept: application/json" \
-H "sf-channel: string" \
-H "sf-segment: string" \
-H "sf-check-id: 497f6eca-6276-4993-bfeb-53cbbbba6f08"
Parameters {id=“get__orgs_{orgid}_coverage_address-codes_vendor-parameter”}
Name
In
Type
Required
Description
sf-channel
header
string
true
Must be provide by feasibility squad
sf-segment
header
string
true
Must be provide by feasibility squad
sf-check-id
header
string(uuid)
true
Must use a UUID format
orgId
path
string
true
Organization name as it is registered in Mas-Stack
id
query
string
true
id parameter to match with a street ‘id’ in ElasticSearch (gescal12 o gescal17)
vendor
query
string
true
vendor parameter to match with a ‘vendor’
Request example
1
2
3
4
5
6
7
curl -X GET https://feasibility.sta.masstack.com/v1/orgs/masmovil/coverage/address-codes/vendor?id= 'string' & vendor = 'experian' ?id= string& vendor = experian \
-H "Accept: application/json" \
-H "sf-channel: string" \
-H "sf-segment: string" \
-H "sf-check-id: 497f6eca-6276-4993-bfeb-53cbbbba6f08"
Responses {id=“get__orgs_{orgid}_coverage_address-codes_vendor-response”}
Parameters {id=“get__orgs_{orgid}_coverage_streets_clarifiers_{gescal12}-parameter”}
Name
In
Type
Required
Description
sf-channel
header
string
true
Must be provide by feasibility squad
sf-segment
header
string
true
Must be provide by feasibility squad
sf-check-id
header
string(uuid)
true
Must use a UUID format
orgId
path
string
true
Organization name as it is registered in Mas-Stack
gescal12
path
string
true
g12
Request example
1
2
3
4
5
6
7
curl -X GET https://feasibility.sta.masstack.com/v1/orgs/masmovil/coverage/streets/clarifiers/123123123123 \
-H "Accept: application/json" \
-H "sf-channel: string" \
-H "sf-segment: string" \
-H "sf-check-id: 497f6eca-6276-4993-bfeb-53cbbbba6f08"
Responses {id=“get__orgs_{orgid}_coverage_streets_clarifiers_{gescal12}-response”}