GET v1/Delivery/Surveys/{surveyId}/Properties

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

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

Returns the properties for the selected survey.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
surveyId

The Nfield Survey id.

string

Required

Body Parameters

None.

Response Information

Resource Description

The properties for the selected survey.

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.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "Key": "sample string 2",
    "Value": "sample string 3"
  },
  {
    "Id": 1,
    "Key": "sample string 2",
    "Value": "sample string 3"
  }
]

application/xml, text/xml

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