Requires any of the roles: | VeoliaAdmin, SysAdmin |
GET | /portaleventqueue/{portaleventqueueid} |
---|
import java.math.*;
import java.util.*;
import net.servicestack.client.*;
public class dtos
{
public static class BrowsePortalEventQueue implements IGet
{
public Integer PortalEventQueueId = null;
public Integer getPortalEventQueueId() { return PortalEventQueueId; }
public BrowsePortalEventQueue setPortalEventQueueId(Integer value) { this.PortalEventQueueId = value; return this; }
}
public static class BrowsePortalEventQueueResponse extends ResponseBase
{
public PortalEventQueueSimple PortalEventQueue = null;
public PortalEventQueueSimple getPortalEventQueue() { return PortalEventQueue; }
public BrowsePortalEventQueueResponse setPortalEventQueue(PortalEventQueueSimple value) { this.PortalEventQueue = value; return this; }
}
public static class ResponseBase
{
public ResponseStatus ResponseStatus = null;
public ResponseStatus getResponseStatus() { return ResponseStatus; }
public ResponseBase setResponseStatus(ResponseStatus value) { this.ResponseStatus = value; return this; }
}
public static class PortalEventQueueSimple
{
public Integer Id = null;
public PortalEventQueueType EventType = null;
public Integer DataId = null;
public Date CreatedDateTime = null;
public Integer getId() { return Id; }
public PortalEventQueueSimple setId(Integer value) { this.Id = value; return this; }
public PortalEventQueueType getEventType() { return EventType; }
public PortalEventQueueSimple setEventType(PortalEventQueueType value) { this.EventType = value; return this; }
public Integer getDataId() { return DataId; }
public PortalEventQueueSimple setDataId(Integer value) { this.DataId = value; return this; }
public Date getCreatedDateTime() { return CreatedDateTime; }
public PortalEventQueueSimple setCreatedDateTime(Date value) { this.CreatedDateTime = value; return this; }
}
public static enum PortalEventQueueType
{
@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);
private final int value;
PortalEventQueueType(final int intValue) { value = intValue; }
public int getValue() { return value; }
}
}
Java BrowsePortalEventQueue 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/{portaleventqueueid} HTTP/1.1 Host: szallitoiportal-be.veolia.hu Accept: text/jsv
HTTP/1.1 200 OK Content-Type: text/jsv Content-Length: length { PortalEventQueue: { 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 } } }