BokaMera.API.Host

<back to all web services

ReplayVossErrorLog

Requires Authentication
Required role:superadmin
The following routes are available for this service:
POST/voss/errorlog/{Id}/replayRe-enqueue the Voss operation captured by a logged failure
import java.math.*;
import java.util.*;
import java.io.InputStream;
import net.servicestack.client.*;

public class dtos
{

    @ApiResponse(Description="You were unauthorized to call this service", StatusCode=401)
    public static class ReplayVossErrorLog
    {
        /**
        * VossErrorLog id to replay
        */
        @ApiMember(Description="VossErrorLog id to replay", IsRequired=true)
        public Integer Id = null;
        
        public Integer getId() { return Id; }
        public ReplayVossErrorLog setId(Integer value) { this.Id = value; return this; }
    }

    public static class VossErrorLogQueryResponse
    {
        public Integer Id = null;
        public UUID CompanyId = null;
        public Integer TypeId = null;
        public String TypeName = null;
        public Integer Source = null;
        public String SourceName = null;
        public String Comments = null;
        public String MetaData = null;
        public String QueueName = null;
        public String MessageType = null;
        public Integer DeliveryCount = null;
        public String DeadLetterReason = null;
        public Boolean Resolved = null;
        public Date CreatedDate = null;
        
        public Integer getId() { return Id; }
        public VossErrorLogQueryResponse setId(Integer value) { this.Id = value; return this; }
        public UUID getCompanyId() { return CompanyId; }
        public VossErrorLogQueryResponse setCompanyId(UUID value) { this.CompanyId = value; return this; }
        public Integer getTypeId() { return TypeId; }
        public VossErrorLogQueryResponse setTypeId(Integer value) { this.TypeId = value; return this; }
        public String getTypeName() { return TypeName; }
        public VossErrorLogQueryResponse setTypeName(String value) { this.TypeName = value; return this; }
        public Integer getSource() { return Source; }
        public VossErrorLogQueryResponse setSource(Integer value) { this.Source = value; return this; }
        public String getSourceName() { return SourceName; }
        public VossErrorLogQueryResponse setSourceName(String value) { this.SourceName = value; return this; }
        public String getComments() { return Comments; }
        public VossErrorLogQueryResponse setComments(String value) { this.Comments = value; return this; }
        public String getMetaData() { return MetaData; }
        public VossErrorLogQueryResponse setMetaData(String value) { this.MetaData = value; return this; }
        public String getQueueName() { return QueueName; }
        public VossErrorLogQueryResponse setQueueName(String value) { this.QueueName = value; return this; }
        public String getMessageType() { return MessageType; }
        public VossErrorLogQueryResponse setMessageType(String value) { this.MessageType = value; return this; }
        public Integer getDeliveryCount() { return DeliveryCount; }
        public VossErrorLogQueryResponse setDeliveryCount(Integer value) { this.DeliveryCount = value; return this; }
        public String getDeadLetterReason() { return DeadLetterReason; }
        public VossErrorLogQueryResponse setDeadLetterReason(String value) { this.DeadLetterReason = value; return this; }
        public Boolean isResolved() { return Resolved; }
        public VossErrorLogQueryResponse setResolved(Boolean value) { this.Resolved = value; return this; }
        public Date getCreatedDate() { return CreatedDate; }
        public VossErrorLogQueryResponse setCreatedDate(Date value) { this.CreatedDate = value; return this; }
    }

}

Java ReplayVossErrorLog DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other

HTTP + OTHER

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /voss/errorlog/{Id}/replay HTTP/1.1 
Host: api-staging.bookmore.com 
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length

{"Id":0}
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length

{"Id":0,"CompanyId":"00000000-0000-0000-0000-000000000000","TypeId":0,"TypeName":"String","Source":0,"SourceName":"String","Comments":"String","MetaData":"String","QueueName":"String","MessageType":"String","DeliveryCount":0,"DeadLetterReason":"String","Resolved":false}