C# Класс Nfield.Services.Implementation.NfieldSurveysService

Implementation of INfieldSurveysService
Наследование: INfieldSurveysService, INfieldConnectionClientObject
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
GetInterviewerInstructionUri string
GetSamplingPointImageUri string
SamplingPointImageAddAsync Task

Открытые методы

Метод Описание
AddAsync ( Nfield.Models.Survey survey ) : Task

See INfieldSurveysService.AddAsync

CountsQueryAsync ( string surveyId ) : Task
CreateOrUpdateOnlineQuotaAsync ( string surveyId, QuotaFrame quotaFrame ) : Task
CreateOrUpdateQuotaAsync ( string surveyId, QuotaLevel quota ) : Task

INfieldSurveysService.CreateOrUpdateQuotaAsync

DeleteInterviewerFileInstructionsAsync ( string surveyId ) : System.Threading.Tasks.Task

INfieldSurveysService.DeleteInterviewerFileInstructionsAsync(string)

DownloadInterviewerFileInstructionsAsync ( string surveyId ) : Task

INfieldSurveysService.DownloadInterviewerFileInstructionsAsync(string)

InitializeNfieldConnection ( INfieldConnectionClient connection ) : void
OnlineQuotaQueryAsync ( string surveyId ) : Task
QueryAsync ( ) : Task>

See INfieldSurveysService.QueryAsync

QuotaQueryAsync ( string surveyId ) : Task

See INfieldSurveysService.QuotaQueryAsync

RemoveAsync ( Nfield.Models.Survey survey ) : System.Threading.Tasks.Task

See INfieldSurveysService.RemoveAsync

SamplingPointAddAsync ( string surveyId, Nfield.Models.SamplingPoint samplingPoint ) : Task

See INfieldSurveysService.SamplingPointAddAsync

SamplingPointDeleteAsync ( string surveyId, Nfield.Models.SamplingPoint samplingPoint ) : System.Threading.Tasks.Task

See INfieldSurveysService.SamplingPointDeleteAsync

SamplingPointImageAddAsync ( string surveyId, string samplingPointId, string filePath ) : Task

INfieldSurveysService.SamplingPointImageAddAsync(string, string, string)

SamplingPointImageAddAsync ( string surveyId, string samplingPointId, string filename, byte content ) : Task

INfieldSurveysService.SamplingPointImageAddAsync(string, string, string, byte[])

SamplingPointImageDeleteAsync ( string surveyId, string samplingPointId ) : System.Threading.Tasks.Task
SamplingPointImageGetAsync ( string surveyId, string samplingPointId ) : Task
SamplingPointQueryAsync ( string surveyId, string samplingPointId ) : Task

See INfieldSurveysService.SamplingPointQueryAsync

SamplingPointQuotaTargetQueryAsync ( string surveyId, string samplingPointId, string levelId ) : Task

See INfieldSurveysService.SamplingPointQuotaTargetQueryAsync

SamplingPointQuotaTargetUpdateAsync ( string surveyId, string samplingPointId, SamplingPointQuotaTarget samplingPointQuotaTarget ) : Task

See INfieldSurveysService.SamplingPointQuotaTargetUpdateAsync

SamplingPointQuotaTargetsQueryAsync ( string surveyId, string samplingPointId ) : Task>

See INfieldSurveysService.SamplingPointQuotaTargetsQueryAsync

SamplingPointUpdateAsync ( string surveyId, Nfield.Models.SamplingPoint samplingPoint ) : Task

See INfieldSurveysService.SamplingPointUpdateAsync

SamplingPointsCountAsync ( string surveyId ) : Task

See INfieldSurveysService.SamplingPointsCountAsync

SamplingPointsQueryAsync ( string surveyId ) : Task>

See INfieldSurveysService.SamplingPointsQueryAsync

UpdateAsync ( Nfield.Models.Survey survey ) : Task

See INfieldSurveysService.UpdateAsync

UploadInterviewerFileInstructionsAsync ( byte fileContent, string fileName, string surveyId ) : System.Threading.Tasks.Task

