Skip to main content
Where the job is:
  • In India: search a place with GET /locations and send it as the mandate’s location (name → city, state → state).
  • Outside India: list the countries with GET /countries, then send location_type: "abroad" and the picked codes (1–10) as countries.
Employment type and shift are fixed lists too: read them with GET /employment-types and GET /shifts, and send the pick as employment_type / shift so the playground shows it as a choice (other text is still accepted as sent). All four are optional lookups that hold no data of yours; mandates:read or mandates:write opens them.

Endpoints

Search places in India

GET /locations Type-ahead for a job’s place in India: matches the start of district and place names (up to 8 districts and 25 places). Use the place name as location.city and its state as location.state. For a job abroad use GET /countries. Scope: mandates:read or mandates:write
Can also return the common errors. Full schema

List countries

GET /countries Every country an abroad job can be in, A to Z, in one answer (about 250): filter it in your own picker. Send the code of each pick as countries on a mandate with location_type: "abroad" (1–10). India is listed with abroad_selectable: false: jobs in India use location. Scope: mandates:read or mandates:write
Can also return the common errors. Full schema

List employment types

GET /employment-types The choices of the playground’s Employment type dropdown. Send one as employment_type of a mandate so it shows as a choice there. Other text is still accepted and kept as sent. Scope: mandates:read or mandates:write
Can also return the common errors. Full schema

List shifts

GET /shifts The choices of the playground’s Shift dropdown. Send one as shift of a mandate. Other text is still accepted and kept as sent. Scope: mandates:read or mandates:write
Can also return the common errors. Full schema