SP Account Lookup

Version v1
download iconDownload spec

Endpoint

GET
https://att-endcustomerlookup-eapi.gw.cloud.att.com/api/v1/solutionProviderContactLookup

The invocation of this method for this endpoint provides you with list of contacts available for SP who has made the request. This operation is designed to fetch name, address details, LOA status, Contract details, partner details associated with the specified subAccountId.

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 GET \
                 --url https://att-endcustomerlookup-eapi.gw.cloud.att.com/api/v1/solutionProviderContactLookup \
                 --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
            24
            25
            26
            27
            28
            29
            30
            [
              {
                "type": "Partner Contact",
                "firstName": "test",
                "middleName": "test",
                "lastName": "test",
                "title": "MR",
                "email": "test@gmail.com",
                "telephone": "*************",
                "country": "US",
                "streetAddress": "1st test,Mission St",
                "city": "San Francisco",
                "state": "CA",
                "zipCode": "91000"
              },
              {
                "type": "Partner Contact",
                "firstName": "test",
                "middleName": "test",
                "lastName": "test",
                "title": "test",
                "email": "test@example.com",
                "telephone": "1234567890",
                "country": "US",
                "streetAddress": "test street,Suite 400",
                "city": "Chicago",
                "state": "IL",
                "zipCode": "60631"
              }
            ]