POST Users/EditUserDLPhoto
Request Information
URI Parameters
None.
Body Parameters
EditUserDLPhotoRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| UserID | integer |
None. |
|
| front_or_back | integer |
None. |
|
| base64_image | string |
None. |
|
| ext | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"UserID": 1,
"front_or_back": 2,
"base64_image": "sample string 3",
"ext": "sample string 4"
}
application/xml, text/xml
Sample:
<UserController.EditUserDLPhotoRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RentekerAPIProject.Controllers"> <UserID>1</UserID> <base64_image>sample string 3</base64_image> <ext>sample string 4</ext> <front_or_back>2</front_or_back> </UserController.EditUserDLPhotoRequest>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
GeneralResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| success | boolean |
None. |
|
| message | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"success": true,
"message": "sample string 2"
}
application/xml, text/xml
Sample:
<AppSettings.GeneralResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RentekerAPIProject"> <message>sample string 2</message> <success>true</success> </AppSettings.GeneralResponse>