| GET | /distributed_boxes_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 DistributedBoxesViewLookup
{
public virtual long Id { get; set; }
public virtual long TenantsId { get; set; }
public virtual long AppUserId { get; set; }
public virtual long AuthAppUserId { get; set; }
public virtual DateTime deploymentDate { get; set; }
public virtual int NumberBoxes { get; set; }
public virtual string RecipientType { get; set; }
public virtual long FoodGardensId { get; set; }
public virtual string OtherDescription { get; set; }
public virtual double Latitude { get; set; }
public virtual double Longitude { get; set; }
public virtual string PhoneNumber { get; set; }
public virtual string DisplayName { get; set; }
public virtual string Email { get; set; }
public virtual DateTime ApplicationDate { get; set; }
public virtual bool IsZoneMain { get; set; }
public virtual bool IsDisabled { get; set; }
public virtual string Gender { get; set; }
public virtual string EthnicGroup { get; set; }
public virtual int Age { get; set; }
public virtual DateTime ApprovalDate { get; set; }
public virtual bool Approved { get; set; }
public virtual string AuthorizedBy { get; set; }
public virtual string MediaPath { get; set; }
public virtual string Name { get; set; }
public virtual string Description { get; set; }
}
}
C# DistributedBoxesViewLookup DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /distributed_boxes_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.DistributedBoxesViewLookupResponse]'. Reason: Cannot create an instance of an interface.