Document Relation
Create document relation
Create a new document relation object.
post/api/v1/document_relations
Request body
Example request
{
"id": 1,
"type": "export",
"annotation": "https://example.rossum.app/api/v1/annotations/314159",
"documents": [
"https://example.rossum.app/api/v1/documents/124",
"https://example.rossum.app/api/v1/documents/125"
],
"url": "https://example.rossum.app/api/v1/document_relations/1"
}Response
Created
Example response
{
"id": 1,
"type": "export",
"annotation": "https://example.rossum.app/api/v1/annotations/314159",
"documents": [
"https://example.rossum.app/api/v1/documents/124",
"https://example.rossum.app/api/v1/documents/125"
],
"url": "https://example.rossum.app/api/v1/document_relations/1"
}