sfgboxapi

<back to all web services

DistributedBoxesViewLookup

The following routes are available for this service:
GET/distributed_boxes_view
import java.math.*;
import java.util.*;
import net.servicestack.client.*;
import com.google.gson.annotations.*;
import com.google.gson.reflect.*;

public class dtos
{

    public static class DistributedBoxesViewLookup
    {
        public Long id = null;
        public Long tenantsId = null;
        public Long appUserId = null;
        public Long authAppUserId = null;
        public Date deploymentDate = null;
        public Integer numberBoxes = null;
        public String recipientType = null;
        public Long foodGardensId = null;
        public String otherDescription = null;
        public Double latitude = null;
        public Double longitude = null;
        public String phoneNumber = null;
        public String displayName = null;
        public String email = null;
        public Date applicationDate = null;
        public Boolean isZoneMain = null;
        public Boolean isDisabled = null;
        public String gender = null;
        public String ethnicGroup = null;
        public Integer age = null;
        public Date approvalDate = null;
        public Boolean approved = null;
        public String authorizedBy = null;
        public String mediaPath = null;
        public String name = null;
        public String description = null;
        
        public Long getId() { return id; }
        public DistributedBoxesViewLookup setId(Long value) { this.id = value; return this; }
        public Long getTenantsId() { return tenantsId; }
        public DistributedBoxesViewLookup setTenantsId(Long value) { this.tenantsId = value; return this; }
        public Long getAppUserId() { return appUserId; }
        public DistributedBoxesViewLookup setAppUserId(Long value) { this.appUserId = value; return this; }
        public Long getAuthAppUserId() { return authAppUserId; }
        public DistributedBoxesViewLookup setAuthAppUserId(Long value) { this.authAppUserId = value; return this; }
        public Date getDeploymentDate() { return deploymentDate; }
        public DistributedBoxesViewLookup setDeploymentDate(Date value) { this.deploymentDate = value; return this; }
        public Integer getNumberBoxes() { return numberBoxes; }
        public DistributedBoxesViewLookup setNumberBoxes(Integer value) { this.numberBoxes = value; return this; }
        public String getRecipientType() { return recipientType; }
        public DistributedBoxesViewLookup setRecipientType(String value) { this.recipientType = value; return this; }
        public Long getFoodGardensId() { return foodGardensId; }
        public DistributedBoxesViewLookup setFoodGardensId(Long value) { this.foodGardensId = value; return this; }
        public String getOtherDescription() { return otherDescription; }
        public DistributedBoxesViewLookup setOtherDescription(String value) { this.otherDescription = value; return this; }
        public Double getLatitude() { return latitude; }
        public DistributedBoxesViewLookup setLatitude(Double value) { this.latitude = value; return this; }
        public Double getLongitude() { return longitude; }
        public DistributedBoxesViewLookup setLongitude(Double value) { this.longitude = value; return this; }
        public String getPhoneNumber() { return phoneNumber; }
        public DistributedBoxesViewLookup setPhoneNumber(String value) { this.phoneNumber = value; return this; }
        public String getDisplayName() { return displayName; }
        public DistributedBoxesViewLookup setDisplayName(String value) { this.displayName = value; return this; }
        public String getEmail() { return email; }
        public DistributedBoxesViewLookup setEmail(String value) { this.email = value; return this; }
        public Date getApplicationDate() { return applicationDate; }
        public DistributedBoxesViewLookup setApplicationDate(Date value) { this.applicationDate = value; return this; }
        public Boolean getIsZoneMain() { return isZoneMain; }
        public DistributedBoxesViewLookup setIsZoneMain(Boolean value) { this.isZoneMain = value; return this; }
        public Boolean getIsDisabled() { return isDisabled; }
        public DistributedBoxesViewLookup setIsDisabled(Boolean value) { this.isDisabled = value; return this; }
        public String getGender() { return gender; }
        public DistributedBoxesViewLookup setGender(String value) { this.gender = value; return this; }
        public String getEthnicGroup() { return ethnicGroup; }
        public DistributedBoxesViewLookup setEthnicGroup(String value) { this.ethnicGroup = value; return this; }
        public Integer getAge() { return age; }
        public DistributedBoxesViewLookup setAge(Integer value) { this.age = value; return this; }
        public Date getApprovalDate() { return approvalDate; }
        public DistributedBoxesViewLookup setApprovalDate(Date value) { this.approvalDate = value; return this; }
        public Boolean isApproved() { return approved; }
        public DistributedBoxesViewLookup setApproved(Boolean value) { this.approved = value; return this; }
        public String getAuthorizedBy() { return authorizedBy; }
        public DistributedBoxesViewLookup setAuthorizedBy(String value) { this.authorizedBy = value; return this; }
        public String getMediaPath() { return mediaPath; }
        public DistributedBoxesViewLookup setMediaPath(String value) { this.mediaPath = value; return this; }
        public String getName() { return name; }
        public DistributedBoxesViewLookup setName(String value) { this.name = value; return this; }
        public String getDescription() { return description; }
        public DistributedBoxesViewLookup setDescription(String value) { this.description = value; return this; }
    }

}

Java DistributedBoxesViewLookup 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_view HTTP/1.1 
Host: api.sfgtec.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.