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
import java.math.*
import java.util.*
import net.servicestack.client.*


open class BrowseAllQuestionFile : TenderUserTenderRoundBase(), IGet
{
}

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

open class BrowseAllQuestionResponse : ResponseBase()
{
    var QuestionFiles:ArrayList<QuestionFileDetails> = ArrayList<QuestionFileDetails>()
}

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

open class QuestionFileDetails : BrowseFileResponseBase()
{
    var TenderUserTenderRoundId:Int? = null
    var SubmittedById:Int? = null
    var SubmissionDateTime:Date? = null
    var IsSubmitted:Boolean? = null
}

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

Kotlin BrowseAllQuestionFile 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}/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"}}}