Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
ServiceCode | query | string | No | |
Category | query | string | No | |
RawData | query | byte[] | No | |
ThumbNailData | query | byte[] | No | |
PreviewData | query | byte[] | No | |
FileName | query | string | No | |
Extention | query | string | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
FileID | form | string | No | |
Message | form | string | No | |
Result | form | bool | 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
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /json/reply/UploadRequest HTTP/1.1
Host: cam.file.apparelbase.com
Content-Type: application/json
Content-Length: length
{"ServiceCode":"String","Category":"String","RawData":"AA==","ThumbNailData":"AA==","PreviewData":"AA==","FileName":"String","Extention":"String"}
HTTP/1.1 200 OK Content-Type: application/json Content-Length: length {"FileID":"String","Message":"String","Result":false}