GET | /summary-report/{BeeNumber}/region-a |
---|
import Foundation
import ServiceStack
/**
* Region A is top section of summary report that shows current quarter cycle break down
*/
public class SummaryReportRepresentativeKPIsGet : IGet, Codable
{
public var beeNumber:Double?
required public init(){}
}
public class SummaryReportRepresentativeKPIsGetResponse : GetResponse<RepresentativeSummaryReportKPIsViewModel>
{
required public init(){ super.init() }
required public init(from decoder: Decoder) throws {
try super.init(from: decoder)
}
public override func encode(to encoder: Encoder) throws {
try super.encode(to: encoder)
}
}
public class GetResponse<TEntity : Codable> : Codable
{
public var item:TEntity?
public var responseStatus:ResponseStatus?
required public init(){}
}
public class RepresentativeSummaryReportKPIsViewModel : Codable
{
public var information:SummaryReportBaseInfoViewModel?
public var yourPersonalAwardSales:SummaryValues?
public var yourNetSales:SummaryValues?
public var yourPersonalAwardSalesPriorYear:SummaryValues?
public var yourPercentAwardSalesVsPriorYear:SummaryValues?
public var yourDirectDeliverySales:SummaryValues?
public var yourDirectDeliveryNetSales:SummaryValues?
public var percentDirectDeliveryNetSalesVsPersonalAwardSales:SummaryValues?
public var orderActivityPercent:SummaryValues?
public var averageOrderDollars:SummaryValues?
public var numberPersonalOrders:SummaryValues?
public var numberDirectDeliveryOrders:SummaryValues?
public var averageOrderDollarDirectDeliveryOrder:SummaryValues?
public var newCustomers:SummaryValues?
public var convertedCustomers:SummaryValues?
public var detachedCustomers:SummaryValues?
public var totalOnlineCustomers:SummaryValues?
public var totalTeamSales:SummaryValues?
public var additions:SummaryValues?
public var removals:SummaryValues?
public var totalRepCount:SummaryValues?
public var repCountWithOrders:SummaryValues?
public var cpr:SummaryValues?
public var activity:SummaryValues?
public var spcpr:SummaryValues?
public var appointments:SummaryValues?
public var firstTimeOrders:SummaryValues?
public var firstTimeOrdersCorpGenerated:SummaryValues?
public var firstTimeOrdersRepGeneration:SummaryValues?
public var reinstatements:SummaryValues?
public var newRepAwardSalesSPCPR:SummaryValues?
public var newRepNetSalesSPCPR:SummaryValues?
public var newRepActivity:SummaryValues?
required public init(){}
}
public class SummaryReportBaseInfoViewModel : Codable
{
public var beeNumber:BeeNumberDisplaySet?
public var cycle:Int?
public var cycleDay:Int?
public var currentQuarter:String?
public var currentCycle:[String] = []
required public init(){}
}
public class BeeNumberDisplaySet : Codable
{
public var beeNumber:Double?
public var externalIds:[String] = []
public var salesOrganizationId:String?
required public init(){}
}
public class SummaryValues : Codable
{
public var c1:Double?
public var c2:Double?
public var c3:Double?
public var c4:Double?
public var c5:Double?
public var c6:Double?
public var c7:Double?
public var c8:Double?
public var c9:Double?
public var c10:Double?
public var c11:Double?
public var c12:Double?
public var c13:Double?
public var c14:Double?
public var c15:Double?
public var c16:Double?
public var c17:Double?
public var c18:Double?
public var c19:Double?
public var c20:Double?
public var c21:Double?
public var c22:Double?
public var c23:Double?
public var c24:Double?
public var c25:Double?
public var c26:Double?
public var c27:Double?
public var c28:Double?
public var ytd:Double?
public var q1:Double?
public var q2:Double?
public var q3:Double?
public var q4:Double?
public var q5:Double?
public var qtd:Double?
public var currentQuarter:Double?
public var currentVSPCPercent:Double?
public var currentVSPYPercent:Double?
required public init(){}
}
Swift SummaryReportRepresentativeKPIsGet 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 /summary-report/{BeeNumber}/region-a HTTP/1.1 Host: extensions.avon.ca Accept: text/jsv
HTTP/1.1 200 OK Content-Type: text/jsv Content-Length: length { item: { information: { beeNumber: { beeNumber: 0, externalIds: [ String ], salesOrganizationId: String }, cycle: 0, cycleDay: 0, currentQuarter: String, currentCycle: [ String ] }, yourPersonalAwardSales: { c1: 0, c2: 0, c3: 0, c4: 0, c5: 0, c6: 0, c7: 0, c8: 0, c9: 0, c10: 0, c11: 0, c12: 0, c13: 0, c14: 0, c15: 0, c16: 0, c17: 0, c18: 0, c19: 0, c20: 0, c21: 0, c22: 0, c23: 0, c24: 0, c25: 0, c26: 0, c27: 0, c28: 0, ytd: 0, q1: 0, q2: 0, q3: 0, q4: 0, q5: 0, qtd: 0, currentQuarter: 0, currentVSPCPercent: 0, currentVSPYPercent: 0 }, yourNetSales: { c1: 0, c2: 0, c3: 0, c4: 0, c5: 0, c6: 0, c7: 0, c8: 0, c9: 0, c10: 0, c11: 0, c12: 0, c13: 0, c14: 0, c15: 0, c16: 0, c17: 0, c18: 0, c19: 0, c20: 0, c21: 0, c22: 0, c23: 0, c24: 0, c25: 0, c26: 0, c27: 0, c28: 0, ytd: 0, q1: 0, q2: 0, q3: 0, q4: 0, q5: 0, qtd: 0, currentQuarter: 0, currentVSPCPercent: 0, currentVSPYPercent: 0 }, yourPersonalAwardSalesPriorYear: { c1: 0, c2: 0, c3: 0, c4: 0, c5: 0, c6: 0, c7: 0, c8: 0, c9: 0, c10: 0, c11: 0, c12: 0, c13: 0, c14: 0, c15: 0, c16: 0, c17: 0, c18: 0, c19: 0, c20: 0, c21: 0, c22: 0, c23: 0, c24: 0, c25: 0, c26: 0, c27: 0, c28: 0, ytd: 0, q1: 0, q2: 0, q3: 0, q4: 0, q5: 0, qtd: 0, currentQuarter: 0, currentVSPCPercent: 0, currentVSPYPercent: 0 }, yourPercentAwardSalesVsPriorYear: { c1: 0, c2: 0, c3: 0, c4: 0, c5: 0, c6: 0, c7: 0, c8: 0, c9: 0, c10: 0, c11: 0, c12: 0, c13: 0, c14: 0, c15: 0, c16: 0, c17: 0, c18: 0, c19: 0, c20: 0, c21: 0, c22: 0, c23: 0, c24: 0, c25: 0, c26: 0, c27: 0, c28: 0, ytd: 0, q1: 0, q2: 0, q3: 0, q4: 0, q5: 0, qtd: 0, currentQuarter: 0, currentVSPCPercent: 0, currentVSPYPercent: 0 }, yourDirectDeliverySales: { c1: 0, c2: 0, c3: 0, c4: 0, c5: 0, c6: 0, c7: 0, c8: 0, c9: 0, c10: 0, c11: 0, c12: 0, c13: 0, c14: 0, c15: 0, c16: 0, c17: 0, c18: 0, c19: 0, c20: 0, c21: 0, c22: 0, c23: 0, c24: 0, c25: 0, c26: 0, c27: 0, c28: 0, ytd: 0, q1: 0, q2: 0, q3: 0, q4: 0, q5: 0, qtd: 0, currentQuarter: 0, currentVSPCPercent: 0, currentVSPYPercent: 0 }, yourDirectDeliveryNetSales: { c1: 0, c2: 0, c3: 0, c4: 0, c5: 0, c6: 0, c7: 0, c8: 0, c9: 0, c10: 0, c11: 0, c12: 0, c13: 0, c14: 0, c15: 0, c16: 0, c17: 0, c18: 0, c19: 0, c20: 0, c21: 0, c22: 0, c23: 0, c24: 0, c25: 0, c26: 0, c27: 0, c28: 0, ytd: 0, q1: 0, q2: 0, q3: 0, q4: 0, q5: 0, qtd: 0, currentQuarter: 0, currentVSPCPercent: 0, currentVSPYPercent: 0 }, percentDirectDeliveryNetSalesVsPersonalAwardSales: { c1: 0, c2: 0, c3: 0, c4: 0, c5: 0, c6: 0, c7: 0, c8: 0, c9: 0, c10: 0, c11: 0, c12: 0, c13: 0, c14: 0, c15: 0, c16: 0, c17: 0, c18: 0, c19: 0, c20: 0, c21: 0, c22: 0, c23: 0, c24: 0, c25: 0, c26: 0, c27: 0, c28: 0, ytd: 0, q1: 0, q2: 0, q3: 0, q4: 0, q5: 0, qtd: 0, currentQuarter: 0, currentVSPCPercent: 0, currentVSPYPercent: 0 }, orderActivityPercent: { c1: 0, c2: 0, c3: 0, c4: 0, c5: 0, c6: 0, c7: 0, c8: 0, c9: 0, c10: 0, c11: 0, c12: 0, c13: 0, c14: 0, c15: 0, c16: 0, c17: 0, c18: 0, c19: 0, c20: 0, c21: 0, c22: 0, c23: 0, c24: 0, c25: 0, c26: 0, c27: 0, c28: 0, ytd: 0, q1: 0, q2: 0, q3: 0, q4: 0, q5: 0, qtd: 0, currentQuarter: 0, currentVSPCPercent: 0, currentVSPYPercent: 0 }, averageOrderDollars: { c1: 0, c2: 0, c3: 0, c4: 0, c5: 0, c6: 0, c7: 0, c8: 0, c9: 0, c10: 0, c11: 0, c12: 0, c13: 0, c14: 0, c15: 0, c16: 0, c17: 0, c18: 0, c19: 0, c20: 0, c21: 0, c22: 0, c23: 0, c24: 0, c25: 0, c26: 0, c27: 0, c28: 0, ytd: 0, q1: 0, q2: 0, q3: 0, q4: 0, q5: 0, qtd: 0, currentQuarter: 0, currentVSPCPercent: 0, currentVSPYPercent: 0 }, numberPersonalOrders: { c1: 0, c2: 0, c3: 0, c4: 0, c5: 0, c6: 0, c7: 0, c8: 0, c9: 0, c10: 0, c11: 0, c12: 0, c13: 0, c14: 0, c15: 0, c16: 0, c17: 0, c18: 0, c19: 0, c20: 0, c21: 0, c22: 0, c23: 0, c24: 0, c25: 0, c26: 0, c27: 0, c28: 0, ytd: 0, q1: 0, q2: 0, q3: 0, q4: 0, q5: 0, qtd: 0, currentQuarter: 0, currentVSPCPercent: 0, currentVSPYPercent: 0 }, numberDirectDeliveryOrders: { c1: 0, c2: 0, c3: 0, c4: 0, c5: 0, c6: 0, c7: 0, c8: 0, c9: 0, c10: 0, c11: 0, c12: 0, c13: 0, c14: 0, c15: 0, c16: 0, c17: 0, c18: 0, c19: 0, c20: 0, c21: 0, c22: 0, c23: 0, c24: 0, c25: 0, c26: 0, c27: 0, c28: 0, ytd: 0, q1: 0, q2: 0, q3: 0, q4: 0, q5: 0, qtd: 0, currentQuarter: 0, currentVSPCPercent: 0, currentVSPYPercent: 0 }, averageOrderDollarDirectDeliveryOrder: { c1: 0, c2: 0, c3: 0, c4: 0, c5: 0, c6: 0, c7: 0, c8: 0, c9: 0, c10: 0, c11: 0, c12: 0, c13: 0, c14: 0, c15: 0, c16: 0, c17: 0, c18: 0, c19: 0, c20: 0, c21: 0, c22: 0, c23: 0, c24: 0, c25: 0, c26: 0, c27: 0, c28: 0, ytd: 0, q1: 0, q2: 0, q3: 0, q4: 0, q5: 0, qtd: 0, currentQuarter: 0, currentVSPCPercent: 0, currentVSPYPercent: 0 }, newCustomers: { c1: 0, c2: 0, c3: 0, c4: 0, c5: 0, c6: 0, c7: 0, c8: 0, c9: 0, c10: 0, c11: 0, c12: 0, c13: 0, c14: 0, c15: 0, c16: 0, c17: 0, c18: 0, c19: 0, c20: 0, c21: 0, c22: 0, c23: 0, c24: 0, c25: 0, c26: 0, c27: 0, c28: 0, ytd: 0, q1: 0, q2: 0, q3: 0, q4: 0, q5: 0, qtd: 0, currentQuarter: 0, currentVSPCPercent: 0, currentVSPYPercent: 0 }, convertedCustomers: { c1: 0, c2: 0, c3: 0, c4: 0, c5: 0, c6: 0, c7: 0, c8: 0, c9: 0, c10: 0, c11: 0, c12: 0, c13: 0, c14: 0, c15: 0, c16: 0, c17: 0, c18: 0, c19: 0, c20: 0, c21: 0, c22: 0, c23: 0, c24: 0, c25: 0, c26: 0, c27: 0, c28: 0, ytd: 0, q1: 0, q2: 0, q3: 0, q4: 0, q5: 0, qtd: 0, currentQuarter: 0, currentVSPCPercent: 0, currentVSPYPercent: 0 }, detachedCustomers: { c1: 0, c2: 0, c3: 0, c4: 0, c5: 0, c6: 0, c7: 0, c8: 0, c9: 0, c10: 0, c11: 0, c12: 0, c13: 0, c14: 0, c15: 0, c16: 0, c17: 0, c18: 0, c19: 0, c20: 0, c21: 0, c22: 0, c23: 0, c24: 0, c25: 0, c26: 0, c27: 0, c28: 0, ytd: 0, q1: 0, q2: 0, q3: 0, q4: 0, q5: 0, qtd: 0, currentQuarter: 0, currentVSPCPercent: 0, currentVSPYPercent: 0 }, totalOnlineCustomers: { c1: 0, c2: 0, c3: 0, c4: 0, c5: 0, c6: 0, c7: 0, c8: 0, c9: 0, c10: 0, c11: 0, c12: 0, c13: 0, c14: 0, c15: 0, c16: 0, c17: 0, c18: 0, c19: 0, c20: 0, c21: 0, c22: 0, c23: 0, c24: 0, c25: 0, c26: 0, c27: 0, c28: 0, ytd: 0, q1: 0, q2: 0, q3: 0, q4: 0, q5: 0, qtd: 0, currentQuarter: 0, currentVSPCPercent: 0, currentVSPYPercent: 0 }, totalTeamSales: { c1: 0, c2: 0, c3: 0, c4: 0, c5: 0, c6: 0, c7: 0, c8: 0, c9: 0, c10: 0, c11: 0, c12: 0, c13: 0, c14: 0, c15: 0, c16: 0, c17: 0, c18: 0, c19: 0, c20: 0, c21: 0, c22: 0, c23: 0, c24: 0, c25: 0, c26: 0, c27: 0, c28: 0, ytd: 0, q1: 0, q2: 0, q3: 0, q4: 0, q5: 0, qtd: 0, currentQuarter: 0, currentVSPCPercent: 0, currentVSPYPercent: 0 }, additions: { c1: 0, c2: 0, c3: 0, c4: 0, c5: 0, c6: 0, c7: 0, c8: 0, c9: 0, c10: 0, c11: 0, c12: 0, c13: 0, c14: 0, c15: 0, c16: 0, c17: 0, c18: 0, c19: 0, c20: 0, c21: 0, c22: 0, c23: 0, c24: 0, c25: 0, c26: 0, c27: 0, c28: 0, ytd: 0, q1: 0, q2: 0, q3: 0, q4: 0, q5: 0, qtd: 0, currentQuarter: 0, currentVSPCPercent: 0, currentVSPYPercent: 0 }, removals: { c1: 0, c2: 0, c3: 0, c4: 0, c5: 0, c6: 0, c7: 0, c8: 0, c9: 0, c10: 0, c11: 0, c12: 0, c13: 0, c14: 0, c15: 0, c16: 0, c17: 0, c18: 0, c19: 0, c20: 0, c21: 0, c22: 0, c23: 0, c24: 0, c25: 0, c26: 0, c27: 0, c28: 0, ytd: 0, q1: 0, q2: 0, q3: 0, q4: 0, q5: 0, qtd: 0, currentQuarter: 0, currentVSPCPercent: 0, currentVSPYPercent: 0 }, totalRepCount: { c1: 0, c2: 0, c3: 0, c4: 0, c5: 0, c6: 0, c7: 0, c8: 0, c9: 0, c10: 0, c11: 0, c12: 0, c13: 0, c14: 0, c15: 0, c16: 0, c17: 0, c18: 0, c19: 0, c20: 0, c21: 0, c22: 0, c23: 0, c24: 0, c25: 0, c26: 0, c27: 0, c28: 0, ytd: 0, q1: 0, q2: 0, q3: 0, q4: 0, q5: 0, qtd: 0, currentQuarter: 0, currentVSPCPercent: 0, currentVSPYPercent: 0 }, repCountWithOrders: { c1: 0, c2: 0, c3: 0, c4: 0, c5: 0, c6: 0, c7: 0, c8: 0, c9: 0, c10: 0, c11: 0, c12: 0, c13: 0, c14: 0, c15: 0, c16: 0, c17: 0, c18: 0, c19: 0, c20: 0, c21: 0, c22: 0, c23: 0, c24: 0, c25: 0, c26: 0, c27: 0, c28: 0, ytd: 0, q1: 0, q2: 0, q3: 0, q4: 0, q5: 0, qtd: 0, currentQuarter: 0, currentVSPCPercent: 0, currentVSPYPercent: 0 }, cpr: { c1: 0, c2: 0, c3: 0, c4: 0, c5: 0, c6: 0, c7: 0, c8: 0, c9: 0, c10: 0, c11: 0, c12: 0, c13: 0, c14: 0, c15: 0, c16: 0, c17: 0, c18: 0, c19: 0, c20: 0, c21: 0, c22: 0, c23: 0, c24: 0, c25: 0, c26: 0, c27: 0, c28: 0, ytd: 0, q1: 0, q2: 0, q3: 0, q4: 0, q5: 0, qtd: 0, currentQuarter: 0, currentVSPCPercent: 0, currentVSPYPercent: 0 }, activity: { c1: 0, c2: 0, c3: 0, c4: 0, c5: 0, c6: 0, c7: 0, c8: 0, c9: 0, c10: 0, c11: 0, c12: 0, c13: 0, c14: 0, c15: 0, c16: 0, c17: 0, c18: 0, c19: 0, c20: 0, c21: 0, c22: 0, c23: 0, c24: 0, c25: 0, c26: 0, c27: 0, c28: 0, ytd: 0, q1: 0, q2: 0, q3: 0, q4: 0, q5: 0, qtd: 0, currentQuarter: 0, currentVSPCPercent: 0, currentVSPYPercent: 0 }, spcpr: { c1: 0, c2: 0, c3: 0, c4: 0, c5: 0, c6: 0, c7: 0, c8: 0, c9: 0, c10: 0, c11: 0, c12: 0, c13: 0, c14: 0, c15: 0, c16: 0, c17: 0, c18: 0, c19: 0, c20: 0, c21: 0, c22: 0, c23: 0, c24: 0, c25: 0, c26: 0, c27: 0, c28: 0, ytd: 0, q1: 0, q2: 0, q3: 0, q4: 0, q5: 0, qtd: 0, currentQuarter: 0, currentVSPCPercent: 0, currentVSPYPercent: 0 }, appointments: { c1: 0, c2: 0, c3: 0, c4: 0, c5: 0, c6: 0, c7: 0, c8: 0, c9: 0, c10: 0, c11: 0, c12: 0, c13: 0, c14: 0, c15: 0, c16: 0, c17: 0, c18: 0, c19: 0, c20: 0, c21: 0, c22: 0, c23: 0, c24: 0, c25: 0, c26: 0, c27: 0, c28: 0, ytd: 0, q1: 0, q2: 0, q3: 0, q4: 0, q5: 0, qtd: 0, currentQuarter: 0, currentVSPCPercent: 0, currentVSPYPercent: 0 }, firstTimeOrders: { c1: 0, c2: 0, c3: 0, c4: 0, c5: 0, c6: 0, c7: 0, c8: 0, c9: 0, c10: 0, c11: 0, c12: 0, c13: 0, c14: 0, c15: 0, c16: 0, c17: 0, c18: 0, c19: 0, c20: 0, c21: 0, c22: 0, c23: 0, c24: 0, c25: 0, c26: 0, c27: 0, c28: 0, ytd: 0, q1: 0, q2: 0, q3: 0, q4: 0, q5: 0, qtd: 0, currentQuarter: 0, currentVSPCPercent: 0, currentVSPYPercent: 0 }, firstTimeOrdersCorpGenerated: { c1: 0, c2: 0, c3: 0, c4: 0, c5: 0, c6: 0, c7: 0, c8: 0, c9: 0, c10: 0, c11: 0, c12: 0, c13: 0, c14: 0, c15: 0, c16: 0, c17: 0, c18: 0, c19: 0, c20: 0, c21: 0, c22: 0, c23: 0, c24: 0, c25: 0, c26: 0, c27: 0, c28: 0, ytd: 0, q1: 0, q2: 0, q3: 0, q4: 0, q5: 0, qtd: 0, currentQuarter: 0, currentVSPCPercent: 0, currentVSPYPercent: 0 }, firstTimeOrdersRepGeneration: { c1: 0, c2: 0, c3: 0, c4: 0, c5: 0, c6: 0, c7: 0, c8: 0, c9: 0, c10: 0, c11: 0, c12: 0, c13: 0, c14: 0, c15: 0, c16: 0, c17: 0, c18: 0, c19: 0, c20: 0, c21: 0, c22: 0, c23: 0, c24: 0, c25: 0, c26: 0, c27: 0, c28: 0, ytd: 0, q1: 0, q2: 0, q3: 0, q4: 0, q5: 0, qtd: 0, currentQuarter: 0, currentVSPCPercent: 0, currentVSPYPercent: 0 }, reinstatements: { c1: 0, c2: 0, c3: 0, c4: 0, c5: 0, c6: 0, c7: 0, c8: 0, c9: 0, c10: 0, c11: 0, c12: 0, c13: 0, c14: 0, c15: 0, c16: 0, c17: 0, c18: 0, c19: 0, c20: 0, c21: 0, c22: 0, c23: 0, c24: 0, c25: 0, c26: 0, c27: 0, c28: 0, ytd: 0, q1: 0, q2: 0, q3: 0, q4: 0, q5: 0, qtd: 0, currentQuarter: 0, currentVSPCPercent: 0, currentVSPYPercent: 0 }, newRepAwardSalesSPCPR: { c1: 0, c2: 0, c3: 0, c4: 0, c5: 0, c6: 0, c7: 0, c8: 0, c9: 0, c10: 0, c11: 0, c12: 0, c13: 0, c14: 0, c15: 0, c16: 0, c17: 0, c18: 0, c19: 0, c20: 0, c21: 0, c22: 0, c23: 0, c24: 0, c25: 0, c26: 0, c27: 0, c28: 0, ytd: 0, q1: 0, q2: 0, q3: 0, q4: 0, q5: 0, qtd: 0, currentQuarter: 0, currentVSPCPercent: 0, currentVSPYPercent: 0 }, newRepNetSalesSPCPR: { c1: 0, c2: 0, c3: 0, c4: 0, c5: 0, c6: 0, c7: 0, c8: 0, c9: 0, c10: 0, c11: 0, c12: 0, c13: 0, c14: 0, c15: 0, c16: 0, c17: 0, c18: 0, c19: 0, c20: 0, c21: 0, c22: 0, c23: 0, c24: 0, c25: 0, c26: 0, c27: 0, c28: 0, ytd: 0, q1: 0, q2: 0, q3: 0, q4: 0, q5: 0, qtd: 0, currentQuarter: 0, currentVSPCPercent: 0, currentVSPYPercent: 0 }, newRepActivity: { c1: 0, c2: 0, c3: 0, c4: 0, c5: 0, c6: 0, c7: 0, c8: 0, c9: 0, c10: 0, c11: 0, c12: 0, c13: 0, c14: 0, c15: 0, c16: 0, c17: 0, c18: 0, c19: 0, c20: 0, c21: 0, c22: 0, c23: 0, c24: 0, c25: 0, c26: 0, c27: 0, c28: 0, ytd: 0, q1: 0, q2: 0, q3: 0, q4: 0, q5: 0, qtd: 0, currentQuarter: 0, currentVSPCPercent: 0, currentVSPYPercent: 0 } }, responseStatus: { errorCode: String, message: String, stackTrace: String, errors: [ { errorCode: String, fieldName: String, message: String, meta: { String: String } } ], meta: { String: String } } }