Initiate Contract AIAB

Version v1
download iconDownload spec

Endpoint

POST
https://att-contract-eapi.gw.cloud.att.com/api/v1/contract/aiab

Create a contract for the submitted order.

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
            23
            24
            25
            26
            27
            28
            29
            30
            31
            32
            33
            34
            35
            36
            37
            38
            39
            40
            41
            42
            43
            44
            45
            curl --request POST \
                 --url https://att-contract-eapi.gw.cloud.att.com/api/v1/contract/aiab \
                 --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 '
            {
              "quoteId": "0Q0KQ000000CvE40AK",
              "contractType": "Quote-Based",
              "contractDetails": {
                "contactObj": {
                  "contactName": "David",
                  "contactTitle": "test",
                  "contactPhone": "1234567890",
                  "contactEmail": "alpha@test.com",
                  "contactLastName": "EAPI2",
                  "contactFirstName": "David",
                  "contactMailingCity": "Modesto",
                  "contactMailingState": "CA",
                  "contactMailingStreet": "3430 Tully rd tst1",
                  "contactMailingCountry": "US",
                  "contactMailingPostalCode": "07748-1911"
                },
                "customerInfoBlock": {
                  "masterAgreementNumber": "",
                  "newMasterAgreementNeeded": true
                },
                "solutionProviderContactInfoBlock": {
                  "spCity": "DALLAS",
                  "spState": "TX",
                  "spEmail": "demoagent@test.com",
                  "spStreet": "2008 S AKWARD ST, SUITE 3700",
                  "spZipCode": "75301",
                  "spCountry": "US",
                  "spLastName": "Agent1",
                  "spFirstName": "Demo1",
                  "spTelephone": "1234567890"
                }
              }
            }
            '

            RESPONSE

            1
            2
            3
            4
            5
            6
            7
            8
            {
              "code": 0,
              "message": "string",
              "traceId": "string",
              "description": "string",
              "transactionId": "string",
              "esignRequestId": "string"
            }