Reporting Services

<back to all web services

LocationSummaryRequest

Requires Authentication
The following routes are available for this service:
All Verbs/CompanyLocations/Summary/{CompanyId}
All Verbs/CompanyLocations/Summary/{CompanyId}/{UserId}
using System;
using System.IO;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.Serialization;
using ServiceStack;
using ServiceStack.DataAnnotations;
using ReportingService.Services.Rest.Locations;

namespace ReportingService.Services.Rest.Locations
{
    public partial class LocationSummaryRequest
    {
        public virtual int CompanyId { get; set; }
        public virtual string? UserId { get; set; }
    }

}

C# LocationSummaryRequest DTOs

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

HTTP + JSV

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

POST /CompanyLocations/Summary/{CompanyId} HTTP/1.1 
Host: cip-reporting-dev.chargeitpro.com 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	companyId: 0,
	userId: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

[
	{
		locationName: String,
		locationKey: 0,
		count: 0,
		allCards: 0,
		allCC: 0,
		db: 0,
		vsmcdc: 0,
		ax: 0,
		vs: 0,
		mc: 0,
		dc: 0,
		jc: 0,
		cu: 0,
		xx: 0,
		deviceSummaries: 
		[
			{
				serialNumber: String,
				count: 0,
				allCards: 0,
				allCC: 0,
				db: 0,
				vsmcdc: 0,
				ax: 0,
				vs: 0,
				mc: 0,
				dc: 0,
				jc: 0,
				cu: 0,
				xx: 0
			}
		]
	}
]