sfgboxapi

<back to all web services

GrowersListLookup

Requires Authentication
The following routes are available for this service:
GET/growerslist
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 GrowersListLookup
    {
        public Long id = null;
        public Long tenantsId = null;
        public String displayName = null;
        public String firstName = null;
        public String lastName = null;
        public String email = null;
        public String phoneNumber = null;
        public Long appUserId = null;
        public Boolean approved = null;
        public Date approvalDate = null;
        public Date applicationDate = null;
        public String identificationNumber = null;
        public String passportNumber = null;
        public String address = null;
        public String ethnicGroup = null;
        public String gender = null;
        public Boolean isDisabled = null;
        public Double latitude = null;
        public Double longitude = null;
        public String documentUrl = null;
        public Boolean isZoneMain = null;
        public Paging paging = null;
        
        public Long getId() { return id; }
        public GrowersListLookup setId(Long value) { this.id = value; return this; }
        public Long getTenantsId() { return tenantsId; }
        public GrowersListLookup setTenantsId(Long value) { this.tenantsId = value; return this; }
        public String getDisplayName() { return displayName; }
        public GrowersListLookup setDisplayName(String value) { this.displayName = value; return this; }
        public String getFirstName() { return firstName; }
        public GrowersListLookup setFirstName(String value) { this.firstName = value; return this; }
        public String getLastName() { return lastName; }
        public GrowersListLookup setLastName(String value) { this.lastName = value; return this; }
        public String getEmail() { return email; }
        public GrowersListLookup setEmail(String value) { this.email = value; return this; }
        public String getPhoneNumber() { return phoneNumber; }
        public GrowersListLookup setPhoneNumber(String value) { this.phoneNumber = value; return this; }
        public Long getAppUserId() { return appUserId; }
        public GrowersListLookup setAppUserId(Long value) { this.appUserId = value; return this; }
        public Boolean isApproved() { return approved; }
        public GrowersListLookup setApproved(Boolean value) { this.approved = value; return this; }
        public Date getApprovalDate() { return approvalDate; }
        public GrowersListLookup setApprovalDate(Date value) { this.approvalDate = value; return this; }
        public Date getApplicationDate() { return applicationDate; }
        public GrowersListLookup setApplicationDate(Date value) { this.applicationDate = value; return this; }
        public String getIdentificationNumber() { return identificationNumber; }
        public GrowersListLookup setIdentificationNumber(String value) { this.identificationNumber = value; return this; }
        public String getPassportNumber() { return passportNumber; }
        public GrowersListLookup setPassportNumber(String value) { this.passportNumber = value; return this; }
        public String getAddress() { return address; }
        public GrowersListLookup setAddress(String value) { this.address = value; return this; }
        public String getEthnicGroup() { return ethnicGroup; }
        public GrowersListLookup setEthnicGroup(String value) { this.ethnicGroup = value; return this; }
        public String getGender() { return gender; }
        public GrowersListLookup setGender(String value) { this.gender = value; return this; }
        public Boolean getIsDisabled() { return isDisabled; }
        public GrowersListLookup setIsDisabled(Boolean value) { this.isDisabled = value; return this; }
        public Double getLatitude() { return latitude; }
        public GrowersListLookup setLatitude(Double value) { this.latitude = value; return this; }
        public Double getLongitude() { return longitude; }
        public GrowersListLookup setLongitude(Double value) { this.longitude = value; return this; }
        public String getDocumentUrl() { return documentUrl; }
        public GrowersListLookup setDocumentUrl(String value) { this.documentUrl = value; return this; }
        public Boolean getIsZoneMain() { return isZoneMain; }
        public GrowersListLookup setIsZoneMain(Boolean value) { this.isZoneMain = value; return this; }
        public Paging getPaging() { return paging; }
        public GrowersListLookup setPaging(Paging value) { this.paging = value; return this; }
    }

    public static class Paging
    {
        public Integer pageNumber = null;
        public Integer pageSize = null;
        
        public Integer getPageNumber() { return pageNumber; }
        public Paging setPageNumber(Integer value) { this.pageNumber = value; return this; }
        public Integer getPageSize() { return pageSize; }
        public Paging setPageSize(Integer value) { this.pageSize = value; return this; }
    }

}

Java GrowersListLookup DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other

HTTP + OTHER

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

GET /growerslist HTTP/1.1 
Host: sfgboxapi.dev.scadsoftware.com 
Accept: text/jsonl
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length

{Unable to show example output for type 'IEnumerable`1' using the custom 'other' filter}Cannot dynamically create an instance of type 'System.Collections.Generic.IEnumerable`1[sfgboxapi.ServiceModel.GrowersListLookupResponse]'. Reason: Cannot create an instance of an interface.