INfieldSurveysService.UploadInterviewerFileInstructionsAsync(string, string)

UploadInterviewerFileInstructionsAsync ( string filePath, string surveyId ) : System.Threading.Tasks.Task

INfieldSurveysService.UploadInterviewerFileInstructionsAsync(string,string)

Приватные методы

Метод Описание
GetInterviewerInstructionUri ( string surveyId, string fileName ) : string

Returns the URI to upload the interviewer instructions based on the provided surveyId and fileName

GetSamplingPointImageUri ( string surveyId, string samplingPointId, string fileName ) : string

Returns the URI to upload the image associated with a sampling point surveyId samplingPointId fileName

SamplingPointImageAddAsync ( string surveyId, string samplingPointId, string filename, System.Net.Http.ByteArrayContent byteArrayContent ) : Task

Описание методов

AddAsync() публичный Метод

See INfieldSurveysService.AddAsync
public AddAsync ( Nfield.Models.Survey survey ) : Task
survey Nfield.Models.Survey
Результат Task

CountsQueryAsync() публичный Метод

public CountsQueryAsync ( string surveyId ) : Task
surveyId string
Результат Task

CreateOrUpdateOnlineQuotaAsync() публичный Метод

public CreateOrUpdateOnlineQuotaAsync ( string surveyId, QuotaFrame quotaFrame ) : Task
surveyId string
quotaFrame QuotaFrame
Результат Task

CreateOrUpdateQuotaAsync() публичный Метод

INfieldSurveysService.CreateOrUpdateQuotaAsync
public CreateOrUpdateQuotaAsync ( string surveyId, QuotaLevel quota ) : Task
surveyId string
quota Nfield.Models.QuotaLevel
Результат Task

DeleteInterviewerFileInstructionsAsync() публичный Метод

INfieldSurveysService.DeleteInterviewerFileInstructionsAsync(string)
public DeleteInterviewerFileInstructionsAsync ( string surveyId ) : System.Threading.Tasks.Task
surveyId string
Результат System.Threading.Tasks.Task

DownloadInterviewerFileInstructionsAsync() публичный Метод

INfieldSurveysService.DownloadInterviewerFileInstructionsAsync(string)
public DownloadInterviewerFileInstructionsAsync ( string surveyId ) : Task
surveyId string
Результат Task

InitializeNfieldConnection() публичный Метод

public InitializeNfieldConnection ( INfieldConnectionClient connection ) : void
connection INfieldConnectionClient
Результат void

OnlineQuotaQueryAsync() публичный Метод

public OnlineQuotaQueryAsync ( string surveyId ) : Task
surveyId string
Результат Task

QueryAsync() публичный Метод

See INfieldSurveysService.QueryAsync
public QueryAsync ( ) : Task>
Результат Task>

QuotaQueryAsync() публичный Метод

See INfieldSurveysService.QuotaQueryAsync
public QuotaQueryAsync ( string surveyId ) : Task
surveyId string
Результат Task

RemoveAsync() публичный Метод

See INfieldSurveysService.RemoveAsync
public RemoveAsync ( Nfield.Models.Survey survey ) : System.Threading.Tasks.Task
survey Nfield.Models.Survey
Результат System.Threading.Tasks.Task

SamplingPointAddAsync() публичный Метод

See INfieldSurveysService.SamplingPointAddAsync
public SamplingPointAddAsync ( string surveyId, Nfield.Models.SamplingPoint samplingPoint ) : Task
surveyId string
samplingPoint Nfield.Models.SamplingPoint
Результат Task

SamplingPointDeleteAsync() публичный Метод

See INfieldSurveysService.SamplingPointDeleteAsync
public SamplingPointDeleteAsync ( string surveyId, Nfield.Models.SamplingPoint samplingPoint ) : System.Threading.Tasks.Task
surveyId string
samplingPoint Nfield.Models.SamplingPoint
Результат System.Threading.Tasks.Task

SamplingPointImageAddAsync() публичный Метод

