Apparelbase.FileService

<back to all web services

UploadStreamRequest

The following routes are available for this service:
POST/upload/{Guid}/{ServiceCode}/{Category}/{FileName}
UploadStreamRequest Parameters:
NameParameterData TypeRequiredDescription
GuidpathstringNo
ServiceCodepathstringNo
CategorypathstringNo
FileNamepathstringNo

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/oneway/UploadStreamRequest HTTP/1.1 
Host: cam.file.apparelbase.com 
Content-Type: text/csv
Content-Length: length

{"Guid":"String","ServiceCode":"String","Category":"String","FileName":"String"}