Skip to main content
Skip table of contents

Response Object – GenericDocument

Field

Type

Description

DocumentId

int

The unique ID of the document, allocated by the Gateway

DocumentUID

guid

The unique GUID identifying this document

Type

int

The document type contained with the payload

SourceSiteId

int

The siteId of the document source (if applicable, else 0)

SourceSupplierId

 

int

The PharmX supplier ID of the document source (if applicable, else 0)

SourceReference

string (50)

The reference provided by the source of the document

TargetSiteId

int

The siteId of the document target (if applicable, else 0)

TargetSupplierId

 

int

The PharmX supplier ID of the document target (if applicable, else 0)

TargetAccountNumber

string (50)

The reference provided by the source of the document

Created

date/time

The (UTC) date and time the document was created on the Gateway, allocated by the Gateway

Payload

string

The payload document, type defined by <type>

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.