| 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 .xml suffix or ?format=xml
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /cropsproductsmetrics HTTP/1.1 Host: api.sfgtec.com Accept: application/xml
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<ArrayOfCropsProductsMetricsLookupResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/sfgboxapi.ServiceModel">
<CropsProductsMetricsLookupResponse>
<BetaineMg>0</BetaineMg>
<BetainePercRda>0</BetainePercRda>
<CalciumMg>0</CalciumMg>
<CalciumPercRda>0</CalciumPercRda>
<CaloriesKc>0</CaloriesKc>
<CaloriesPercRda>0</CaloriesPercRda>
<CarbohydratesG>0</CarbohydratesG>
<CarbohydratesKc>0</CarbohydratesKc>
<CarbohydratesKj>0</CarbohydratesKj>
<CarbohydratesPercRda>0</CarbohydratesPercRda>
<CholineMg>0</CholineMg>
<CholinePercRda>0</CholinePercRda>
<CopperMg>0</CopperMg>
<CopperPercRda>0</CopperPercRda>
<CropsName>String</CropsName>
<FatG>0</FatG>
<FatKc>0</FatKc>
<FatKj>0</FatKj>
<FatPercRda>0</FatPercRda>
<FiberG>0</FiberG>
<FluorideMg>0</FluorideMg>
<FluoridePercRda>0</FluoridePercRda>
<FolateMcg>0</FolateMcg>
<FolatePercRda>0</FolatePercRda>
<Id>0</Id>
<IronMg>0</IronMg>
<IronPercRda>0</IronPercRda>
<KilojoulesKj>0</KilojoulesKj>
<MagnesiumMg>0</MagnesiumMg>
<MagnesiumPercRda>0</MagnesiumPercRda>
<MangeneseMg>0</MangeneseMg>
<MangenesePercRda>0</MangenesePercRda>
<MonoG>0</MonoG>
<NiacinMg>0</NiacinMg>
<NiacinPercRda>0</NiacinPercRda>
<Omega3Mg>0</Omega3Mg>
<Omega6Mg>0</Omega6Mg>
<PanthenicAcidMg>0</PanthenicAcidMg>
<PanthenicAcidPercRda>0</PanthenicAcidPercRda>
<PhosphorusMg>0</PhosphorusMg>
<PhosphorusPercRda>0</PhosphorusPercRda>
<PolyG>0</PolyG>
<PotassiumMg>0</PotassiumMg>
<PotassiumPercRda>0</PotassiumPercRda>
<PriceDescription>String</PriceDescription>
<PriceKg>0</PriceKg>
<ProductsName>String</ProductsName>
<ProteinG>0</ProteinG>
<ProteinKc>0</ProteinKc>
<ProteinKj>0</ProteinKj>
<ProteinPercRda>0</ProteinPercRda>
<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>
<RiboflavinMg>0</RiboflavinMg>
<RiboflavinPercRda>0</RiboflavinPercRda>
<SaturatedG>0</SaturatedG>
<SeleniumMcg>0</SeleniumMcg>
<SeleniumPercRda>0</SeleniumPercRda>
<SodiumMg>0</SodiumMg>
<SodiumPercRda>0</SodiumPercRda>
<StarchG>0</StarchG>
<SugarsG>0</SugarsG>
<TenantsId>0</TenantsId>
<ThiaminMg>0</ThiaminMg>
<ThiaminPercRda>0</ThiaminPercRda>
<TransG>0</TransG>
<VarietiesId>0</VarietiesId>
<VarietiesName>String</VarietiesName>
<VitaminAMcg>0</VitaminAMcg>
<VitaminAPercRda>0</VitaminAPercRda>
<VitaminB12Mcg>0</VitaminB12Mcg>
<VitaminB12PercRda>0</VitaminB12PercRda>
<VitaminB6Mg>0</VitaminB6Mg>
<VitaminB6PercRda>0</VitaminB6PercRda>
<VitaminCMg>0</VitaminCMg>
<VitaminCPercRda>0</VitaminCPercRda>
<VitaminDMg>0</VitaminDMg>
<VitaminDPercRda>0</VitaminDPercRda>
<VitaminEMg>0</VitaminEMg>
<VitaminEPercRda>0</VitaminEPercRda>
<VitaminKMcg>0</VitaminKMcg>
<VitaminKPercRda>0</VitaminKPercRda>
<ZincMg>0</ZincMg>
<ZincPercRda>0</ZincPercRda>
</CropsProductsMetricsLookupResponse>
</ArrayOfCropsProductsMetricsLookupResponse>