Hi all,
I am doing an integration with an enpoint that describes a PATCH request for
the REST API. The docs say:
Method: PATCH
Header: Authorization: Basic {Base64encodedUserPassword}
Accept-Encoding: gzip
Url:
https://instance.anatwine.com/brand/integration/{version}/{brandCode}/orders/{anatwineOrderId}
Body : <replace><brandOrderAcknowledged>true</brandOrderAcknowledged></replace>
But there is no PATCH method in 4D. I tried using both PUT and POST and both
return errors. At this point I do not know if this is a 4D limitation or
something to do with the body I am sending. I just get back a 500 error: with
the message:
Response
Execution of the expression "StringUtils.replace(sessionVars.outputFilename,
'part', 'xml')" failed.
I have also tried passing a fully formed XML in the body rather than just the
example data with the same result. I have asked the enpoint for assistance but
2 days have passed and they have not yet come back to me...
Regards, Dougie
________________________________________________________
telekinetix Limited- J. Douglas Cryer
Phone : 01234 761759 Mobile : 07973 675 218
2nd Floor Broadway House, 4-6 The Broadway, Bedford MK40 2TE
Email : [email protected] <mailto:[email protected]> Web :
http://www.telekinetix.com <http://www.telekinetix.com/>
________________________________________________________
**********************************************************************
4D Internet Users Group (4D iNUG)
FAQ: http://lists.4d.com/faqnug.html
Archive: http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub: mailto:[email protected]
**********************************************************************