Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Update a document for an account.


Endpoint ID:

1065
Method:

PUT

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


documentIDThe ID of the document to be retrieved
Request body:None
Example Request
{
	"documentID": 12345
	"content": 123456,
	"compressed": "John Doe",
	"createdBy": "mailbox@mailserver.com",
	"description": "Description of the document",
	"expiryDate": "31-12-2016 23:59:59",
	"mimeType": "image",
	"name": "Test Document",
	"sizeCompressed": 500,
	"sizeOriginal": 1500,
	"srid": 12345,
	"updatedBy": "mailbox@mailserver.com"
}

Response body:

None


Status codes:200

Document updated with success

  • No labels