Portal

<back to all web services

BrowseAllPortalEventQueue

Requires Authentication
Requires any of the roles:VeoliaAdmin, SysAdmin
The following routes are available for this service:
GET/portaleventqueue
import datetime
import decimal
from marshmallow.fields import *
from servicestack import *
from typing import *
from dataclasses import dataclass, field
from dataclasses_json import dataclass_json, LetterCase, Undefined, config
from enum import Enum, IntEnum


@dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE)
@dataclass
class ResponseBase:
    response_status: Optional[ResponseStatus] = None


class PortalEventQueueType(IntEnum):
    CREATE_USER = 0
    VIEW_TENDER_USER_INVITE = 1
    CREATE_TENDER_USER = 2
    CREATE_QUESTION = 3
    VIEW_SUPPLEMENTARY_REQUEST = 4
    CREATE_SUPPLEMENTARY_RESPONSE = 5
    VIEW_CONTRACT_VERSION = 6
    ACCEPT_CONTRACT_VERSION = 7
    CREATE_CONTRACT_VERSION_COMMENT = 8
    VIEW_PURCHASE_ORDER_VERSION = 9
    ACCEPT_PURCHASE_ORDER_VERSION = 10
    CREATE_PURCHASE_ORDER_VERSION_COMMENT = 11
    EDIT_USER = 12
    SUBMIT_TENDER_USER_TENDER_ROUND = 13


@dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE)
@dataclass
class PortalEventQueueSimple:
    id: int = 0
    event_type: Optional[PortalEventQueueType] = None
    data_id: int = 0
    created_date_time: datetime.datetime = datetime.datetime(1, 1, 1)


@dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE)
@dataclass
class BrowseAllPortalEventQueueResponse(ResponseBase):
    items: Optional[List[PortalEventQueueSimple]] = None


@dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE)
@dataclass
class BrowseAllPortalEventQueue(IGet):
    pass

Python BrowseAllPortalEventQueue 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 /portaleventqueue HTTP/1.1 
Host: szallitoiportal-be.veolia.hu 
Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	Items: 
	[
		{
			Id: 0,
			EventType: 0,
			DataId: 0,
			CreatedDateTime: 0001-01-01
		}
	],
	ResponseStatus: 
	{
		ErrorCode: String,
		Message: String,
		StackTrace: String,
		Errors: 
		[
			{
				ErrorCode: String,
				FieldName: String,
				Message: String,
				Meta: 
				{
					String: String
				}
			}
		],
		Meta: 
		{
			String: String
		}
	}
}