Portal

<back to all web services

BrowseAllQuestionFile

Requires Authentication
Requires any of the roles:User, SupplierAdmin
The following routes are available for this service:
GET/tender/{tenderid}/user/{userid}/round/{tenderroundid}/question

export class TenderUserTenderRoundBase
{
    public TenderId: number;
    public UserId: number;
    public TenderRoundId: number;

    public constructor(init?: Partial<TenderUserTenderRoundBase>) { (Object as any).assign(this, init); }
}

export class ResponseBase
{
    public ResponseStatus: ResponseStatus;

    public constructor(init?: Partial<ResponseBase>) { (Object as any).assign(this, init); }
}

export class BrowseFileResponseBase
{
    public Id: number;
    public FileContentId: number;
    public FileName: string;
    public Size: number;

    public constructor(init?: Partial<BrowseFileResponseBase>) { (Object as any).assign(this, init); }
}

export class QuestionFileDetails extends BrowseFileResponseBase
{
    public TenderUserTenderRoundId: number;
    public SubmittedById?: number;
    public SubmissionDateTime?: string;
    public IsSubmitted: boolean;

    public constructor(init?: Partial<QuestionFileDetails>) { super(init); (Object as any).assign(this, init); }
}

export class BrowseAllQuestionResponse extends ResponseBase
{
    public QuestionFiles: QuestionFileDetails[];

    public constructor(init?: Partial<BrowseAllQuestionResponse>) { super(init); (Object as any).assign(this, init); }
}

export class BrowseAllQuestionFile extends TenderUserTenderRoundBase implements IGet
{

    public constructor(init?: Partial<BrowseAllQuestionFile>) { super(init); (Object as any).assign(this, init); }
}

TypeScript BrowseAllQuestionFile DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

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: application/json
HTTP/1.1 200 OK
Content-Type: application/json
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"}}}