你好,在API中”“库存和定价 API” 查询物料显示错误(在E2E这个界面我不能截图上传),以下是复制的界面
Name | Description |
---|---|
currency
string
(query)
|
Specific currency for pricing information. Specify the currency using ISO 4217 alphabetic codes. If not specified, pricing in USD will be provided. Default value : USD |
exclude-evms
boolean
(query)
|
Flag to exclude EVM (Evaluation Module) products from the result. If not specified, EVMs are included. Default value : false |
tiPartNumber *
string
(path)
|
A URL encoded unique identifier for the product (Orderable Part Number). Note: Part numbers that include /NOPB must be encoded prior to making the API call or the response will be a “not found” error. For example, LP2982AIM5-3.3/NOPB must be encoded as LP2982AIM5-3.3%2FNOPB. Make sure the encoding process does not have linefeed or new line breaks, such as LP2989IM-2.5%2FNOPB%0A%0A as this too will result in a product “not found” error. |
curl -X 'GET' \
'transact.ti.com/.../TPS62671 \
-H 'accept: application/json'
transact.ti.com/.../TPS62671
Code | Details |
401 |
Error: Unauthorized Response bodyDownload
Response headerscache-control: no-store content-length: 381 content-type: application/json pragma: no-cache |
Code | Description | Links |
200 |
OK Media type
|
您好,根据错误提示您在连接API 时候验证失败。请您确保使用的是您最新的Credentials (包含Consumer Key & Consumer Secret) 在您授权的API PRODUCT 下单。我也加了您为好友,您通过后可以私信发给我您使用的Consumer Key & Consumer Secret以及您的出错截图。谢谢。