POST api/ApiSaveFile
Сохранение файла на сервере
Request Information
URI Parameters
None.
Body Parameters
RequestApiSaveImage| Name | Description | Type | Additional information |
|---|---|---|---|
| access_token |
Ключ доступа |
string |
None. |
| ImgBinary |
Бинарная информация о картинке с подписью (base64) |
Collection of byte |
None. |
Request Formats
application/json, text/json
Sample:
{
"access_token": "sample string 1",
"ImgBinary": "QEA="
}
application/xml, text/xml
Sample:
<RequestApiSaveImage xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MobileApi.Henkel.Models"> <ImgBinary>QEA=</ImgBinary> <access_token>sample string 1</access_token> </RequestApiSaveImage>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
ResponseApiSaveImage| Name | Description | Type | Additional information |
|---|---|---|---|
| status |
Блок статуса |
ResponseStatus |
None. |
| ImageGuid |
Уникальный идентификатор файла |
string |
None. |
Response Formats
application/json, text/json
Sample:
{
"status": {
"STAT": "sample string 1",
"MSG": "sample string 2"
},
"ImageGuid": "sample string 1"
}
application/xml, text/xml
Sample:
<ResponseApiSaveImage xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MobileApi.Henkel.Models">
<ImageGuid>sample string 1</ImageGuid>
<status>
<MSG>sample string 2</MSG>
<STAT>sample string 1</STAT>
</status>
</ResponseApiSaveImage>