tdevapigists
1/18/2018 - 3:43 AM

searchMF-Request-with-apikey.json

searchMF-Request-with-apikey.json

# Authorization header value should be in the format with key as apikey and value as customerkey
# from a previous GET https://api.telstra.com/v1/oauth/token
TOKEN="<access_token>"
CORRELATION_ID="<unique correlation id>"

curl -X GET \
-H "Authorization: Bearer $TOKEN" \ 
-H "ds-correlation-id :$CORRELATION_ID" \
"https://api.telstra.com/v1/svc-structured-address-service/addresses/nbnLocationId/LOC170428022798?reqaddformatout=unstructuredAUPost,structured"