sfgboxapi

<back to all web services

DistributedBoxesViewLookup

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

public class DistributedBoxesViewLookup : Codable
{
    public var id:Int
    public var tenantsId:Int
    public var appUserId:Int
    public var authAppUserId:Int
    public var deploymentDate:Date
    public var numberBoxes:Int
    public var recipientType:String
    public var foodGardensId:Int
    public var otherDescription:String
    public var latitude:Double
    public var longitude:Double
    public var phoneNumber:String
    public var displayName:String
    public var email:String
    public var applicationDate:Date
    public var isZoneMain:Bool
    public var isDisabled:Bool
    public var gender:String
    public var ethnicGroup:String
    public var age:Int
    public var approvalDate:Date
    public var approved:Bool
    public var authorizedBy:String
    public var mediaPath:String
    public var name:String
    public var Description:String

    required public init(){}
}


Swift 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: 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"}}}]