Requires any of the roles: | VeoliaAdmin, SysAdmin |
GET | /portaleventqueue |
---|
namespace Portal.Common
open System
open System.Collections
open System.Collections.Generic
open System.Runtime.Serialization
open ServiceStack
open ServiceStack.DataAnnotations
[<AllowNullLiteral>]
type ResponseBase() =
member val ResponseStatus:ResponseStatus = null with get,set
type PortalEventQueueType =
| CreateUser = 0
| ViewTenderUserInvite = 1
| CreateTenderUser = 2
| CreateQuestion = 3
| ViewSupplementaryRequest = 4
| CreateSupplementaryResponse = 5
| ViewContractVersion = 6
| AcceptContractVersion = 7
| CreateContractVersionComment = 8
| ViewPurchaseOrderVersion = 9
| AcceptPurchaseOrderVersion = 10
| CreatePurchaseOrderVersionComment = 11
| EditUser = 12
| SubmitTenderUserTenderRound = 13
[<AllowNullLiteral>]
type PortalEventQueueSimple() =
member val Id:Int32 = new Int32() with get,set
member val EventType:PortalEventQueueType = new PortalEventQueueType() with get,set
member val DataId:Int32 = new Int32() with get,set
member val CreatedDateTime:DateTime = new DateTime() with get,set
[<AllowNullLiteral>]
type BrowseAllPortalEventQueueResponse() =
inherit ResponseBase()
member val Items:ResizeArray<PortalEventQueueSimple> = new ResizeArray<PortalEventQueueSimple>() with get,set
[<AllowNullLiteral>]
type BrowseAllPortalEventQueue() =
interface IGet
F# BrowseAllPortalEventQueue 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 /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 } } }