POST api/UpdateUserPhoto?sessionKey={sessionKey}&userID={userID}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| sessionKey | string |
Required |
|
| userID | integer |
Required |
Body Parameters
PersonPhoto| Name | Description | Type | Additional information |
|---|---|---|---|
| FileName | string |
None. |
|
| DocumentCategory | string |
None. |
|
| Photo | Collection of byte |
None. |
Request Formats
application/json, text/json
Sample:
{
"FileName": "sample string 1",
"DocumentCategory": "sample string 2",
"Photo": {
"$type": "System.Byte[], mscorlib",
"$value": "QEA="
}
}
application/xml, text/xml
Sample:
<PersonPhoto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EBSphere.Mobile.Shared.Models"> <DocumentCategory>sample string 2</DocumentCategory> <FileName>sample string 1</FileName> <Photo>QEA=</Photo> </PersonPhoto>
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.