Endpoint ID: | 1061 | |||||
Method: | GET | |||||
URL: | /user/dp-key/{entityID}/documents /user/ext-key/{externalRelationID}/{externalRelationType}/documents | |||||
entityID | dialogportalâ„¢ master key that uniquely identifies account to return data for | |||||
externalRelationID | External key that uniquely identifies account to return data for | |||||
externalRelationType | Type of external key | |||||
Request body: | None | |||||
Response body: | JSON data with properties corresponding to the fields in the specified contract. The result will always hold the dialogportalâ„¢ master key and if the app making the request is configured to use a specific external key, this key is also included in the response. Please note that fields with null value is not returned by this end point. Example Response [ { "content": 123456, "compressed": "John Doe", "createdBy": "mailbox@mailserver.com", "createdDate": "01-01-2016 12:00:00", "description": "Description of the document", "documentID": 1, "expiryDate": "31-12-2016 23:59:59", "mimeType": "image", "name": "Test Document", "sizeCompressed": 500, "sizeOriginal": 1500, "srid": 12345, "updatedBy": "mailbox@mailserver.com", "updatedDate": "01-03-2016 12:00:00" } ] | |||||
Status codes: | 200 | Documents found with success | ||||
404 | Account/document was not found The following sub codes may be returned:
|
Retrieves documents for an account.
Manage space
Manage content
Integrations