POST v1/Surveys/{surveyId}/InvitationImages/{fileName}

User roles allowed to make this request: DomainAdministrator PowerUser RegularUser SampleManager DemoUser

Permissions required to make this request: SurveyInvitationImage.Write Survey.Read

Has survey type usage restrictions online

Uploads an image for the survey

Request Information

URI Parameters

NameDescriptionTypeAdditional information
surveyId

string

Required

fileName

string

Required

Body Parameters

None.

Response Information

Resource Description

Response Message

AddInvitationImageResult
NameDescriptionTypeAdditional information
Link

Link at which the file has been created

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Link": "sample string 1"
}

application/xml, text/xml

Sample:
<AddInvitationImageResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NipoSoftware.Nfield.Manager.Api.Models">
  <Link>sample string 1</Link>
</AddInvitationImageResult>