FIBUdataServiceStack

<back to all web services

DokumentUploadRequest

The following routes are available for this service:
GET, POST/fibuscan/DokumentUpload
DokumentUploadRequest Parameters:
NameParameterData TypeRequiredDescription
dokumente_idbodylongNo
hashbodystringNo
ResponseStatusbodyResponseStatusNo
DokumentUploadResponse Parameters:
NameParameterData TypeRequiredDescription
dokumentformdokumenteNo
dokumente Parameters:
NameParameterData TypeRequiredDescription
IDformlong?No
_erstelltformDateTime?No
_aenderungformDateTime?No
mandantformlong?No
Datenindexformlong?No
DateinameformstringNo
zip_dateinameformstringNo
SubPfadformstringNo
Uploadformint?No
DownloadExtformint?No
DatumformDateTime?No
LinkformstringNo
anlagenformstringNo
metadatenformstringNo
dateitypformint?No
delformlong?No
hashformstringNo
guidformstringNo
server_hashformstringNo
PrimaryKeyformlong?No

To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

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: application/json
Content-Type: application/json
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: application/json
Content-Length: length

{"dokument":{"ID":0,"_erstellt":"\/Date(-62135596800000-0000)\/","_aenderung":"\/Date(-62135596800000-0000)\/","mandant":0,"Datenindex":0,"Dateiname":"String","zip_dateiname":"String","SubPfad":"String","Upload":0,"DownloadExt":0,"Datum":"\/Date(-62135596800000-0000)\/","Link":"String","anlagen":"String","metadaten":"String","dateityp":0,"del":0,"hash":"String","guid":"String","server_hash":"String","PrimaryKey":0}}