tdevapigists
7/6/2017 - 12:58 AM

request-locId-CAD.sh

# Authorization header value should be in the format of "Bearer xxx" where xxx is access token returned 
# from a previous GET https://api.telstra.com/v1/oauth/token request.
TOKEN="<access_token>"
locationId="<location identifier>"
customerAuthorityDate="<customerAuthorityDate identifier>"

curl -X GET \
-H "Authorization: Bearer $TOKEN" \

"https://api.in.telstra.com.au/v1/nbnSiteQualification/location-details/$locationId?customerAuthorityDate=$customerAuthorityDate"