Check service technical eligibility
Version 4.0.0
Endpoint
POST
undefined/checkServiceQualification
Copy
Check service qualification details for a specified service based on address or zipcode. Returns details of the available wireless services. (TMF 645)
oauth2
Get a JWT Token from AT&T's Azure AD
x-amf-describedBy:
headers:
Authorization:
responses:
200:
body:
application/json:
properties:
token_type:
default:Bearer
example:Bearer
expires_in:
format:int
ext_expires_in:
format:int
access_token:
example:eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c
400:
body:
application/json:
properties:
error:
example:unauthorized_client
error_description:
example:AADSTS700016: Application with identifier '6bb2748d-d916-4534-9145-ee8f598d2e01' was not found in the directory 'e741d71c-c6b6-47b0-803c-0f3b32b07556'. This can happen if the application has not been installed by the administrator of the tenant or consented to by any user in the tenant. You may have sent your authentication request to the wrong tenant.\r\nTrace ID: b82bea2f-5ee3-48a4-9774-4143176a6900\r\nCorrelation ID: b57403ef-e775-49f6-b40f-009ba759c301\r\nTimestamp: 2021-06-30 21:12:34Z
error_codes:
items:
format:int
timestamp:
example:2021-06-30 21:12:34Z
trace_id:
example:b82bea2f-5ee3-48a4-9774-4143176a6900
correlation_id:
example:b57403ef-e775-49f6-b40f-009ba759c301
error_uri:
example:https://login.microsoftonline.com/error?code=700016
x-amf-settings:
authorizationGrants:
0:client_credentials
clientCredentials:
tokenUrl:https://login.microsoftonline.com/e741d71c-c6b6-47b0-803c-0f3b32b07556/oauth2/v2.0/token
scopes:
*:
Query Parameters
- @typestringRequiredEnum: [WirelessNetworkCoverageCheckServiceQualification]Set qualifier in request
Header Parameters
- AuthorizationstringRequiredJWT Bearer Token. Token URL: https://login.microsoftonline.com/e741d71c-c6b6-47b0-803c-0f3b32b07556/oauth2/v2.0/token See example below. curl --location --request POST 'https://login.microsoftonline.com/e741d71c-c6b6-47b0-803c-0f3b32b07556/oauth2/v2.0/token' --header 'Content-Type: application/x-www-form-urlencoded' --header 'Cookie: fpc=Aswi39iZZIlGtV66yM1qCANKExLGAQAAAOqRbtgOAAAA; stsservicecookie=estsfd; x-ms-gateway-slice=estsfd' --data-urlencode 'scope=api://testHarnessCustomersStage1/.default' --data-urlencode 'grant_type=client_credentials' --data-urlencode 'client_id=6bb2748d-d916-4534-5148-ee8f598e1e00' --data-urlencode 'client_secret=k_43YrZE2S2v9o6__e.KOKc_V4h__csa3M' Note: client id/secret are not the right ones - contact API provider, via 'Request Access' button to get the correct on
- AcceptstringRequiredSpecifies the media type as "application/json".
- X-ATT-CorrelationIdstringA GUID1 provided by the client that typically serves as a reference ID used to correlate client activity with transactions processed by the server. It is generally paired with the X-ATT-ConversationId to help with tracing and observability.
- X-ATT-ClientIdstringA GUID1 derived from the JSON Web Token which represents the ClientId of the API Consumer who initiated the call flow at the Mule Gateway. This is used by downstream APIs to log data about the entity which initiated the call flow.
Body Parameters
- objectThe checkServiceQualification to be created. For a given address or zipcode check, the only required fields are @type, which must have a value of "WirelessNetworkCoverageCheckServiceQualification", and serviceQualificationItems, which should be a one-element array of type serviceQualificationItem.
- serviceQualificationItemarray of objectsRequired
A list of service qualification items.
A ServiceQualificationItem relates to a specific resource being checked in a qualification operation. - @typestringRequiredWhen sub-classing, this defines the sub-class entity namePattern: ^WirelessNetworkCoverageCheckServiceQualification$
Responses
Success -- the result of the service qualification will be found in the qualificationResult element of the response: "qualified" or "unqualified"
Body
application/json
- object
- statestringRequiredEnum: [done]Possible values for the state of a task
- qualificationResultstringRequiredQualification result for this serviceQualification. It could be: qualified (all qualification item are qualified),unqualified (At least one item unqualified)Pattern: ^[?-~ -%'-;=]{0,200}$
- idstringRequiredunique identifierPattern: ^[?-~ -%'-;=]{0,200}$
- serviceQualificationItemarray of objectsRequired
A list of service qualification items.
A ServiceQualificationItem relates to a specific resource being checked in a qualification operation. - checkServiceQualificationDatestringRequiredDate when the serviceQualification was submitted
- @typestringRequiredWhen sub-classing, this defines the sub-class entity namePattern: ^WirelessNetworkCoverageCheckServiceQualification$
- @baseTypestringRequiredWhen sub-classing, this defines the super-classPattern: ^CheckServiceQualification$