sfgboxapi

<back to all web services

DistributedBoxesViewLookup

The following routes are available for this service:
GET/distributed_boxes_view

export class DistributedBoxesViewLookup
{
    public id: number;
    public tenantsId: number;
    public appUserId: number;
    public authAppUserId: number;
    public deploymentDate: string;
    public numberBoxes: number;
    public recipientType: string;
    public foodGardensId: number;
    public otherDescription: string;
    public latitude: number;
    public longitude: number;
    public phoneNumber: string;
    public displayName: string;
    public email: string;
    public applicationDate: string;
    public isZoneMain: boolean;
    public isDisabled: boolean;
    public gender: string;
    public ethnicGroup: string;
    public age: number;
    public approvalDate: string;
    public approved: boolean;
    public authorizedBy: string;
    public mediaPath: string;
    public name: string;
    public description: string;

    public constructor(init?: Partial<DistributedBoxesViewLookup>) { (Object as any).assign(this, init); }
}

TypeScript 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

HTTP + JSON

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: api.sfgtec.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"}}}]