Skip to content

uploadPartsInvoiceDocument

Supported, no replacement yet

This endpoint remains fully supported. No replacement exists in the new API yet, and no action is needed. When a replacement ships you will get 12 months' notice, and this site will be updated.

Reference

/rest/stockMgmt/uploadPartsInvoiceDocuments

POST
Uploads document and cre links to partsInvoice.

Parameters
upfile - file to upload
partsInvoiceId - PartsInvoice.id
description - document description

example code:
<form method="POST" enctype="multipart/form-data" action="/<appContext>/rest/stockMgmt/uploadInvoiceDocuments">File to upload: <input type="file" name="upfile">
    <br/>Description: <input type="text" name="description" value="inv doc">
      <br/>PartsInvoiceId: <input type="text" name="partsInvoiceId" value="1">
        <br/>Created By:   <input type="text" name="createdBy" value="35">
          <br/>Created Date: <input type="text" name="createdDate" value="25/01/2010">
            <br/>
            <input type="submit" value="Press">to upload the file!        </form>


See the Stock Management API matrix for the full list of endpoints in this category.