Requires any of the roles: | VeoliaAdmin, SysAdmin |
GET | /portaleventqueue/{portaleventqueueid} |
---|
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 BrowsePortalEventQueueResponse() =
inherit ResponseBase()
member val PortalEventQueue:PortalEventQueueSimple = null with get,set
[<AllowNullLiteral>]
type BrowsePortalEventQueue() =
interface IGet
member val PortalEventQueueId:Int32 = new Int32() with get,set
F# BrowsePortalEventQueue DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /portaleventqueue/{portaleventqueueid} HTTP/1.1 Host: szallitoiportal-be.veolia.hu Accept: text/jsonl
HTTP/1.1 200 OK Content-Type: text/jsonl Content-Length: length {"PortalEventQueue":{"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"}}}