| All Verbs | /PeopleList/{ApiCode}/{Country}/{FullName} |
|---|
import java.math.*;
import java.util.*;
import net.servicestack.client.*;
public class dtos
{
public static class PeopleList
{
public SearchCountrys Country = null;
public String ApiCode = null;
public String FullName = null;
public SearchCountrys getCountry() { return Country; }
public PeopleList setCountry(SearchCountrys value) { this.Country = value; return this; }
public String getApiCode() { return ApiCode; }
public PeopleList setApiCode(String value) { this.ApiCode = value; return this; }
public String getFullName() { return FullName; }
public PeopleList setFullName(String value) { this.FullName = value; return this; }
}
public static enum SearchCountrys
{
Colombia,
Col,
Mexico,
Mex,
Chile,
Chl,
Brasil,
Bra,
Panama,
Pan,
Dominicana,
Dom,
CostaRica,
Cri,
Argentina,
Arg,
Ecuador,
Ecu,
Peru,
Per,
ElSalvador,
Slv,
Guatemala,
Gtm,
Honduras,
Hnd,
Venezuela,
Ven,
All,
Afg,
Alb,
Dza,
And,
Ago,
Atg,
Arm,
Aus,
Aut,
Aze,
Bhs,
Bhr,
Bgd,
Brb,
Blr,
Bel,
Blz,
Ben,
Btn,
Bol,
Bih,
Bwa,
Brn,
Bgr,
Bfa,
Bdi,
Cpv,
Khm,
Cmr,
Can,
Caf,
Tcd,
Chn,
Com,
Cog,
Civ,
Hrv,
Cub,
Cyp,
Cze,
Dnk,
Dji,
Dma,
Tls,
Egy,
Gnq,
Eri,
Est,
Eth,
Fji,
Fin,
Fra,
Gab,
Gmb,
Geo,
Deu,
Gha,
Grc,
Grd,
Gin,
Gnb,
Guy,
Hti,
Hun,
Isl,
Ind,
Idn,
Irn,
Irq,
Irl,
Isr,
Ita,
Jam,
Jpn,
Jor,
Kaz,
Ken,
Kir,
Prk,
Kor,
Kwt,
Kgz,
Lao,
Lva,
Lbn,
Lso,
Lbr,
Lby,
Lie,
Ltu,
Lux,
Mdg,
Mwi,
Mys,
Mdv,
Mli,
Mlt,
Mhl,
Mrt,
Mus,
Fsm,
Mda,
Mco,
Mng,
Mne,
Mar,
Moz,
Mmr,
Nam,
Nru,
Npl,
Nld,
Nzl,
Nic,
Ner,
Nga,
Mkd,
Nor,
Omn,
Pak,
Plw,
Png,
Pry,
Phl,
Pol,
Prt,
Qat,
Rou,
Rus,
Rwa,
Kna,
Lca,
Vct,
Wsm,
Smr,
Stp,
Sau,
Sen,
Srb,
Syc,
Sle,
Sgp,
Svk,
Svn,
Slb,
Som,
Zaf,
Ssd,
Esp,
Lka,
Sdn,
Sur,
Swz,
Swe,
Che,
Syr,
Twn,
Tjk,
Tza,
Tha,
Tgo,
Ton,
Tto,
Tun,
Tur,
Tkm,
Tuv,
Uga,
Ukr,
Are,
Gbr,
Usa,
Ury,
Uzb,
Vut,
Vnm,
Yem,
Zmb,
Zwe;
}
public static class FoundNames
{
public ArrayList<String> NamesList = null;
public ArrayList<String> getNamesList() { return NamesList; }
public FoundNames setNamesList(ArrayList<String> value) { this.NamesList = value; return this; }
}
}
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
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /PeopleList/{ApiCode}/{Country}/{FullName} HTTP/1.1
Host: api.backgroundchecklatam.com
Accept: application/json
Content-Type: application/json
Content-Length: length
{"Country":"Colombia","ApiCode":"String","FullName":"String"}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length
{"NamesList":["String"]}