This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TI-API: Test TI 2.0 Order API test get the error

Part Number: TI-API
Hi TI API support team,
I has complete the key generation step to get the ID & secret.
The profile ID has been done for the each sold-to/ship-to code.
I try to use the key to access the order API test by following steps.
1. get token from TI 1.0 ( transact.ti.com/.../accesstoken )
2. use bearer token to access the test order API: transact.ti.com/.../test 
And got the below error message, please help to check, thanks.
{
    "fault": {
        "faultstring""Invalid API call as no apiproduct match found",
        "detail": {
            "errorcode""keymanagement.service.InvalidAPICallAsNoApiProductMatchFound"
        }
    }
}
  • Su Susan,

    Before you can execute the test API, you need to click on "Authorize" and provide you client_id and client_secret (see example below).


    If this does not resolve your problem, then, I will need you to provide me with more details.  

    Regards,

    Faye

  • Hi Faye

    I use the authtication before test API. But it still has the same issue.

    Request data as below, please help to check.

    {
    "order": {
    "checkoutProfileId": "",
    "customerPurchaseOrderNumber": "12345",
    "endCustomerCompanyName": "USI",
    "expediteShipping": false,
    "customerOrderComments": [
    {
    "message": "MY TEST ORDER"
    }
    ],
    "lineItems": [
    {
    "customerLineItemNumber": 1,
    "tiPartNumber": "NE555DR",
    "customerPartNumber": "USIPN",
    "customReelIndicator": false,
    "quantity": 1,
    "customerItemComments": [
    {
    "message": "SOME COMMENT GOES HERE"
    }
    ]
    },
    {
    "customerLineItemNumber": 2,
    "tiPartNumber": "LM358PWR",
    "quantity": 1
    }
    ]
    }
    }

  • Hi Su Susan,

    One of the APIs has not been approved yet.  I am inquiring and will respond to you on tomorrow.

    Regards,

    Faye

  • Hi Su Susan,

    You should now be able to test the Order API, and not get the authentication error.  Let us know if you experience other problems. I am closing this thread.

    Regards,

    Faye

**Attention** This is a public forum