POST residentapi/myunits/{myUnitId}/userphotos

Saves a profile photo to the database

Request Information

URI Parameters

NameDescriptionTypeAdditional information
myUnitId

integer

Required

Body Parameters

None.

Response Information

Resource Description

UserPhoto
NameDescriptionTypeAdditional 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
}