| GET | /summary-report/{BeeNumber}/region-b |
|---|
namespace NAV.ServiceModel
open System
open System.Collections
open System.Collections.Generic
open System.Runtime.Serialization
open ServiceStack
open ServiceStack.DataAnnotations
[<AllowNullLiteral>]
type BeeNumberDisplaySet() =
member val BeeNumber:Decimal = new Decimal() with get,set
member val ExternalIds:ResizeArray<String> = new ResizeArray<String>() with get,set
member val SalesOrganizationId:String = null with get,set
[<AllowNullLiteral>]
type SummaryValues() =
member val C1:Decimal = new Decimal() with get,set
member val C2:Decimal = new Decimal() with get,set
member val C3:Decimal = new Decimal() with get,set
member val C4:Decimal = new Decimal() with get,set
member val C5:Decimal = new Decimal() with get,set
member val C6:Decimal = new Decimal() with get,set
member val C7:Decimal = new Decimal() with get,set
member val C8:Decimal = new Decimal() with get,set
member val C9:Decimal = new Decimal() with get,set
member val C10:Decimal = new Decimal() with get,set
member val C11:Decimal = new Decimal() with get,set
member val C12:Decimal = new Decimal() with get,set
member val C13:Decimal = new Decimal() with get,set
member val C14:Decimal = new Decimal() with get,set
member val C15:Decimal = new Decimal() with get,set
member val C16:Decimal = new Decimal() with get,set
member val C17:Decimal = new Decimal() with get,set
member val C18:Decimal = new Decimal() with get,set
member val C19:Decimal = new Decimal() with get,set
member val C20:Decimal = new Decimal() with get,set
member val C21:Decimal = new Decimal() with get,set
member val C22:Decimal = new Decimal() with get,set
member val C23:Decimal = new Decimal() with get,set
member val C24:Decimal = new Decimal() with get,set
member val C25:Decimal = new Decimal() with get,set
member val C26:Decimal = new Decimal() with get,set
member val C27:Nullable<Decimal> = new Nullable<Decimal>() with get,set
member val C28:Nullable<Decimal> = new Nullable<Decimal>() with get,set
member val YTD:Decimal = new Decimal() with get,set
member val Q1:Decimal = new Decimal() with get,set
member val Q2:Decimal = new Decimal() with get,set
member val Q3:Decimal = new Decimal() with get,set
member val Q4:Decimal = new Decimal() with get,set
member val Q5:Nullable<Decimal> = new Nullable<Decimal>() with get,set
member val QTD:Decimal = new Decimal() with get,set
member val CurrentQuarter:Decimal = new Decimal() with get,set
member val CurrentVSPCPercent:Decimal = new Decimal() with get,set
member val CurrentVSPYPercent:Decimal = new Decimal() with get,set
[<AllowNullLiteral>]
type YearlyValues() =
member val CurrentYear:SummaryValues = null with get,set
member val PriorYear:SummaryValues = null with get,set
member val PercentVsPriorYear:SummaryValues = null with get,set
[<AllowNullLiteral>]
type RepresentativeSummaryReportRegionBViewModel() =
member val BeeNumber:BeeNumberDisplaySet = null with get,set
member val CurrentYear:Int32 = new Int32() with get,set
member val PriorYear:Int32 = new Int32() with get,set
member val AwardSales:YearlyValues = null with get,set
member val NetSales:YearlyValues = null with get,set
member val NumberOfCustomers:YearlyValues = null with get,set
member val Orders:YearlyValues = null with get,set
member val Activity:YearlyValues = null with get,set
member val AOSAwardSales:YearlyValues = null with get,set
member val RepCount:YearlyValues = null with get,set
member val AOSNetSales:YearlyValues = null with get,set
[<AllowNullLiteral>]
type SummaryReportRepresentativeRegionBGetResponse() =
inherit GetResponse<RepresentativeSummaryReportRegionBViewModel>()
///<summary>
///Region B is middle section of summary report that shows cycles for this year compared to last year
///</summary>
[<AllowNullLiteral>]
type SummaryReportRepresentativeRegionBGet() =
interface IGet
member val BeeNumber:Decimal = new Decimal() with get,set
[<AllowNullLiteral>]
type GetResponse<'TEntity>() =
member val Item:'TEntity = null with get,set
member val ResponseStatus:ResponseStatus = null with get,set
F# SummaryReportRepresentativeRegionBGet 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-b HTTP/1.1
Host: extensions.avon.ca
Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
item:
{
beeNumber:
{
beeNumber: 0,
externalIds:
[
String
],
salesOrganizationId: String
},
currentYear: 0,
priorYear: 0,
awardSales:
{
currentYear:
{
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
},
priorYear:
{
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
},
percentVsPriorYear:
{
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
}
},
netSales:
{
currentYear:
{
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
},
priorYear:
{
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
},
percentVsPriorYear:
{
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
}
},
numberOfCustomers:
{
currentYear:
{
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
},
priorYear:
{
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
},
percentVsPriorYear:
{
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
}
},
orders:
{
currentYear:
{
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
},
priorYear:
{
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
},
percentVsPriorYear:
{
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:
{
currentYear:
{
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
},
priorYear:
{
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
},
percentVsPriorYear:
{
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
}
},
aosAwardSales:
{
currentYear:
{
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
},
priorYear:
{
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
},
percentVsPriorYear:
{
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
}
},
repCount:
{
currentYear:
{
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
},
priorYear:
{
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
},
percentVsPriorYear:
{
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
}
},
aosNetSales:
{
currentYear:
{
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
},
priorYear:
{
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
},
percentVsPriorYear:
{
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
}
}
}