Document
Creates a document
POST
https://demo.icure.cloud/rest/v2/document
Request Body
body*
Document
Deletes a document's attachment
DELETE
https://demo.icure.cloud/rest/v2/document/{documentId}/attachment
Path Parameters
documentId*
String
Deletes documents
POST
https://demo.icure.cloud/rest/v2/document/delete/batch
Request Body
body*
ListOfIds
List documents with no delegation
GET
https://demo.icure.cloud/rest/v2/document/woDelegation
Keys must be delimited by coma
Query Parameters
limit
Integer
Gets a document
GET
https://demo.icure.cloud/rest/v2/document/{documentId}
Path Parameters
documentId*
String
Load document's attachment
GET
https://demo.icure.cloud/rest/v2/document/{documentId}/attachment/{attachmentId}
Path Parameters
documentId*
String
attachmentId*
String
Query Parameters
enckeys
String
fileName
String
Gets a document
GET
https://demo.icure.cloud/rest/v2/document/externaluuid/{externalUuid}
Path Parameters
externalUuid*
String
Gets a document
POST
https://demo.icure.cloud/rest/v2/document/byIds
Request Body
body*
ListOfIds
Get all documents with externalUuid
GET
https://demo.icure.cloud/rest/v2/document/externaluuid/{externalUuid}/all
Path Parameters
externalUuid*
String
List documents found By type, By Healthcare Party and secret foreign keys.
GET
https://demo.icure.cloud/rest/v2/document/byTypeHcPartySecretForeignKeys
Keys must be delimited by coma
Query Parameters
documentTypeCode*
String
hcPartyId*
String
secretFKeys*
String
List documents found By Healthcare Party and secret foreign keys.
GET
https://demo.icure.cloud/rest/v2/document/byHcPartySecretForeignKeys
Keys must be delimited by coma
Query Parameters
hcPartyId*
String
secretFKeys*
String
Updates a document
PUT
https://demo.icure.cloud/rest/v2/document
Request Body
body*
Document
Updates a batch of documents
PUT
https://demo.icure.cloud/rest/v2/document/batch
Returns the modified documents.
Request Body
body*
List
Creates a document's attachment
PUT
https://demo.icure.cloud/rest/v2/document/{documentId}/attachment
Path Parameters
documentId*
String
Query Parameters
enckeys
String
Request Body
body*
Object
Creates a document's attachment
PUT
https://demo.icure.cloud/rest/v2/document/{documentId}/attachment/multipart
Path Parameters
documentId*
String
Query Parameters
enckeys
String
Update delegations in healthElements.
POST
https://demo.icure.cloud/rest/v2/document/delegations
Keys must be delimited by coma
Request Body
body*
List
Creates a document's attachment
PUT
https://demo.icure.cloud/rest/v2/document/attachment
Query Parameters
documentId*
String
enckeys
String
Request Body
body*
Object
Last updated
Was this helpful?