POST v1/Delivery/Surveys/{surveyId}/Properties
User roles allowed to make this request:
DomainAdministrator
RegularUser
QuotaManager
SampleManager
RepositoryManager
Permissions required to make this request:
DomainSurveyProperty.Write
DomainSurveyProperty.Read
DomainSurvey.Read
Adds the selected properties to the survey.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
surveyId |
The Nfield Survey id. |
string |
Required |
Body Parameters
The CreateDomainSurveyPropertyModel model
CreateDomainSurveyPropertyModelName | 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
<CreateDomainSurveyPropertyModel 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> </CreateDomainSurveyPropertyModel>
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. |