Portal

<back to all web services

BrowseSupplementaryByVeoliaAdmin

The following routes are available for this service:
GET/supplementary/{supplementaryid}
import java.math.*
import java.util.*
import net.servicestack.client.*


open class BrowseSupplementaryByVeoliaAdmin : IGet
{
    var SupplementaryId:Int? = null
}

open class BrowseSupplementaryResponse : ResponseBase()
{
    var Supplementary:SupplementaryDetails? = null
}

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

open class SupplementaryDetails : SupplementarySimple()
{
    var TenderId:Int? = null
    var TenderUserId:Int? = null
    var UserId:Int? = null
    var TenderRoundId:Int? = null
    var ViewedById:Int? = null
    var SubmittedById:Int? = null
    var Meta:HashMap<String,String> = HashMap<String,String>()
    var SupplementaryFiles:ArrayList<SupplementaryFileDetails> = ArrayList<SupplementaryFileDetails>()
}

open class SupplementarySimple
{
    var Id:Int? = null
    var TenderUserTenderRoundId:Int? = null
    var IsViewed:Boolean? = null
    var ViewingDateTime:Date? = null
    var IsSubmitted:Boolean? = null
    var SubmissionDateTime:Date? = 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 BrowseSupplementaryByVeoliaAdmin DTOs

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

HTTP + JSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

GET /supplementary/{supplementaryid} HTTP/1.1 
Host: szallitoiportal-be.veolia.hu 
Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	Supplementary: 
	{
		TenderId: 0,
		TenderUserId: 0,
		UserId: 0,
		TenderRoundId: 0,
		ViewedById: 0,
		SubmittedById: 0,
		Meta: 
		{
			String: String
		},
		SupplementaryFiles: 
		[
			{
				SupplementaryId: 0,
				SupplementaryDocumentTypeId: 0,
				SupplementaryDocumentType: String,
				Direction: 0,
				Id: 0,
				FileContentId: 0,
				FileName: String,
				Size: 0
			}
		],
		Id: 0,
		TenderUserTenderRoundId: 0,
		IsViewed: False,
		ViewingDateTime: 0001-01-01,
		IsSubmitted: False,
		SubmissionDateTime: 0001-01-01
	},
	ResponseStatus: 
	{
		ErrorCode: String,
		Message: String,
		StackTrace: String,
		Errors: 
		[
			{
				ErrorCode: String,
				FieldName: String,
				Message: String,
				Meta: 
				{
					String: String
				}
			}
		],
		Meta: 
		{
			String: String
		}
	}
}