POST | /api/documentuploads/registerdocuments |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Documents | body | List<RegisterDocument> | Yes | List of queued documents to register in background |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
RegistrationProfileID | form | Guid | No | |
Values | form | List<RegistrationValue> | No | |
Processes | form | List<Process> | No | |
DocumentUploadId | form | string | No | |
DocumentId | form | Guid? | No | |
StandardDocumentID | form | Guid? | No | |
HasUnsavedChangesInDocument | form | bool? | No | |
IsOpenedFromNonDMSLocation | form | bool? | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Key | form | Guid | No | |
Value | form | string | No | |
ShadowValue | form | string | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
ID | form | int | No | |
Title | form | string | No | |
Description | form | string | No | |
Note | form | string | No | |
Coordinator | form | string | No | |
Urgent | form | bool | No | |
Transitions | form | List<Transition> | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
ID | form | Guid | No | |
Reason | form | string | No | |
DelayDate | form | DateTime? | No | |
DelayReason | form | string | No | |
UserIDs | form | List<int> | No | |
GroupIDs | form | List<int> | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
RegisteredDocumentUploads | form | List<RegisteredDocumentUpload> | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
DocumentUploadID | form | int | No | |
IsSuccess | form | bool | No | |
Message | form | string | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /api/documentuploads/registerdocuments HTTP/1.1
Host: digiofficeapigateway.deltares.nl
Accept: text/csv
Content-Type: text/csv
Content-Length: length
{"Documents":[{"RegistrationProfileID":"00000000-0000-0000-0000-000000000000","Values":[{"Key":"00000000-0000-0000-0000-000000000000","Value":"String","ShadowValue":"String"}],"Processes":[{"ID":0,"Title":"String","Description":"String","Note":"String","Coordinator":"String","Urgent":false,"Transitions":[{"ID":"00000000-0000-0000-0000-000000000000","Reason":"String","DelayDate":"0001-01-01T00:00:00.0000000","DelayReason":"String","UserIDs":[0],"GroupIDs":[0]}]}],"DocumentUploadId":"String","DocumentId":"00000000-0000-0000-0000-000000000000","StandardDocumentID":"00000000-0000-0000-0000-000000000000","HasUnsavedChangesInDocument":false,"IsOpenedFromNonDMSLocation":false}]}
HTTP/1.1 200 OK Content-Type: text/csv Content-Length: length {"RegisteredDocumentUploads":[{"DocumentUploadID":0,"IsSuccess":false,"Message":"String"}]}