sfgboxapi

<back to all web services

DistributedBoxesMapViewLookup

The following routes are available for this service:
GET/distributed_boxes_map_view
using System;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.Serialization;
using ServiceStack;
using ServiceStack.DataAnnotations;
using sfgboxapi.ServiceModel;

namespace sfgboxapi.ServiceModel
{
    public partial class DistributedBoxesMapViewLookup
    {
        public virtual long Id { get; set; }
        public virtual long TenantsId { get; set; }
        public virtual int NumberBoxes { get; set; }
        public virtual double Latitude { get; set; }
        public virtual double Longitude { get; set; }
        public virtual string DisplayName { get; set; }
        public virtual bool IsZoneMain { get; set; }
        public virtual bool Approved { get; set; }
    }

}

C# DistributedBoxesMapViewLookup 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 /distributed_boxes_map_view HTTP/1.1 
Host: sfgboxapi.dev.scadsoftware.com 
Accept: text/csv
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{Unable to show example output for type 'IEnumerable`1' using the custom 'csv' filter}Cannot dynamically create an instance of type 'System.Collections.Generic.IEnumerable`1[sfgboxapi.ServiceModel.DistributedBoxesMapViewLookupResponse]'. Reason: Cannot create an instance of an interface.