C# Class Nfield.Services.Implementation.NfieldSurveysService

Implementation of INfieldSurveysService
Inheritance: INfieldSurveysService, INfieldConnectionClientObject
Afficher le fichier Open project: NIPOSoftware/Nfield-SDK Class Usage Examples

Private Properties

Свойство Type Description
GetInterviewerInstructionUri string
GetSamplingPointImageUri string
SamplingPointImageAddAsync Task

Méthodes publiques

Méthode Description
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)

Private Methods

Méthode Description
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

Method Details

AddAsync() public méthode

See INfieldSurveysService.AddAsync
public AddAsync ( Nfield.Models.Survey survey ) : Task
survey Nfield.Models.Survey
Résultat Task

CountsQueryAsync() public méthode

public CountsQueryAsync ( string surveyId ) : Task
surveyId string
Résultat Task

CreateOrUpdateOnlineQuotaAsync() public méthode

public CreateOrUpdateOnlineQuotaAsync ( string surveyId, QuotaFrame quotaFrame ) : Task
surveyId string
quotaFrame QuotaFrame
Résultat Task

CreateOrUpdateQuotaAsync() public méthode

INfieldSurveysService.CreateOrUpdateQuotaAsync
public CreateOrUpdateQuotaAsync ( string surveyId, QuotaLevel quota ) : Task
surveyId string
quota Nfield.Models.QuotaLevel
Résultat Task

DeleteInterviewerFileInstructionsAsync() public méthode

INfieldSurveysService.DeleteInterviewerFileInstructionsAsync(string)
public DeleteInterviewerFileInstructionsAsync ( string surveyId ) : System.Threading.Tasks.Task
surveyId string
Résultat System.Threading.Tasks.Task

DownloadInterviewerFileInstructionsAsync() public méthode

INfieldSurveysService.DownloadInterviewerFileInstructionsAsync(string)
public DownloadInterviewerFileInstructionsAsync ( string surveyId ) : Task
surveyId string
Résultat Task

InitializeNfieldConnection() public méthode

public InitializeNfieldConnection ( INfieldConnectionClient connection ) : void
connection INfieldConnectionClient
Résultat void

OnlineQuotaQueryAsync() public méthode

public OnlineQuotaQueryAsync ( string surveyId ) : Task
surveyId string
Résultat Task

QueryAsync() public méthode

See INfieldSurveysService.QueryAsync
public QueryAsync ( ) : Task>
Résultat Task>

QuotaQueryAsync() public méthode

See INfieldSurveysService.QuotaQueryAsync
public QuotaQueryAsync ( string surveyId ) : Task
surveyId string
Résultat Task

RemoveAsync() public méthode

See INfieldSurveysService.RemoveAsync
public RemoveAsync ( Nfield.Models.Survey survey ) : System.Threading.Tasks.Task
survey Nfield.Models.Survey
Résultat System.Threading.Tasks.Task

SamplingPointAddAsync() public méthode

See INfieldSurveysService.SamplingPointAddAsync
public SamplingPointAddAsync ( string surveyId, Nfield.Models.SamplingPoint samplingPoint ) : Task
surveyId string
samplingPoint Nfield.Models.SamplingPoint
Résultat Task

SamplingPointDeleteAsync() public méthode

See INfieldSurveysService.SamplingPointDeleteAsync
public SamplingPointDeleteAsync ( string surveyId, Nfield.Models.SamplingPoint samplingPoint ) : System.Threading.Tasks.Task
surveyId string
samplingPoint Nfield.Models.SamplingPoint
Résultat System.Threading.Tasks.Task

SamplingPointImageAddAsync() public méthode

INfieldSurveysService.SamplingPointImageAddAsync(string, string, string)
public SamplingPointImageAddAsync ( string surveyId, string samplingPointId, string filePath ) : Task
surveyId string
samplingPointId string
filePath string
Résultat Task

SamplingPointImageAddAsync() public méthode

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
Résultat Task

SamplingPointImageDeleteAsync() public méthode

public SamplingPointImageDeleteAsync ( string surveyId, string samplingPointId ) : System.Threading.Tasks.Task
surveyId string
samplingPointId string
Résultat System.Threading.Tasks.Task

SamplingPointImageGetAsync() public méthode

public SamplingPointImageGetAsync ( string surveyId, string samplingPointId ) : Task
surveyId string
samplingPointId string
Résultat Task

SamplingPointQueryAsync() public méthode

See INfieldSurveysService.SamplingPointQueryAsync
public SamplingPointQueryAsync ( string surveyId, string samplingPointId ) : Task
surveyId string
samplingPointId string
Résultat Task

SamplingPointQuotaTargetQueryAsync() public méthode

See INfieldSurveysService.SamplingPointQuotaTargetQueryAsync
public SamplingPointQuotaTargetQueryAsync ( string surveyId, string samplingPointId, string levelId ) : Task
surveyId string
samplingPointId string
levelId string
Résultat Task

SamplingPointQuotaTargetUpdateAsync() public méthode

See INfieldSurveysService.SamplingPointQuotaTargetUpdateAsync
public SamplingPointQuotaTargetUpdateAsync ( string surveyId, string samplingPointId, SamplingPointQuotaTarget samplingPointQuotaTarget ) : Task
surveyId string
samplingPointId string
samplingPointQuotaTarget Nfield.Models.SamplingPointQuotaTarget
Résultat Task

SamplingPointQuotaTargetsQueryAsync() public méthode

See INfieldSurveysService.SamplingPointQuotaTargetsQueryAsync
public SamplingPointQuotaTargetsQueryAsync ( string surveyId, string samplingPointId ) : Task>
surveyId string
samplingPointId string
Résultat Task>

SamplingPointUpdateAsync() public méthode

See INfieldSurveysService.SamplingPointUpdateAsync
public SamplingPointUpdateAsync ( string surveyId, Nfield.Models.SamplingPoint samplingPoint ) : Task
surveyId string
samplingPoint Nfield.Models.SamplingPoint
Résultat Task

SamplingPointsCountAsync() public méthode

See INfieldSurveysService.SamplingPointsCountAsync
public SamplingPointsCountAsync ( string surveyId ) : Task
surveyId string
Résultat Task

SamplingPointsQueryAsync() public méthode

See INfieldSurveysService.SamplingPointsQueryAsync
public SamplingPointsQueryAsync ( string surveyId ) : Task>
surveyId string
Résultat Task>

UpdateAsync() public méthode

See INfieldSurveysService.UpdateAsync
public UpdateAsync ( Nfield.Models.Survey survey ) : Task
survey Nfield.Models.Survey
Résultat Task

UploadInterviewerFileInstructionsAsync() public méthode

INfieldSurveysService.UploadInterviewerFileInstructionsAsync(string, string)
public UploadInterviewerFileInstructionsAsync ( byte fileContent, string fileName, string surveyId ) : System.Threading.Tasks.Task
fileContent byte
fileName string
surveyId string
Résultat System.Threading.Tasks.Task

UploadInterviewerFileInstructionsAsync() public méthode

INfieldSurveysService.UploadInterviewerFileInstructionsAsync(string,string)
public UploadInterviewerFileInstructionsAsync ( string filePath, string surveyId ) : System.Threading.Tasks.Task
filePath string
surveyId string
Résultat System.Threading.Tasks.Task