sfgboxapi

<back to all web services

CropsProductsMetricsLookup

The following routes are available for this service:
GET/cropsproductsmetrics
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 CropsProductsMetricsLookup
    {
        public Long id = null;
        public Long tenantsId = null;
        public String cropsName = null;
        public Long varietiesId = null;
        public String varietiesName = null;
        public String productsName = null;
        public Double priceKg = null;
        public String priceDescription = null;
        public Double betainePercRda = null;
        public Double betaineMg = null;
        public Double calciumPercRda = null;
        public Double calciumMg = null;
        public Double caloriesPercRda = null;
        public Double caloriesKc = null;
        public Double carbohydratesPercRda = null;
        public Double carbohydratesG = null;
        public Double carbohydratesKc = null;
        public Double carbohydratesKj = null;
        public Double cholinePercRda = null;
        public Double cholineMg = null;
        public Double copperPercRda = null;
        public Double copperMg = null;
        public Double fatPercRda = null;
        public Double fatG = null;
        public Double fatKc = null;
        public Double fatKj = null;
        public Double fiberG = null;
        public Double fluoridePercRda = null;
        public Double fluorideMg = null;
        public Double folatePercRda = null;
        public Double folateMcg = null;
        public Double ironPercRda = null;
        public Double ironMg = null;
        public Double kilojoulesKj = null;
        public Double magnesiumPercRda = null;
        public Double magnesiumMg = null;
        public Double mangenesePercRda = null;
        public Double mangeneseMg = null;
        public Double monoG = null;
        public Double niacinPercRda = null;
        public Double niacinMg = null;
        public Double omega3Mg = null;
        public Double omega6Mg = null;
        public Double panthenicAcidPercRda = null;
        public Double panthenicAcidMg = null;
        public Double phosphorusPercRda = null;
        public Double phosphorusMg = null;
        public Double polyG = null;
        public Double potassiumPercRda = null;
        public Double potassiumMg = null;
        public Double proteinPercRda = null;
        public Double proteinG = null;
        public Double proteinKc = null;
        public Double proteinKj = null;
        public Double riboflavinPercRda = null;
        public Double riboflavinMg = null;
        public Double saturatedG = null;
        public Double seleniumPercRda = null;
        public Double seleniumMcg = null;
        public Double sodiumPercRda = null;
        public Double sodiumMg = null;
        public Double starchG = null;
        public Double sugarsG = null;
        public Double thiaminPercRda = null;
        public Double thiaminMg = null;
        public Double vitaminAPercRda = null;
        public Double vitaminAMcg = null;
        public Double vitaminB12PercRda = null;
        public Double vitaminB12Mcg = null;
        public Double vitaminB6PercRda = null;
        public Double vitaminB6Mg = null;
        public Double vitaminCPercRda = null;
        public Double vitaminCMg = null;
        public Double vitaminDPercRda = null;
        public Double vitaminDMg = null;
        public Double vitaminEPercRda = null;
        public Double vitaminEMg = null;
        public Double vitaminKPercRda = null;
        public Double vitaminKMcg = null;
        public Double zincPercRda = null;
        public Double zincMg = null;
        public Double transG = null;
        public Paging paging = null;
        
        public Long getId() { return id; }
        public CropsProductsMetricsLookup setId(Long value) { this.id = value; return this; }
        public Long getTenantsId() { return tenantsId; }
        public CropsProductsMetricsLookup setTenantsId(Long value) { this.tenantsId = value; return this; }
        public String getCropsName() { return cropsName; }
        public CropsProductsMetricsLookup setCropsName(String value) { this.cropsName = value; return this; }
        public Long getVarietiesId() { return varietiesId; }
        public CropsProductsMetricsLookup setVarietiesId(Long value) { this.varietiesId = value; return this; }
        public String getVarietiesName() { return varietiesName; }
        public CropsProductsMetricsLookup setVarietiesName(String value) { this.varietiesName = value; return this; }
        public String getProductsName() { return productsName; }
        public CropsProductsMetricsLookup setProductsName(String value) { this.productsName = value; return this; }
        public Double getPriceKg() { return priceKg; }
        public CropsProductsMetricsLookup setPriceKg(Double value) { this.priceKg = value; return this; }
        public String getPriceDescription() { return priceDescription; }
        public CropsProductsMetricsLookup setPriceDescription(String value) { this.priceDescription = value; return this; }
        public Double getBetainePercRda() { return betainePercRda; }
        public CropsProductsMetricsLookup setBetainePercRda(Double value) { this.betainePercRda = value; return this; }
        public Double getBetaineMg() { return betaineMg; }
        public CropsProductsMetricsLookup setBetaineMg(Double value) { this.betaineMg = value; return this; }
        public Double getCalciumPercRda() { return calciumPercRda; }
        public CropsProductsMetricsLookup setCalciumPercRda(Double value) { this.calciumPercRda = value; return this; }
        public Double getCalciumMg() { return calciumMg; }
        public CropsProductsMetricsLookup setCalciumMg(Double value) { this.calciumMg = value; return this; }
        public Double getCaloriesPercRda() { return caloriesPercRda; }
        public CropsProductsMetricsLookup setCaloriesPercRda(Double value) { this.caloriesPercRda = value; return this; }
        public Double getCaloriesKc() { return caloriesKc; }
        public CropsProductsMetricsLookup setCaloriesKc(Double value) { this.caloriesKc = value; return this; }
        public Double getCarbohydratesPercRda() { return carbohydratesPercRda; }
        public CropsProductsMetricsLookup setCarbohydratesPercRda(Double value) { this.carbohydratesPercRda = value; return this; }
        public Double getCarbohydratesG() { return carbohydratesG; }
        public CropsProductsMetricsLookup setCarbohydratesG(Double value) { this.carbohydratesG = value; return this; }
        public Double getCarbohydratesKc() { return carbohydratesKc; }
        public CropsProductsMetricsLookup setCarbohydratesKc(Double value) { this.carbohydratesKc = value; return this; }
        public Double getCarbohydratesKj() { return carbohydratesKj; }
        public CropsProductsMetricsLookup setCarbohydratesKj(Double value) { this.carbohydratesKj = value; return this; }
        public Double getCholinePercRda() { return cholinePercRda; }
        public CropsProductsMetricsLookup setCholinePercRda(Double value) { this.cholinePercRda = value; return this; }
        public Double getCholineMg() { return cholineMg; }
        public CropsProductsMetricsLookup setCholineMg(Double value) { this.cholineMg = value; return this; }
        public Double getCopperPercRda() { return copperPercRda; }
        public CropsProductsMetricsLookup setCopperPercRda(Double value) { this.copperPercRda = value; return this; }
        public Double getCopperMg() { return copperMg; }
        public CropsProductsMetricsLookup setCopperMg(Double value) { this.copperMg = value; return this; }
        public Double getFatPercRda() { return fatPercRda; }
        public CropsProductsMetricsLookup setFatPercRda(Double value) { this.fatPercRda = value; return this; }
        public Double getFatG() { return fatG; }
        public CropsProductsMetricsLookup setFatG(Double value) { this.fatG = value; return this; }
        public Double getFatKc() { return fatKc; }
        public CropsProductsMetricsLookup setFatKc(Double value) { this.fatKc = value; return this; }
        public Double getFatKj() { return fatKj; }
        public CropsProductsMetricsLookup setFatKj(Double value) { this.fatKj = value; return this; }
        public Double getFiberG() { return fiberG; }
        public CropsProductsMetricsLookup setFiberG(Double value) { this.fiberG = value; return this; }
        public Double getFluoridePercRda() { return fluoridePercRda; }
        public CropsProductsMetricsLookup setFluoridePercRda(Double value) { this.fluoridePercRda = value; return this; }
        public Double getFluorideMg() { return fluorideMg; }
        public CropsProductsMetricsLookup setFluorideMg(Double value) { this.fluorideMg = value; return this; }
        public Double getFolatePercRda() { return folatePercRda; }
        public CropsProductsMetricsLookup setFolatePercRda(Double value) { this.folatePercRda = value; return this; }
        public Double getFolateMcg() { return folateMcg; }
        public CropsProductsMetricsLookup setFolateMcg(Double value) { this.folateMcg = value; return this; }
        public Double getIronPercRda() { return ironPercRda; }
        public CropsProductsMetricsLookup setIronPercRda(Double value) { this.ironPercRda = value; return this; }
        public Double getIronMg() { return ironMg; }
        public CropsProductsMetricsLookup setIronMg(Double value) { this.ironMg = value; return this; }
        public Double getKilojoulesKj() { return kilojoulesKj; }
        public CropsProductsMetricsLookup setKilojoulesKj(Double value) { this.kilojoulesKj = value; return this; }
        public Double getMagnesiumPercRda() { return magnesiumPercRda; }
        public CropsProductsMetricsLookup setMagnesiumPercRda(Double value) { this.magnesiumPercRda = value; return this; }
        public Double getMagnesiumMg() { return magnesiumMg; }
        public CropsProductsMetricsLookup setMagnesiumMg(Double value) { this.magnesiumMg = value; return this; }
        public Double getMangenesePercRda() { return mangenesePercRda; }
        public CropsProductsMetricsLookup setMangenesePercRda(Double value) { this.mangenesePercRda = value; return this; }
        public Double getMangeneseMg() { return mangeneseMg; }
        public CropsProductsMetricsLookup setMangeneseMg(Double value) { this.mangeneseMg = value; return this; }
        public Double getMonoG() { return monoG; }
        public CropsProductsMetricsLookup setMonoG(Double value) { this.monoG = value; return this; }
        public Double getNiacinPercRda() { return niacinPercRda; }
        public CropsProductsMetricsLookup setNiacinPercRda(Double value) { this.niacinPercRda = value; return this; }
        public Double getNiacinMg() { return niacinMg; }
        public CropsProductsMetricsLookup setNiacinMg(Double value) { this.niacinMg = value; return this; }
        public Double getOmega3Mg() { return omega3Mg; }
        public CropsProductsMetricsLookup setOmega3Mg(Double value) { this.omega3Mg = value; return this; }
        public Double getOmega6Mg() { return omega6Mg; }
        public CropsProductsMetricsLookup setOmega6Mg(Double value) { this.omega6Mg = value; return this; }
        public Double getPanthenicAcidPercRda() { return panthenicAcidPercRda; }
        public CropsProductsMetricsLookup setPanthenicAcidPercRda(Double value) { this.panthenicAcidPercRda = value; return this; }
        public Double getPanthenicAcidMg() { return panthenicAcidMg; }
        public CropsProductsMetricsLookup setPanthenicAcidMg(Double value) { this.panthenicAcidMg = value; return this; }
        public Double getPhosphorusPercRda() { return phosphorusPercRda; }
        public CropsProductsMetricsLookup setPhosphorusPercRda(Double value) { this.phosphorusPercRda = value; return this; }
        public Double getPhosphorusMg() { return phosphorusMg; }
        public CropsProductsMetricsLookup setPhosphorusMg(Double value) { this.phosphorusMg = value; return this; }
        public Double getPolyG() { return polyG; }
        public CropsProductsMetricsLookup setPolyG(Double value) { this.polyG = value; return this; }
        public Double getPotassiumPercRda() { return potassiumPercRda; }
        public CropsProductsMetricsLookup setPotassiumPercRda(Double value) { this.potassiumPercRda = value; return this; }
        public Double getPotassiumMg() { return potassiumMg; }
        public CropsProductsMetricsLookup setPotassiumMg(Double value) { this.potassiumMg = value; return this; }
        public Double getProteinPercRda() { return proteinPercRda; }
        public CropsProductsMetricsLookup setProteinPercRda(Double value) { this.proteinPercRda = value; return this; }
        public Double getProteinG() { return proteinG; }
        public CropsProductsMetricsLookup setProteinG(Double value) { this.proteinG = value; return this; }
        public Double getProteinKc() { return proteinKc; }
        public CropsProductsMetricsLookup setProteinKc(Double value) { this.proteinKc = value; return this; }
        public Double getProteinKj() { return proteinKj; }
        public CropsProductsMetricsLookup setProteinKj(Double value) { this.proteinKj = value; return this; }
        public Double getRiboflavinPercRda() { return riboflavinPercRda; }
        public CropsProductsMetricsLookup setRiboflavinPercRda(Double value) { this.riboflavinPercRda = value; return this; }
        public Double getRiboflavinMg() { return riboflavinMg; }
        public CropsProductsMetricsLookup setRiboflavinMg(Double value) { this.riboflavinMg = value; return this; }
        public Double getSaturatedG() { return saturatedG; }
        public CropsProductsMetricsLookup setSaturatedG(Double value) { this.saturatedG = value; return this; }
        public Double getSeleniumPercRda() { return seleniumPercRda; }
        public CropsProductsMetricsLookup setSeleniumPercRda(Double value) { this.seleniumPercRda = value; return this; }
        public Double getSeleniumMcg() { return seleniumMcg; }
        public CropsProductsMetricsLookup setSeleniumMcg(Double value) { this.seleniumMcg = value; return this; }
        public Double getSodiumPercRda() { return sodiumPercRda; }
        public CropsProductsMetricsLookup setSodiumPercRda(Double value) { this.sodiumPercRda = value; return this; }
        public Double getSodiumMg() { return sodiumMg; }
        public CropsProductsMetricsLookup setSodiumMg(Double value) { this.sodiumMg = value; return this; }
        public Double getStarchG() { return starchG; }
        public CropsProductsMetricsLookup setStarchG(Double value) { this.starchG = value; return this; }
        public Double getSugarsG() { return sugarsG; }
        public CropsProductsMetricsLookup setSugarsG(Double value) { this.sugarsG = value; return this; }
        public Double getThiaminPercRda() { return thiaminPercRda; }
        public CropsProductsMetricsLookup setThiaminPercRda(Double value) { this.thiaminPercRda = value; return this; }
        public Double getThiaminMg() { return thiaminMg; }
        public CropsProductsMetricsLookup setThiaminMg(Double value) { this.thiaminMg = value; return this; }
        public Double getVitaminAPercRda() { return vitaminAPercRda; }
        public CropsProductsMetricsLookup setVitaminAPercRda(Double value) { this.vitaminAPercRda = value; return this; }
        public Double getVitaminAMcg() { return vitaminAMcg; }
        public CropsProductsMetricsLookup setVitaminAMcg(Double value) { this.vitaminAMcg = value; return this; }
        public Double getVitaminB12PercRda() { return vitaminB12PercRda; }
        public CropsProductsMetricsLookup setVitaminB12PercRda(Double value) { this.vitaminB12PercRda = value; return this; }
        public Double getVitaminB12Mcg() { return vitaminB12Mcg; }
        public CropsProductsMetricsLookup setVitaminB12Mcg(Double value) { this.vitaminB12Mcg = value; return this; }
        public Double getVitaminB6PercRda() { return vitaminB6PercRda; }
        public CropsProductsMetricsLookup setVitaminB6PercRda(Double value) { this.vitaminB6PercRda = value; return this; }
        public Double getVitaminB6Mg() { return vitaminB6Mg; }
        public CropsProductsMetricsLookup setVitaminB6Mg(Double value) { this.vitaminB6Mg = value; return this; }
        public Double getVitaminCPercRda() { return vitaminCPercRda; }
        public CropsProductsMetricsLookup setVitaminCPercRda(Double value) { this.vitaminCPercRda = value; return this; }
        public Double getVitaminCMg() { return vitaminCMg; }
        public CropsProductsMetricsLookup setVitaminCMg(Double value) { this.vitaminCMg = value; return this; }
        public Double getVitaminDPercRda() { return vitaminDPercRda; }
        public CropsProductsMetricsLookup setVitaminDPercRda(Double value) { this.vitaminDPercRda = value; return this; }
        public Double getVitaminDMg() { return vitaminDMg; }
        public CropsProductsMetricsLookup setVitaminDMg(Double value) { this.vitaminDMg = value; return this; }
        public Double getVitaminEPercRda() { return vitaminEPercRda; }
        public CropsProductsMetricsLookup setVitaminEPercRda(Double value) { this.vitaminEPercRda = value; return this; }
        public Double getVitaminEMg() { return vitaminEMg; }
        public CropsProductsMetricsLookup setVitaminEMg(Double value) { this.vitaminEMg = value; return this; }
        public Double getVitaminKPercRda() { return vitaminKPercRda; }
        public CropsProductsMetricsLookup setVitaminKPercRda(Double value) { this.vitaminKPercRda = value; return this; }
        public Double getVitaminKMcg() { return vitaminKMcg; }
        public CropsProductsMetricsLookup setVitaminKMcg(Double value) { this.vitaminKMcg = value; return this; }
        public Double getZincPercRda() { return zincPercRda; }
        public CropsProductsMetricsLookup setZincPercRda(Double value) { this.zincPercRda = value; return this; }
        public Double getZincMg() { return zincMg; }
        public CropsProductsMetricsLookup setZincMg(Double value) { this.zincMg = value; return this; }
        public Double getTransG() { return transG; }
        public CropsProductsMetricsLookup setTransG(Double value) { this.transG = value; return this; }
        public Paging getPaging() { return paging; }
        public CropsProductsMetricsLookup 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 CropsProductsMetricsLookup 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 /cropsproductsmetrics 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,"cropsName":"String","varietiesId":0,"varietiesName":"String","productsName":"String","priceKg":0,"priceDescription":"String","betainePercRda":0,"betaineMg":0,"calciumPercRda":0,"calciumMg":0,"caloriesPercRda":0,"caloriesKc":0,"carbohydratesPercRda":0,"carbohydratesG":0,"carbohydratesKc":0,"carbohydratesKj":0,"cholinePercRda":0,"cholineMg":0,"copperPercRda":0,"copperMg":0,"fatPercRda":0,"fatG":0,"fatKc":0,"fatKj":0,"fiberG":0,"fluoridePercRda":0,"fluorideMg":0,"folatePercRda":0,"folateMcg":0,"ironPercRda":0,"ironMg":0,"kilojoulesKj":0,"magnesiumPercRda":0,"magnesiumMg":0,"mangenesePercRda":0,"mangeneseMg":0,"monoG":0,"niacinPercRda":0,"niacinMg":0,"omega3Mg":0,"omega6Mg":0,"panthenicAcidPercRda":0,"panthenicAcidMg":0,"phosphorusPercRda":0,"phosphorusMg":0,"polyG":0,"potassiumPercRda":0,"potassiumMg":0,"proteinPercRda":0,"proteinG":0,"proteinKc":0,"proteinKj":0,"riboflavinPercRda":0,"riboflavinMg":0,"saturatedG":0,"seleniumPercRda":0,"seleniumMcg":0,"sodiumPercRda":0,"sodiumMg":0,"starchG":0,"sugarsG":0,"thiaminPercRda":0,"thiaminMg":0,"vitaminAPercRda":0,"vitaminAMcg":0,"vitaminB12PercRda":0,"vitaminB12Mcg":0,"vitaminB6PercRda":0,"vitaminB6Mg":0,"vitaminCPercRda":0,"vitaminCMg":0,"vitaminDPercRda":0,"vitaminDMg":0,"vitaminEPercRda":0,"vitaminEMg":0,"vitaminKPercRda":0,"vitaminKMcg":0,"zincPercRda":0,"zincMg":0,"transG":0,"responseStatus":{"errorCode":"String","message":"String","stackTrace":"String","errors":[{"errorCode":"String","fieldName":"String","message":"String","meta":{"String":"String"}}],"meta":{"String":"String"}}}]