INfieldSurveysService.SamplingPointImageAddAsync(string, string, string)
public SamplingPointImageAddAsync ( string surveyId, string samplingPointId, string filePath ) : Task
surveyId string
samplingPointId string
filePath string
Результат Task

SamplingPointImageAddAsync() публичный Метод

INfieldSurveysService.SamplingPointImageAddAsync(string, string, string, byte[])
public SamplingPointImageAddAsync ( string surveyId, string samplingPointId, string filename, byte content ) : Task
surveyId string
samplingPointId string
filename string
content byte
Результат Task

SamplingPointImageDeleteAsync() публичный Метод

public SamplingPointImageDeleteAsync ( string surveyId, string samplingPointId ) : System.Threading.Tasks.Task
surveyId string
samplingPointId string
Результат System.Threading.Tasks.Task

SamplingPointImageGetAsync() публичный Метод

public SamplingPointImageGetAsync ( string surveyId, string samplingPointId ) : Task
surveyId string
samplingPointId string
Результат Task

SamplingPointQueryAsync() публичный Метод

See INfieldSurveysService.SamplingPointQueryAsync
public SamplingPointQueryAsync ( string surveyId, string samplingPointId ) : Task
surveyId string
samplingPointId string
Результат Task

SamplingPointQuotaTargetQueryAsync() публичный Метод

See INfieldSurveysService.SamplingPointQuotaTargetQueryAsync
public SamplingPointQuotaTargetQueryAsync ( string surveyId, string samplingPointId, string levelId ) : Task
surveyId string
samplingPointId string
levelId string
Результат Task

SamplingPointQuotaTargetUpdateAsync() публичный Метод

See INfieldSurveysService.SamplingPointQuotaTargetUpdateAsync
public SamplingPointQuotaTargetUpdateAsync ( string surveyId, string samplingPointId, SamplingPointQuotaTarget samplingPointQuotaTarget ) : Task
surveyId string
samplingPointId string
samplingPointQuotaTarget Nfield.Models.SamplingPointQuotaTarget
Результат Task

SamplingPointQuotaTargetsQueryAsync() публичный Метод

See INfieldSurveysService.SamplingPointQuotaTargetsQueryAsync
public SamplingPointQuotaTargetsQueryAsync ( string surveyId, string samplingPointId ) : Task>
surveyId string
samplingPointId string
Результат Task>

SamplingPointUpdateAsync() публичный Метод

See INfieldSurveysService.SamplingPointUpdateAsync
public SamplingPointUpdateAsync ( string surveyId, Nfield.Models.SamplingPoint samplingPoint ) : Task
surveyId string
samplingPoint Nfield.Models.SamplingPoint
Результат Task

SamplingPointsCountAsync() публичный Метод

See INfieldSurveysService.SamplingPointsCountAsync
public SamplingPointsCountAsync ( string surveyId ) : Task
surveyId string
Результат Task

SamplingPointsQueryAsync() публичный Метод

See INfieldSurveysService.SamplingPointsQueryAsync
public SamplingPointsQueryAsync ( string surveyId ) : Task>
surveyId string
Результат Task>

UpdateAsync() публичный Метод

See INfieldSurveysService.UpdateAsync
public UpdateAsync ( Nfield.Models.Survey survey ) : Task
survey Nfield.Models.Survey
Результат Task

UploadInterviewerFileInstructionsAsync() публичный Метод

INfieldSurveysService.UploadInterviewerFileInstructionsAsync(string, string)
public UploadInterviewerFileInstructionsAsync ( byte fileContent, string fileName, string surveyId ) : System.Threading.Tasks.Task
fileContent byte
fileName string
surveyId string
Результат System.Threading.Tasks.Task

UploadInterviewerFileInstructionsAsync() публичный Метод

INfieldSurveysService.UploadInterviewerFileInstructionsAsync(string,string)
public UploadInterviewerFileInstructionsAsync ( string filePath, string surveyId ) : System.Threading.Tasks.Task
filePath string
surveyId string
Результат System.Threading.Tasks.Task