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
Name | Description | Type | Additional information |
---|---|---|---|
surveyId |
The Nfield Survey Id. |
string |
Required |
propertyId |
The property id. |
integer |
Required |
Body Parameters
The UpdateDomainSurveyPropertyModel model
UpdateDomainSurveyPropertyModelName | Description | Type | Additional information |
---|---|---|---|
Key |
The key of the property |
string |
None. |
Value |
The value of the property |
string |
None. |
Request Formats
application/json, text/json
{ "Key": "sample string 1", "Value": "sample string 2" }
application/xml, text/xml
<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
Key=sample&Value=sample
multipart/form-data
Sample not available.
Response Information
Resource Description
Response Message
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |