| GET, POST | /fibuscan/DokumentUpload |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| dokumente_id | body | long | No | |
| hash | body | string | No | |
| ResponseStatus | body | ResponseStatus | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| dokument | form | dokumente | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ID | form | long? | No | |
| _erstellt | form | DateTime? | No | |
| _aenderung | form | DateTime? | No | |
| mandant | form | long? | No | |
| Datenindex | form | long? | No | |
| Dateiname | form | string | No | |
| zip_dateiname | form | string | No | |
| SubPfad | form | string | No | |
| Upload | form | int? | No | |
| DownloadExt | form | int? | No | |
| Datum | form | DateTime? | No | |
| Link | form | string | No | |
| anlagen | form | string | No | |
| metadaten | form | string | No | |
| dateityp | form | int? | No | |
| del | form | long? | No | |
| hash | form | string | No | |
| guid | form | string | No | |
| server_hash | form | string | No | |
| PrimaryKey | form | long? | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /fibuscan/DokumentUpload HTTP/1.1
Host: ws4.fibudata.net
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
dokumente_id: 0,
hash: String,
ResponseStatus:
{
ErrorCode: String,
Message: String,
StackTrace: String,
Errors:
[
{
ErrorCode: String,
FieldName: String,
Message: String,
Meta:
{
String: String
}
}
],
Meta:
{
String: String
}
}
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
dokument:
{
ID: 0,
_erstellt: 0001-01-01,
_aenderung: 0001-01-01,
mandant: 0,
Datenindex: 0,
Dateiname: String,
zip_dateiname: String,
SubPfad: String,
Upload: 0,
DownloadExt: 0,
Datum: 0001-01-01,
Link: String,
anlagen: String,
metadaten: String,
dateityp: 0,
del: 0,
hash: String,
guid: String,
server_hash: String,
PrimaryKey: 0
}
}