| 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 .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
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: application/json
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length
[{"id":0,"tenantsId":0,"appUserId":0,"authAppUserId":0,"deploymentDate":"\/Date(-62135596800000-0000)\/","numberBoxes":0,"recipientType":"String","foodGardensId":0,"otherDescription":"String","latitude":0,"longitude":0,"phoneNumber":"String","displayName":"String","email":"String","applicationDate":"\/Date(-62135596800000-0000)\/","isZoneMain":false,"isDisabled":false,"gender":"String","ethnicGroup":"String","age":0,"approvalDate":"\/Date(-62135596800000-0000)\/","approved":false,"authorizedBy":"String","mediaPath":"String","name":"String","description":"String","responseStatus":{"errorCode":"String","message":"String","stackTrace":"String","errors":[{"errorCode":"String","fieldName":"String","message":"String","meta":{"String":"String"}}],"meta":{"String":"String"}}}]