Skip to main content

Receipt Copy - REST API

How to copy a document via the REST API?

Written by Petr Pech

Just like in the application, a document can also be copied via the REST API interface.

Example:

<winstrom version="1.0">
<skladovy-pohyb sourceId="1179">
<datVyst>2022-09-11</datVyst>
</skladovy-pohyb>
</winstrom>

Where sourceId corresponds to the ID of the record being copied. The datVyst attribute will be assigned to the newly created record.

Did this answer your question?