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

User roles allowed to make this request: DomainAdministrator RepositoryManager

Permissions required to make this request: Repository.Read

Returns the surveys of the given repository.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
repositoryId

The repository id.

integer

Required

Body Parameters

None.

Response Information

Resource Description

The repository surveys.

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,
    "NfieldSurveyId": "sample string 2",
    "AddedOn": "2024-05-26T04:46:22.6465048+00:00",
    "Status": "sample string 4",
    "LastSyncedAt": "2024-05-26T04:46:22.6465048+00:00"
  },
  {
    "Id": 1,
    "NfieldSurveyId": "sample string 2",
    "AddedOn": "2024-05-26T04:46:22.6465048+00:00",
    "Status": "sample string 4",
    "LastSyncedAt": "2024-05-26T04:46:22.6465048+00:00"
  }
]

application/xml, text/xml

Sample:
<ArrayOfRepositorySurveyModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NipoSoftware.Nfield.Manager.Api.Models.Delivery">
  <RepositorySurveyModel>
    <AddedOn>2024-05-26T04:46:22.6465048+00:00</AddedOn>
    <Id>1</Id>
    <LastSyncedAt>2024-05-26T04:46:22.6465048+00:00</LastSyncedAt>
    <NfieldSurveyId>sample string 2</NfieldSurveyId>
    <Status>sample string 4</Status>
  </RepositorySurveyModel>
  <RepositorySurveyModel>
    <AddedOn>2024-05-26T04:46:22.6465048+00:00</AddedOn>
    <Id>1</Id>
    <LastSyncedAt>2024-05-26T04:46:22.6465048+00:00</LastSyncedAt>
    <NfieldSurveyId>sample string 2</NfieldSurveyId>
    <Status>sample string 4</Status>
  </RepositorySurveyModel>
</ArrayOfRepositorySurveyModel>