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 .xml suffix or ?format=xml

HTTP + XML

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/xml
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<ArrayOfDistributedBoxesViewLookupResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/sfgboxapi.ServiceModel">
  <DistributedBoxesViewLookupResponse>
    <Age>0</Age>
    <AppUserId>0</AppUserId>
    <ApplicationDate>0001-01-01T00:00:00</ApplicationDate>
    <ApprovalDate>0001-01-01T00:00:00</ApprovalDate>
    <Approved>false</Approved>
    <AuthAppUserId>0</AuthAppUserId>
    <AuthorizedBy>String</AuthorizedBy>
    <Description>String</Description>
    <DisplayName>String</DisplayName>
    <Email>String</Email>
    <EthnicGroup>String</EthnicGroup>
    <FoodGardensId>0</FoodGardensId>
    <Gender>String</Gender>
    <Id>0</Id>
    <IsDisabled>false</IsDisabled>
    <IsZoneMain>false</IsZoneMain>
    <Latitude>0</Latitude>
    <Longitude>0</Longitude>
    <MediaPath>String</MediaPath>
    <Name>String</Name>
    <NumberBoxes>0</NumberBoxes>
    <OtherDescription>String</OtherDescription>
    <PhoneNumber>String</PhoneNumber>
    <RecipientType>String</RecipientType>
    <ResponseStatus xmlns:d3p1="http://schemas.servicestack.net/types">
      <d3p1:ErrorCode>String</d3p1:ErrorCode>
      <d3p1:Message>String</d3p1:Message>
      <d3p1:StackTrace>String</d3p1:StackTrace>
      <d3p1:Errors>
        <d3p1:ResponseError>
          <d3p1:ErrorCode>String</d3p1:ErrorCode>
          <d3p1:FieldName>String</d3p1:FieldName>
          <d3p1:Message>String</d3p1:Message>
          <d3p1:Meta xmlns:d6p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
            <d6p1:KeyValueOfstringstring>
              <d6p1:Key>String</d6p1:Key>
              <d6p1:Value>String</d6p1:Value>
            </d6p1:KeyValueOfstringstring>
          </d3p1:Meta>
        </d3p1:ResponseError>
      </d3p1:Errors>
      <d3p1:Meta xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:KeyValueOfstringstring>
          <d4p1:Key>String</d4p1:Key>
          <d4p1:Value>String</d4p1:Value>
        </d4p1:KeyValueOfstringstring>
      </d3p1:Meta>
    </ResponseStatus>
    <TenantsId>0</TenantsId>
    <deploymentDate>0001-01-01T00:00:00</deploymentDate>
  </DistributedBoxesViewLookupResponse>
</ArrayOfDistributedBoxesViewLookupResponse>