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: [Backlog API] Invalid API call as no apiproduct match found

Part Number: TI-API

Hello,

I am new to this API, and I encountered the following issue when I was running the examples on your website Backlog API suite - Quote API | TI API Portal.

I've googled, but all the answers on the forum cannot resolve my issue.

Always fail to use "Backlog quote API" and "Backlog order APIs".

We always get "Invalid API call as no apiproduct match found" when using "Backlog quote API" and "Backlog order APIs".

Precisely, the following two commands always fail.

Fullscreen
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
curl -X 'POST' \
'https://transact-pre.ti.com/v2/backlog/quotes' \
-H 'accept: application/json' \
-H 'Authorization: Bearer {Token hidden intentionally}' \
-H 'application/x-www-form-urlencoded' \
-d '{
"quote": {
"endCustomerCompanyName": "Company XYZ",
"requestedUnitPriceCurrencyCode": "USD",
"lineItems": [
{
"tiPartNumber": "AFE7799IABJ",
"quantity": 2500,
"requestedUnitPrice": 1.2
}
]
}
}'
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Fullscreen
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
curl -X 'POST' \
'https://transact-pre.ti.com/v2/backlog/orders' \
-H 'accept: application/json' \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer {Token hidden intentionally}' \
-d '{
"order": {
"customerPurchaseOrderNumber": "INSERT PO NUMBER HERE",
"shipToAccountNumber": "INSERT SHIPTO NUMBER HERE",
"lineItems": [
{
"customerLineItemNumber": "1",
"tiPartNumber": "AFE7799IABJ",
"customerAnticipatedUnitPrice": 0.202,
"quoteNumber": "12345678",
"customerCurrencyCode": "USD",
"schedules": [
{
"requestedQuantity": 2000,
"requestedDeliveryDate": "2025-05-01"
}
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Both of them responded with

Fullscreen
1
2
3
4
5
6
7
8
{
"fault":{
"faultstring":"Invalid API call as no apiproduct match found",
"detail":{
"errorcode":"keymanagement.service.InvalidAPICallAsNoApiProductMatchFound"
}
}
}
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Authentication was done successfully.

For all the codes posted here, I ran them with the token requested with the following command.

Fullscreen
1
2
3
4
5
6
curl --request POST \
--url 'https://transact.ti.com/v1/oauth/accesstoken' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data grant_type=client_credentials \
--data client_id={ID hidden intentionally} \
--data client_secret={secret hidden intentionally}
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

With this token, the "store/product" command can be executed successfully (the response is correct).

Fullscreen
1
2
3
4
curl -X 'GET' \
'https://transact.ti.com/v2/store/products/AFE7799IABJ?currency=USD&exclude-evms=true' \
-H 'accept: application/json' \
-H 'Authorization: Bearer {Token hidden intentionally}'
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Therefore, I consider that it's not an issue regarding authentication.

I wonder if I need to apply for permissions so that I can use "Backlog quote API" and "Backlog order APIs"?

Or anything I did was wrong?

Thanks very much for your help!

Brad

  • Hi Brad,

    As you suspected, using the backlog API suite does require additional permission. Please contact your sales representative about establishing a direct customer relationship with TI.

    Thanks and best regards,
    Paul

**Attention** This is a public forum