GET v1/Surveys/{surveyId}/SamplingPoints/{samplingPointId}/QuotaTargets/{quotaLevelId}

User roles allowed to make this request: DomainAdministrator PowerUser RegularUser LimitedUser SampleManager

Permissions required to make this request: SamplingPointQuotaTarget.Read SamplingPoint.Read Survey.Read SurveyQuotaFrame.Read

Has survey type usage restrictions capi

This method retrieves detail of quota level targets based on survey and sampling point.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
surveyId

The id of the survey

string

Required

samplingPointId

The id of the sampling point

string

Required

quotaLevelId

The id of the quota level

string

Required

Body Parameters

None.

Response Information

Resource Description

Returns the details of quota level targets

Response Message

SamplingPointQuotaTargetModel
NameDescriptionTypeAdditional information
LevelId

The Id of the Quota Level that sits in the Quota JSON structure

string

None.

Target

Actual target of the level

integer

None.

SuccessfulCount

Number of successfully completed interviews

integer

None.

UnsuccessfulCount

Number of not successfully completed interviews

integer

None.

DroppedOutCount

Number of dropped out interviews

integer

None.

RejectedCount

Number of dropped out interviews

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "LevelId": "sample string 1",
  "Target": 1,
  "SuccessfulCount": 2,
  "UnsuccessfulCount": 3,
  "DroppedOutCount": 4,
  "RejectedCount": 5
}

application/xml, text/xml

Sample:
<SamplingPointQuotaTargetModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NipoSoftware.Nfield.Manager.Api.Models">
  <DroppedOutCount>4</DroppedOutCount>
  <LevelId>sample string 1</LevelId>
  <RejectedCount>5</RejectedCount>
  <SuccessfulCount>2</SuccessfulCount>
  <Target>1</Target>
  <UnsuccessfulCount>3</UnsuccessfulCount>
</SamplingPointQuotaTargetModel>