PUT v1/Delivery/Surveys/{surveyId}/Properties/{propertyId}

User roles allowed to make this request: DomainAdministrator RegularUser QuotaManager SampleManager RepositoryManager

Permissions required to make this request: DomainSurveyProperty.Write DomainSurveyProperty.Read DomainSurvey.Read

Updates the selected survey property's values.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
surveyId

The Nfield Survey Id.

string

Required

propertyId

The property id.

integer

Required

Body Parameters

The UpdateDomainSurveyPropertyModel model

UpdateDomainSurveyPropertyModel
NameDescriptionTypeAdditional information
Key

The key of the property

string

None.

Value

The value of the property

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Key": "sample string 1",
  "Value": "sample string 2"
}

application/xml, text/xml

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

application/x-www-form-urlencoded

Sample:
Key=sample&Value=sample

multipart/form-data

Sample:

Sample not available.

Response Information

Resource Description

NoContentResult, if succeeded. The appropriate exception in case of failure.

Response Message

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.