GET | /tender/{tenderid}/round/{tenderroundid}/documenttype |
---|
import java.math.*
import java.util.*
import net.servicestack.client.*
open class BrowseTenderRoundAllDocumentType : IGet
{
var TenderId:Int? = null
var TenderRoundId:Int? = null
}
open class BrowseTenderRoundAllDocumentTypeResponse : ResponseBase()
{
var DocumentTypes:ArrayList<TenderRoundDocumentTypeSimple> = ArrayList<TenderRoundDocumentTypeSimple>()
}
open class ResponseBase
{
var ResponseStatus:ResponseStatus? = null
}
open class TenderRoundDocumentTypeSimple
{
var Id:Int? = null
var TenderRoundId:Int? = null
var DocumentType:String? = null
}
Kotlin BrowseTenderRoundAllDocumentType DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /tender/{tenderid}/round/{tenderroundid}/documenttype HTTP/1.1 Host: szallitoiportal-be.veolia.hu Accept: text/jsv
HTTP/1.1 200 OK Content-Type: text/jsv Content-Length: length { DocumentTypes: [ { Id: 0, TenderRoundId: 0, DocumentType: String } ], ResponseStatus: { ErrorCode: String, Message: String, StackTrace: String, Errors: [ { ErrorCode: String, FieldName: String, Message: String, Meta: { String: String } } ], Meta: { String: String } } }