POST | /api/DMS/UploadFile |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
RegistrationProfileID | body | Guid | No | |
NavigationPath | body | string | No | |
FileName | body | string | No | |
Description | body | string | No | |
DocumentUpload | body | bool | No | |
MetaData | body | List<MetaDataField> | No | |
DocumentID | body | Guid? | No | |
HoofdDocumentID | body | Guid? | No | |
SubDocumentIDs | body | List<Guid> | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
ID | form | Guid? | No | |
DocumentVeldID | form | Guid? | No | |
Name | form | string | No | |
Label | form | string | No | |
Datatype | form | string | No | |
PrintLabel | form | string | No | |
Entity | form | string | No | |
PrintValue | form | string | No | |
RegistrationValue | form | string | No | |
SPSiteColumnName | form | string | No | |
ShadowName | form | string | No | |
ShadowDatatype | form | string | No | |
ShadowSPSiteColumnName | form | string | No | |
ShadowSPSiteColumnRegistrationValue | form | string | No | |
ShadowRegistrationValue | form | string | No | |
IsKeyField | form | bool | No | |
KopierenBijNieuweVersie | form | bool | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
DocumentId | form | Guid? | No | |
DocumentUploadId | form | int? | No | |
DocumentNr | form | string | No | |
Messages | form | InformationMessages | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Type | form | MessageType | No | |
Summary | form | string | No | |
FullMessage | form | string | No | |
FieldName | form | string | No | |
KeepOpen | form | bool | No |
Name | Value | |
---|---|---|
Information | 1 | |
Warning | 2 | |
Error | 3 | |
Success | 4 |
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/DMS/UploadFile HTTP/1.1
Host: digiofficeapigateway.deltares.nl
Accept: text/csv
Content-Type: text/csv
Content-Length: length
{"RegistrationProfileID":"00000000-0000-0000-0000-000000000000","NavigationPath":"String","FileName":"String","Description":"String","DocumentUpload":false,"MetaData":[{"ID":"00000000-0000-0000-0000-000000000000","DocumentVeldID":"00000000-0000-0000-0000-000000000000","Name":"String","Label":"String","Datatype":"String","PrintLabel":"String","Entity":"String","PrintValue":"String","RegistrationValue":"String","SPSiteColumnName":"String","ShadowName":"String","ShadowDatatype":"String","ShadowSPSiteColumnName":"String","ShadowSPSiteColumnRegistrationValue":"String","ShadowRegistrationValue":"String","IsKeyField":false,"KopierenBijNieuweVersie":false}],"DocumentID":"00000000-0000-0000-0000-000000000000","HoofdDocumentID":"00000000-0000-0000-0000-000000000000","SubDocumentIDs":["00000000-0000-0000-0000-000000000000"]}
HTTP/1.1 200 OK Content-Type: text/csv Content-Length: length {"DocumentId":"00000000-0000-0000-0000-000000000000","DocumentUploadId":0,"DocumentNr":"String","Messages":[{}]}