EMUN1 ASP.NET

<back to all web services

QueryInvoiceYOYTotals

The following routes are available for this service:
All Verbs/service/QueryInvoiceYOYTotals
QueryInvoiceYOYTotals Parameters:
NameParameterData TypeRequiredDescription
ManagerIdquerystringNo
QueryBase Parameters:
NameParameterData TypeRequiredDescription
Skipformint?No
Takeformint?No
OrderByformstringNo
OrderByDescformstringNo
IncludeformstringNo
FieldsformstringNo
MetaformDictionary<string, string>No
InvoiceYOYTotal Parameters:
NameParameterData TypeRequiredDescription
VendorIDformstringNo
VendorNameformstringNo
VendorGroupformstringNo
RepGroupIDformstringNo
RepGroupNameformstringNo
CustomerIDformstringNo
CustomerNameformstringNo
SalesRepIDformstringNo
SalesRepNameformstringNo
SalesRepStateformstringNo
SalesRepRegionIDformstringNo
SalesRepRegionformstringNo
SalesRepUsernameformstringNo
TotalInvoiceYearToDateformdecimalNo
TotalInvoiceLastYearformdecimalNo
TotalInvoiceYearToDateLastYearformdecimalNo
TotalInvoiceQuarterToDateformdecimalNo
TotalInvoiceLastQuarterformdecimalNo
TotalInvoiceQuarterToDateLastYearformdecimalNo
TotalInvoiceMonthToDateformdecimalNo
TotalInvoiceLastMonthThisYearformdecimalNo
TotalInvoiceLastMonthformdecimalNo
TotalInvoiceMonthToDateLastYearformdecimalNo
TotalInvoiceWeekToDateformdecimalNo
TotalInvoiceWeekToDateLastYearformdecimalNo
TotalInvoiceTodayformdecimalNo
TotalInvoiceYesterdayformdecimalNo
TotalInvoiceCountYearToDateformintNo
TotalInvoiceCountLastYearformintNo
TotalInvoiceCountYearToDateLastYearformintNo
TotalInvoiceCountQuarterToDateformintNo
TotalInvoiceCountLastQuarterformintNo
TotalInvoiceCountQuarterToDateLastYearformintNo
TotalInvoiceCountMonthToDateformintNo
TotalInvoiceCountLastMonthThisYearformintNo
TotalInvoiceCountLastMonthformintNo
TotalInvoiceCountMonthToDateLastYearformintNo
TotalInvoiceCountWeekToDateformintNo
TotalInvoiceCountWeekToDateLastYearformintNo
TotalInvoiceCountTodayformintNo
TotalInvoiceCountYesterdayformintNo
QueryResponse<T> Parameters:
NameParameterData TypeRequiredDescription
OffsetformintNo
TotalformintNo
ResultsformList<T>No
MetaformDictionary<string, string>No
ResponseStatusformResponseStatusNo

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 /service/QueryInvoiceYOYTotals HTTP/1.1 
Host: www.bernhardthospitality.com 
Accept: application/xlsx
Content-Type: application/xlsx
Content-Length: length

{"managerId":"String","skip":0,"take":0,"orderBy":"String","orderByDesc":"String","include":"String","fields":"String","meta":{"String":"String"}}
HTTP/1.1 200 OK
Content-Type: application/xlsx
Content-Length: length

{"offset":0,"total":0,"results":[{"vendorID":"String","vendorName":"String","vendorGroup":"String","repGroupID":"String","repGroupName":"String","customerID":"String","customerName":"String","salesRepID":"String","salesRepName":"String","salesRepState":"String","salesRepRegionID":"String","salesRepRegion":"String","salesRepUsername":"String","totalInvoiceYearToDate":0,"totalInvoiceLastYear":0,"totalInvoiceYearToDateLastYear":0,"totalInvoiceQuarterToDate":0,"totalInvoiceLastQuarter":0,"totalInvoiceQuarterToDateLastYear":0,"totalInvoiceMonthToDate":0,"totalInvoiceLastMonthThisYear":0,"totalInvoiceLastMonth":0,"totalInvoiceMonthToDateLastYear":0,"totalInvoiceWeekToDate":0,"totalInvoiceWeekToDateLastYear":0,"totalInvoiceToday":0,"totalInvoiceYesterday":0,"totalInvoiceCountYearToDate":0,"totalInvoiceCountLastYear":0,"totalInvoiceCountYearToDateLastYear":0,"totalInvoiceCountQuarterToDate":0,"totalInvoiceCountLastQuarter":0,"totalInvoiceCountQuarterToDateLastYear":0,"totalInvoiceCountMonthToDate":0,"totalInvoiceCountLastMonthThisYear":0,"totalInvoiceCountLastMonth":0,"totalInvoiceCountMonthToDateLastYear":0,"totalInvoiceCountWeekToDate":0,"totalInvoiceCountWeekToDateLastYear":0,"totalInvoiceCountToday":0,"totalInvoiceCountYesterday":0}],"meta":{"String":"String"},"responseStatus":{"errorCode":"String","message":"String","stackTrace":"String","errors":[{"errorCode":"String","fieldName":"String","message":"String","meta":{"String":"String"}}],"meta":{"String":"String"}}}