End-Customer Lookup

Version v1
download iconDownload spec

Endpoint

POST
https://att-endcustomerlookup-eapi.gw.cloud.att.com/api/v1/customerAccountLookup

The purpose of this API endpoint is to provide a list of up to five end customers corresponding to the targeted fuzzy account name and address.

arrowRequest

Header Parameters

            Body Parameters

            Responses

            arrowBody

            application/json
              • [
                {
              • }
                ]

            REQUEST

            1
            2
            3
            4
            5
            6
            7
            8
            9
            10
            11
            12
            13
            14
            15
            16
            17
            18
            19
            20
            21
            22
            curl --request POST \
                 --url https://att-endcustomerlookup-eapi.gw.cloud.att.com/api/v1/customerAccountLookup \
                 --header 'accept: application/json' \
                 --header 'client_id: string' \
                 --header 'client_secret: string' \
                 --header 'content-type: application/json' \
                 --header 'source: string' \
                 --header 'x-trace-id: string' \
                 --header 'x-transaction-id: string' \
                 --data '
            {
              "spId": "10067",
              "accountName": "Texas",
              "address": {
                "street": "Pecan",
                "city": "Houston",
                "state": "Houston",
                "country": "USA",
                "zipCode": "75469"
              }
            }
            '

            RESPONSE

            1
            2
            3
            4
            5
            6
            7
            8
            9
            10
            11
            12
            13
            14
            15
            16
            17
            18
            19
            20
            21
            22
            23
            [
              {
                "accountName": "string",
                "accountId": "string",
                "acid": "string",
                "salesSegment": "string",
                "subAccountId": "string",
                "contractStatus": "string",
                "parentPartnerAccId": "string",
                "partnerId": "string",
                "loaStatus": "string",
                "allianceStatus": "string",
                "accountStatus": "string",
                "exception": "string",
                "accountAddress": {
                  "street": "string",
                  "city": "string",
                  "state": "string",
                  "country": "string",
                  "zipCode": "string"
                }
              }
            ]