GET PlanCare2Api/Documents/MyDocuments/Content?documentId={documentId}

Get the content of a MyDocument document.

Requires 'Start' permission for function Documents {1EF42D55-A0FE-49F0-91C3-CD03DD18D244}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
documentId

Document identifier

integer

Required

Body Parameters

None.

Response Information

Resource Description

The document content.

DocumentContent
NameDescriptionTypeAdditional information
OriginalFilename

Filename the document original was given. Should be 0 for new instance

string

None

Content

Base64encoded content of the document

Collection of byte

None

Response Formats

application/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'application/json'. Exception message: Er is een uitzondering opgetreden van het type System.OutOfMemoryException.

text/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'text/json'. Exception message: Er is een uitzondering opgetreden van het type System.OutOfMemoryException.

application/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: Er is een uitzondering opgetreden van het type System.OutOfMemoryException.

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: Er is een uitzondering opgetreden van het type System.OutOfMemoryException.