Requires any of the roles: | VeoliaAdmin, SysAdmin |
GET | /portaleventqueue |
---|
import java.math.*
import java.util.*
import net.servicestack.client.*
open class BrowseAllPortalEventQueue : IGet
{
}
open class BrowseAllPortalEventQueueResponse : ResponseBase()
{
var Items:ArrayList<PortalEventQueueSimple> = ArrayList<PortalEventQueueSimple>()
}
open class ResponseBase
{
var ResponseStatus:ResponseStatus? = null
}
open class PortalEventQueueSimple
{
var Id:Int? = null
var EventType:PortalEventQueueType? = null
var DataId:Int? = null
var CreatedDateTime:Date? = null
}
enum class PortalEventQueueType(val value:Int)
{
@SerializedName("0") CreateUser(0),
@SerializedName("1") ViewTenderUserInvite(1),
@SerializedName("2") CreateTenderUser(2),
@SerializedName("3") CreateQuestion(3),
@SerializedName("4") ViewSupplementaryRequest(4),
@SerializedName("5") CreateSupplementaryResponse(5),
@SerializedName("6") ViewContractVersion(6),
@SerializedName("7") AcceptContractVersion(7),
@SerializedName("8") CreateContractVersionComment(8),
@SerializedName("9") ViewPurchaseOrderVersion(9),
@SerializedName("10") AcceptPurchaseOrderVersion(10),
@SerializedName("11") CreatePurchaseOrderVersionComment(11),
@SerializedName("12") EditUser(12),
@SerializedName("13") SubmitTenderUserTenderRound(13),
}
Kotlin BrowseAllPortalEventQueue 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
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /portaleventqueue HTTP/1.1 Host: szallitoiportal-be.veolia.hu Accept: application/json
HTTP/1.1 200 OK Content-Type: application/json Content-Length: length {"Items":[{"Id":0,"EventType":0,"DataId":0,"CreatedDateTime":"0001-01-01T00:00:00.0000000"}],"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}}}