Requires any of the roles: | User, SupplierAdmin |
GET | /tender/{tenderid}/user/{userid}/round/{tenderroundid}/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 BrowseAllQuestionFile
: TenderUserTenderRoundBase, IGet
{
}
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; }
}
public partial class TenderUserTenderRoundBase
{
public virtual int TenderId { get; set; }
public virtual int UserId { get; set; }
public virtual int TenderRoundId { get; set; }
}
}
To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /tender/{tenderid}/user/{userid}/round/{tenderroundid}/question HTTP/1.1 Host: szallitoiportal-be.veolia.hu Accept: text/jsonl
HTTP/1.1 200 OK Content-Type: text/jsonl 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"}}}