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.
Hi Riccardo,
I'm confirming if you've been approved for the Quote API. Due to holiday in the US, I should have an answer for you on tomorrow, Tuesday.
Regards,
Faye
Hi Riccardo,
You should be approved. Can you re-test and confirm? Thanks and sorry for the delay.
Regards,
Faye
I tested the POST to the endpoint:
transact.ti.com/.../test
and now I get this error:
{
"errors": [
{
"errorCode": "TI-API-0422",
"type": "Validation",
"reason": "Invalid JSON",
"message": "JSON payload is empty or in invalid format. Please fix it and resend the request."
}
]
}
This is the JSON i provided:
{
"quote": {
"endCustomerCompanyName": "TESTCOMPANY",
"requestedUnitPriceCurrencyCode": "USD",
"lineItems": [
{
"tiPartNumber": "ADS1018IDGST",
"quantity": 10000,
"requestedUnitPrice": 1.4
}
]
}
}
This are the headers:
{
"accept": "application/json",
"Content-Type": "application/json",
"Authorization": "Bearer ............................"
}
I cannot understand what is missing.
Ok, I discovered now I was pointing to the documentation of the old portal (V2), now I found the right documentation on the new portal https://www.ti.com/swc/developer-apis/quote/quote-api.html. I will try again. Thanks.
Glad everything is working now. I'm moving forward to close this thread.
Regards,
Faye
**Attention** This is a public forum