PUT api/surveys/{survey}/image

Updates the image of a given survey

Request Information

URI Parameters

NameDescriptionTypeAdditional information
survey

Survey ID

integer

Required

Body Parameters

Updated survey image data

SurveyImageDTO
NameDescriptionTypeAdditional information
Survey

ID of parent Survey

integer

Required

MIME

Survey Image MIME-type

string

Required

String length: inclusive between 0 and 50

Data

Survey Image data

Collection of byte

Required

Request Formats

application/json, text/json

Sample:
{
  "Survey": 1,
  "MIME": "sample string 2",
  "Data": "QEA="
}

Response Information

Resource Description

Survey image data

SurveyImageDTO
NameDescriptionTypeAdditional information
Survey

ID of parent Survey

integer

Required

MIME

Survey Image MIME-type

string

Required

String length: inclusive between 0 and 50

Data

Survey Image data

Collection of byte

Required

Response Formats

application/json, text/json

Sample:
{
  "Survey": 1,
  "MIME": "sample string 2",
  "Data": "QEA="
}