Apparelbase.FileService

<back to all web services

DownLoadRequest

DownLoadRequest Parameters:
NameParameterData TypeRequiredDescription
FileIDquerystringNo
DownLoadResponse Parameters:
NameParameterData TypeRequiredDescription
FileIDformstringNo
RawDataformbyte[]No
FileNameformstringNo
ExtentionformstringNo
MessageformstringNo
ResultformboolNo

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

HTTP + CSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /csv/reply/DownLoadRequest HTTP/1.1 
Host: cam.file.apparelbase.com 
Content-Type: text/csv
Content-Length: length

{"FileID":"String"}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"FileID":"String","RawData":"AA==","FileName":"String","Extention":"String","Message":"String","Result":false}