Portal

<back to all web services

BrowseAllTenderFile

Requires Authentication
The following routes are available for this service:
GET/tender/{tenderid}/file
import java.math.*;
import java.util.*;
import net.servicestack.client.*;

public class dtos
{

    public static class BrowseAllTenderFile implements IGet
    {
        public Integer TenderId = null;
        
        public Integer getTenderId() { return TenderId; }
        public BrowseAllTenderFile setTenderId(Integer value) { this.TenderId = value; return this; }
    }

    public static class BrowseAllTenderFileResponse extends ResponseBase
    {
        public ArrayList<TenderFileDetails> TenderFiles = null;
        
        public ArrayList<TenderFileDetails> getTenderFiles() { return TenderFiles; }
        public BrowseAllTenderFileResponse setTenderFiles(ArrayList<TenderFileDetails> value) { this.TenderFiles = value; return this; }
    }

    public static class ResponseBase
    {
        public ResponseStatus ResponseStatus = null;
        
        public ResponseStatus getResponseStatus() { return ResponseStatus; }
        public ResponseBase setResponseStatus(ResponseStatus value) { this.ResponseStatus = value; return this; }
    }

    public static class TenderFileDetails extends BrowseFileResponseBase
    {
        public Integer TenderId = null;
        public String DocumentType = null;
        public Boolean IsTenderAnnouncement = null;
        
        public Integer getTenderId() { return TenderId; }
        public TenderFileDetails setTenderId(Integer value) { this.TenderId = value; return this; }
        public String getDocumentType() { return DocumentType; }
        public TenderFileDetails setDocumentType(String value) { this.DocumentType = value; return this; }
        public Boolean getIsTenderAnnouncement() { return IsTenderAnnouncement; }
        public TenderFileDetails setIsTenderAnnouncement(Boolean value) { this.IsTenderAnnouncement = value; return this; }
    }

    public static class BrowseFileResponseBase
    {
        public Integer Id = null;
        public Integer FileContentId = null;
        public String FileName = null;
        public Long Size = null;
        
        public Integer getId() { return Id; }
        public BrowseFileResponseBase setId(Integer value) { this.Id = value; return this; }
        public Integer getFileContentId() { return FileContentId; }
        public BrowseFileResponseBase setFileContentId(Integer value) { this.FileContentId = value; return this; }
        public String getFileName() { return FileName; }
        public BrowseFileResponseBase setFileName(String value) { this.FileName = value; return this; }
        public Long getSize() { return Size; }
        public BrowseFileResponseBase setSize(Long value) { this.Size = value; return this; }
    }

}

Java BrowseAllTenderFile 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}/file HTTP/1.1 
Host: szallitoiportal-be.veolia.hu 
Accept: application/json
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"TenderFiles":[{"TenderId":0,"DocumentType":"String","IsTenderAnnouncement":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"}}}