使用沙箱的API同意上传收据图像无法正常工作

时间:2019-07-19 06:32:50

标签: api sandbox rest-client concur

尝试使用API​​将收据图像上传到并发沙箱帐户

RestClient.post "https://implementation.concursolutions.com/api/v3.0/expense/receiptimages", 433994 byte(s) length, "Accept"=>"application/json", "Accept-Encoding"=>"gzip, deflate", "Authorization"=>"Bearer XXJKV1QiLCJhbGxxx","Content-Type"=>"application/pdf"

但是我不断收到以下错误消息

RestClient DEBUG  # => 400 BadRequest | application/json 70 bytes

ImagingUrl is null or empty for EntityCode: tXXXXX

我点击了此API链接-https://www.concursolutions.com/api/docs/index.html#!/ReceiptImages/Post_user_post_2

0 个答案:

没有答案