Required role: | VeoliaAdmin |
GET | /tenderusertenderround/{tenderusertenderroundid}/question |
---|
using System;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.Serialization;
using ServiceStack;
using ServiceStack.DataAnnotations;
using Portal.ServiceDto;
namespace Portal.ServiceDto
{
public partial class BrowseAllQuestionFileByTenderUserTenderRound
: IGet
{
public virtual int TenderUserTenderRoundId { get; set; }
}
public partial class BrowseAllQuestionResponse
: ResponseBase
{
public BrowseAllQuestionResponse()
{
QuestionFiles = new List<QuestionFileDetails>{};
}
public virtual List<QuestionFileDetails> QuestionFiles { get; set; }
}
public partial class BrowseFileResponseBase
{
public virtual int Id { get; set; }
public virtual int FileContentId { get; set; }
public virtual string FileName { get; set; }
public virtual long Size { get; set; }
}
public partial class QuestionFileDetails
: BrowseFileResponseBase
{
public virtual int TenderUserTenderRoundId { get; set; }
public virtual int? SubmittedById { get; set; }
public virtual DateTime? SubmissionDateTime { get; set; }
public virtual bool IsSubmitted { get; set; }
}
public partial class ResponseBase
{
public virtual ResponseStatus ResponseStatus { get; set; }
}
}
C# BrowseAllQuestionFileByTenderUserTenderRound DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /tenderusertenderround/{tenderusertenderroundid}/question HTTP/1.1 Host: szallitoiportal-be.veolia.hu Accept: text/csv
HTTP/1.1 200 OK Content-Type: text/csv Content-Length: length {"QuestionFiles":[{"TenderUserTenderRoundId":0,"SubmittedById":0,"SubmissionDateTime":"0001-01-01T00:00:00.0000000","IsSubmitted":false,"Id":0,"FileContentId":0,"FileName":"String","Size":0}],"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}}}