NAV

<back to all web services

SummaryReportRepresentativeRegionBGet

Region B is middle section of summary report that shows cycles for this year compared to last year

The following routes are available for this service:
GET/summary-report/{BeeNumber}/region-b
Imports System
Imports System.Collections
Imports System.Collections.Generic
Imports System.Runtime.Serialization
Imports ServiceStack
Imports ServiceStack.DataAnnotations
Imports NAV.ServiceModel
Imports Nxnw.Adc.Common.ServiceModel

Namespace Global

    Namespace NAV.ServiceModel

        Public Partial Class GetResponse(Of TEntity)
            Public Overridable Property Item As TEntity
            Public Overridable Property ResponseStatus As ResponseStatus
        End Class

        Public Partial Class RepresentativeSummaryReportRegionBViewModel
            Public Overridable Property BeeNumber As BeeNumberDisplaySet
            Public Overridable Property CurrentYear As Integer
            Public Overridable Property PriorYear As Integer
            Public Overridable Property AwardSales As YearlyValues
            Public Overridable Property NetSales As YearlyValues
            Public Overridable Property NumberOfCustomers As YearlyValues
            Public Overridable Property Orders As YearlyValues
            Public Overridable Property Activity As YearlyValues
            Public Overridable Property AOSAwardSales As YearlyValues
            Public Overridable Property RepCount As YearlyValues
            Public Overridable Property AOSNetSales As YearlyValues
        End Class

        '''<Summary>
        '''Region B is middle section of summary report that shows cycles for this year compared to last year
        '''</Summary>
        Public Partial Class SummaryReportRepresentativeRegionBGet
            Implements IGet
            Public Overridable Property BeeNumber As Decimal
        End Class

        Public Partial Class SummaryReportRepresentativeRegionBGetResponse
            Inherits GetResponse(Of RepresentativeSummaryReportRegionBViewModel)
        End Class

        Public Partial Class SummaryValues
            Public Overridable Property C1 As Decimal
            Public Overridable Property C2 As Decimal
            Public Overridable Property C3 As Decimal
            Public Overridable Property C4 As Decimal
            Public Overridable Property C5 As Decimal
            Public Overridable Property C6 As Decimal
            Public Overridable Property C7 As Decimal
            Public Overridable Property C8 As Decimal
            Public Overridable Property C9 As Decimal
            Public Overridable Property C10 As Decimal
            Public Overridable Property C11 As Decimal
            Public Overridable Property C12 As Decimal
            Public Overridable Property C13 As Decimal
            Public Overridable Property C14 As Decimal
            Public Overridable Property C15 As Decimal
            Public Overridable Property C16 As Decimal
            Public Overridable Property C17 As Decimal
            Public Overridable Property C18 As Decimal
            Public Overridable Property C19 As Decimal
            Public Overridable Property C20 As Decimal
            Public Overridable Property C21 As Decimal
            Public Overridable Property C22 As Decimal
            Public Overridable Property C23 As Decimal
            Public Overridable Property C24 As Decimal
            Public Overridable Property C25 As Decimal
            Public Overridable Property C26 As Decimal
            Public Overridable Property C27 As Nullable(Of Decimal)
            Public Overridable Property C28 As Nullable(Of Decimal)
            Public Overridable Property YTD As Decimal
            Public Overridable Property Q1 As Decimal
            Public Overridable Property Q2 As Decimal
            Public Overridable Property Q3 As Decimal
            Public Overridable Property Q4 As Decimal
            Public Overridable Property Q5 As Nullable(Of Decimal)
            Public Overridable Property QTD As Decimal
            Public Overridable Property CurrentQuarter As Decimal
            Public Overridable Property CurrentVSPCPercent As Decimal
            Public Overridable Property CurrentVSPYPercent As Decimal
        End Class

        Public Partial Class YearlyValues
            Public Overridable Property CurrentYear As SummaryValues
            Public Overridable Property PriorYear As SummaryValues
            Public Overridable Property PercentVsPriorYear As SummaryValues
        End Class
    End Namespace

    Namespace Nxnw.Adc.Common.ServiceModel

        Public Partial Class BeeNumberDisplaySet
            Public Sub New()
                ExternalIds = New List(Of String)
            End Sub

            Public Overridable Property BeeNumber As Decimal
            Public Overridable Property ExternalIds As List(Of String)
            Public Overridable Property SalesOrganizationId As String
        End Class
    End Namespace
End Namespace

VB.NET SummaryReportRepresentativeRegionBGet DTOs

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

HTTP + CSV

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/csv
HTTP/1.1 200 OK
Content-Type: text/csv
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"}}}