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.*


open class GrowersListLookup
{
    var id:Long? = null
    var tenantsId:Long? = null
    var displayName:String? = null
    var firstName:String? = null
    var lastName:String? = null
    var email:String? = null
    var phoneNumber:String? = null
    var appUserId:Long? = null
    var approved:Boolean? = null
    var approvalDate:Date? = null
    var applicationDate:Date? = null
    var identificationNumber:String? = null
    var passportNumber:String? = null
    var address:String? = null
    var ethnicGroup:String? = null
    var gender:String? = null
    var isDisabled:Boolean? = null
    var latitude:Double? = null
    var longitude:Double? = null
    var documentUrl:String? = null
    var isZoneMain:Boolean? = null
    var paging:Paging? = null
}

open class Paging
{
    var pageNumber:Int? = null
    var pageSize:Int? = null
}

Kotlin GrowersListLookup 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 /growerslist 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.GrowersListLookupResponse]'. Reason: Cannot create an instance of an interface.