UploadMetadata

Upon successful execution of ValidateDocumentFields where no error message was returned, the metadata is uploaded using the JSON Post UploadMetadata.

 

Note: UploadMetadata POST can be executed without first executing ValidateDocumentFields.

An example of the HTTP headers:

POST https://Server/ConnectorService.svc/json/UploadMetadata HTTP/1.1
Content-Type: application/json; encoding=utf-8
Accept: application/json
Accept-Charset: utf-8
Host: Server

An example of the JSON body:
{
  "ConfigurationUniqueId": "f7401f61-5401-4f54-ba47-0efc29fc77a1",
  "UniqueId": "43de0ccf-bceb-431c-810d-8dcf8f6ca7c2",
  "Name": "Test iConnector Server",
  "DeviceUniqueId": null,
  "Documents": [
    {
      "DocumentTypeUniqueId": "878252e8-75b7-443f-ba87-6d082254eab4",
      "UniqueId": "47df8025-3b32-4c16-a826-82686c827a82",
      "Name": "Invoice",
      "SaveNameTemplate": null,
      "DocumentFormat": "PDF",
      "Fields": [
        {
          "Name": "InvoiceNumber",
          "Value": "33233"
        },
        {
          "Name": "InvoiceDate",
          "Value": "2014-06-01"
        },
        {
          "Name": "InvoiceStatus",
          "Value": "Received"
        }
      ],
      "CustomConfiguration": null
    }
  ],
  "CustomConfiguration": null,
  "CustomData": "customer-id-12345"
}

 

An example of the JSON response:

""

 

 

The following explain the JSON body:

 

 
 
Create your own Knowledge Base