POST residentapi/myunits/{myUnitId}/events/{eventId}/eventphotos

Save an event photo

Request Information

URI Parameters

NameDescriptionTypeAdditional information
myUnitId

integer

Required

eventId

integer

Required

Body Parameters

None.

Response Information

Resource Description

EventPhoto
NameDescriptionTypeAdditional information
PhotoId

PhotoId. Uniqueidentifier for the photo. SEE GET /residentapi/eventphotos/{photoId}

integer

None.

EventId

EventId. The Event that the photo is associated to. SEE GET /residentapi/events/{eventId}

integer

None.

FileUrl

FileUrl

string

None.

IsDefault

IsDefault. If the user has more than one photo associated to an event, "IsDefault = true" should be the one that is used

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "photoId": 1,
  "eventId": 2,
  "fileUrl": "sample string 3",
  "isDefault": true
}