- In India: search a place with
GET /locationsand send it as the mandate’slocation(name→city,state→state). - Outside India: list the countries with
GET /countries, then sendlocation_type: "abroad"and the pickedcodes (1–10) ascountries.
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
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
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

