POST v1/Delivery/Repositories/{repositoryId}/Surveys

User roles allowed to make this request: DomainAdministrator

Permissions required to make this request: Repository.Write Repository.Read

Adds the selected surveys to the repository.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
repositoryId

The repository id.

integer

Required

Body Parameters

The nfield ids of the surveys to add

Collection of string

None.

Request Formats

application/json, text/json

Sample:
[
  "sample string 1",
  "sample string 2"
]

application/xml, text/xml

Sample:
<ArrayOfstring xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
  <string>sample string 1</string>
  <string>sample string 2</string>
</ArrayOfstring>

application/x-www-form-urlencoded

Sample:
[sample1, sample2, sample3]

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.