POST api/file/set-profile-picture
Request Information
URI Parameters
None.
Body Parameters
FileData| Name | Description | Type | Additional information |
|---|---|---|---|
| Size | integer |
None. |
|
| Name | string |
None. |
|
| Type | string |
None. |
|
| Content | Collection of byte |
None. |
|
| Path | string |
None. |
|
| Id | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"Size": 2,
"Name": "sample string 1",
"Type": "sample string 2",
"Content": "QEA=",
"Path": "sample string 3",
"Id": 4
}
application/xml, text/xml
Sample:
<FileData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Co.Kes.Data.ViewModels.CoKes"> <Content>QEA=</Content> <Id>4</Id> <Name>sample string 1</Name> <Path>sample string 3</Path> <Type>sample string 2</Type> </FileData>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.