Portal

<back to all web services

BrowseAllSupplementaryFile

The following routes are available for this service:
GET/tender/{tenderid}/user/{userid}/round/{tenderroundid}/supplementary/{supplementaryid}/file
import java.math.*
import java.util.*
import net.servicestack.client.*


open class BrowseAllSupplementaryFile : SupplementaryBase(), IGet
{
}

open class SupplementaryBase : TenderUserTenderRoundBase()
{
    var SupplementaryId:Int? = null
}

open class TenderUserTenderRoundBase
{
    var TenderId:Int? = null
    var UserId:Int? = null
    var TenderRoundId:Int? = null
}

open class BrowseAllSupplementaryFileResponse : ResponseBase()
{
    var SupplementaryFiles:ArrayList<SupplementaryFileDetails> = ArrayList<SupplementaryFileDetails>()
}

open class ResponseBase
{
    var ResponseStatus:ResponseStatus? = null
}

open class SupplementaryFileDetails : BrowseFileResponseBase()
{
    var SupplementaryId:Int? = null
    var SupplementaryDocumentTypeId:Int? = null
    var SupplementaryDocumentType:String? = null
    var Direction:SupplementaryFileDirection? = null
}

open class BrowseFileResponseBase
{
    var Id:Int? = null
    var FileContentId:Int? = null
    var FileName:String? = null
    var Size:Long? = null
}

enum class SupplementaryFileDirection(val value:Int)
{
    @SerializedName("0") Request(0),
    @SerializedName("1") Response(1),
}

Kotlin BrowseAllSupplementaryFile DTOs

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

HTTP + 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}/supplementary/{supplementaryid}/file HTTP/1.1 
Host: szallitoiportal-be.veolia.hu 
Accept: text/jsonl
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length

{"SupplementaryFiles":[{"SupplementaryId":0,"SupplementaryDocumentTypeId":0,"SupplementaryDocumentType":"String","Direction":0,"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"}}}