GET residentapi/users/{userId}/profilephoto
Retrieves the url for the provided photoId
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| userId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
UserPhoto| Name | Description | Type | Additional information |
|---|---|---|---|
| PhotoId |
PhotoId (Primary Key) |
integer |
None. |
| UserId |
UserId |
integer |
None. |
| FileUrl |
FileUrl location of the image |
string |
None. |
| IsDefault |
IsDefault (If true then this is the profile image) |
boolean |
None. |
Response Formats
application/json, text/json
Sample:
{
"photoId": 1,
"userId": 2,
"fileUrl": "sample string 3",
"isDefault": true
}