Dear user, sorry we cannot identify the issues in Japanese, I tried to translated your post into English and provide our feedback first. Please let me know if we didn't get your thread correctly. And since there is your sensitive information in the screenshot, I removed it.
I checked the customer quote numbers you provided, I cannot find any transactions for them, may I know did you post it in Test environment?
And for the quote number in the response, I can find the transactions, and yes, you can use it as a reference.
For more development specs, you can refer to our developer's portal. https://www.ti.com/swc/developer-apis/quote/quote-api.html
Thank you.
Dear Team,
I apologize for my mistake.
Please confirm the following statement.
I am doing Backlog quote create test using the test environment.
I set a file with multiple data, but the Response has only one data.
And the contents of the files in the Set and Response are different.
Please tell me if this is a specification of the test environment.
Thank you.
Dear User,
I tried to search the three quote requests in your screenshot, but I cannot find any transactions. Could you help to check did you POST it to our Test environment?
And I can see for the response you received, it's actually the response of your another request as below:
Dear Team,
Thank you for your response.
I tried the test again.
I received the following response file.
{
"errors" : [
{
"errorCode" : "ERR-BKG-QUOTE-API-0500",
"type" : "ERROR",
"reason" : "System Error",
"message" : "System error has occurred. Contact TI API Support (https://api-portal.ti.com/support)."
}
]
}
The file I sent is as follows.
{
"quotes":{
"checkoutProfileId":"aaa",
"customerQuoteNumber":"bbb",
"quoteReason":"NO", "requestedUnitPriceCurrencyCode":"USD", "contactName":"ccc", "contactEmailAddress":"abc@dtcom.jp", "contactPhoneNumber":"012-345-6789", "endCustomerCompanyName":"ddd", "endCustomerWebsite":"eee","lineItems":[
{
"tiPartNumber":"SN74LS00N",
"quantity":3000,
"requestedUnitPrice":1.2,
"competitorName":"fff",
"competitorPartNumber":"abcdef", "customerItemComments":"testtesttest", "competitorUnitPrice":"2.4",
"competitorCurrencyCode":"JPN"
}
]
}
}
Can you please tell me what caused the error?
Thank you.
Hi, I can see you have successful transactions for the quote, so it might be some transient issues, could you help to try again? Thank you.
Dear Team,
Certainly, I know of one form of data that would be successful.
However, I would like to test sending all items in the schema.
I am sending 2data in the following form, but it is returning 422 error codes.
{
"quotes":{
"checkoutProfileId":"aaa",
"customerQuoteNumber":"bbb",
"quoteReason":"NO",
"requestedUnitPriceCurrencyCode":"USD",
"contactName":"ccc",
"contactEmailAddress":"abc@dtcom.jp",
"contactPhoneNumber":"012-345-6789",
"endCustomerCompanyName":"ddd",
"endCustomerWebsite":"eee",
"lineItems":[
{
"tiPartNumber":"SN74LS00N",
"quantity":3000,
"requestedUnitPrice":1.2,
"competitorName":"DTC",
"competitorPartNumber":"abcdef",
"customerItemComments":"testtesttest",
"competitorUnitPrice":"2.4",
"competitorCurrencyCode":"JPN\r"
}
]
}
}
{
"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."
}
]
}
Please let me know the cause and remedy.
Also, when sending multiple data, please let me know if there is only one responce or the number of data will be delivered.
Thank you.
Hi, If you want to send the quote for multiple items, you can use one quote number and list those materials in the "lineItems", and in the response, you will get the feedback for the multiple items as well.
for example:
Dear Team,
Thank you for your response.
Sorry for asking so many questions.
I have two questions.
1. I am unable to create multiple test data successfully.
Can you give me an example that response is multiple data?
I would like it to be data with mixed success and error patterns.
2. Could you also give us an example of test data with all items filled in?
Thank you.
Hi,
1. may I know what kind of multiple test data you want to send in request? we support one quote number with multiple items, but cannot send multiple quotes at one time. So there is no data with mixed success and error patterns.
2. Please check the below response sample: