Is this last issue simply because I need to add a sequential id ot the payload?
eg:
{"id": 13, "method":"SupplierCreditSearch","params":{"CompanyID":0,"StartDate":"2020-11-15"}}
Please confirm.
Thanks.
Retrieving Vendor Credit Notes Modified Since
Forum rules
- Check the documentation first. Before posting questions, please check the documentation to ensure it doesn't already cover what you need.
- No spam. All automated messages, advertisements, and links to competitor websites will be deleted immediately.
- Post in relevant sub-forums only. Messages posted in the wrong topic area will be removed and placed in the correct sub-forum by moderators.
- Respect other users. No flaming or abusing fellow forum members. Users who continue to post inflammatory, abusive comments will be deleted from the forum after two warnings are issued by moderators.
- Harassment. No threats or harassment of other users will be tolerated. Any instance of threatening or harassing behavior is grounds for deletion from the forums.
- Adult content. No profanity or pornography is allowed. Posts containing adult material will be deleted.
- Bandwidth. All images and signatures must be 500 x 500 pixels or smaller. Posts containing over-sized images and signatures will be removed.
- Illegal content. No re-posting of copyrighted materials or other illegal content is allowed. Any posts containing illegal content or copyrighted materials will be deleted.
Re: Retrieving Vendor Credit Notes Modified Since
Hi John,
There is no requirement to add an id to each request. If you are getting this error it means the oauth_signature you have sent is not matching what we are expecting. You may need to check how you are generating the signature for subsequent calls.
There is no requirement to add an id to each request. If you are getting this error it means the oauth_signature you have sent is not matching what we are expecting. You may need to check how you are generating the signature for subsequent calls.
Re: Retrieving Vendor Credit Notes Modified Since
HI Thanks for the response,
I still don't understand how the signature can be different. I am testing in Postman and am literally just hitting the Send button on the exact same POST. Nothing I can see is changing.
I'm, not too concerned as it only seems to fail approx 1 in 4 times so can just repeat the call in our integration until we get a successful response. Was just wondering if this behaviour in the API has been seen before.
I still don't understand how the signature can be different. I am testing in Postman and am literally just hitting the Send button on the exact same POST. Nothing I can see is changing.
I'm, not too concerned as it only seems to fail approx 1 in 4 times so can just repeat the call in our integration until we get a successful response. Was just wondering if this behaviour in the API has been seen before.
-
nikolaiblackie
- Posts: 26
- Joined: Sun Jun 24, 2018 10:01 pm
- Contact:
Re: Retrieving Vendor Credit Notes Modified Since
Would be great to see ability to search for credits added to the top levelMuqeet wrote: ↑Wed Nov 25, 2020 4:37 am Hello John,
A top level vendor credit notes endpoint would solve your issue, however, unfortunately we still do not have that.
Even though vendorReceiptId is a unique identifier you can’t source the data from the API unless you know the order number it’s associated with.
Nikolai Blackie
www.adaptiv.nz
www.adaptiv.nz
Re: Retrieving Vendor Credit Notes Modified Since
Hi,
To follow on from this posts underlying issue, is a top level vendor credit notes endpoint now available ?
When using modified since filter on the initial vendor order API to get a list of new orders & then interrogating receipts for it only support invoices.
What about credit notes ?
VendorReceipts endpoint has been mentioned but this relies on previously knowing which receipt ID points to a credit.
Is there something I'm missing ??
Any insight on how to efficiently get credit notes is very much appreciated.
Many thanks
EARS
To follow on from this posts underlying issue, is a top level vendor credit notes endpoint now available ?
When using modified since filter on the initial vendor order API to get a list of new orders & then interrogating receipts for it only support invoices.
What about credit notes ?
VendorReceipts endpoint has been mentioned but this relies on previously knowing which receipt ID points to a credit.
Is there something I'm missing ??
Any insight on how to efficiently get credit notes is very much appreciated.
Many thanks
EARS
DEVELOPER CENTER