尝试使用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