VERSION: 4.0, DEPRECATED: NO
POSTcountry
Params
curl --location --request POST "{{ROOT}}lookup/country/" \ -H "Authorization: Bearer {{BEARER_TOKEN}}" \ -H "app-id:{{APP_ID}}" \ -H "Content-Type: application/json" \ -H "Accept-Encoding: gzip" \ -H "accept: */*" \ --data '{"name": "sample","public_holiday_only": false}'
[ { "object_name":"country_id", "type":"Int32", "is_nullable":false, "nest":null, "custom":null "note": }, { "object_name":"name", "type":"String", "is_nullable":false, "nest":null, "custom":null "note": }, { "object_name":"code_2", "type":"String", "is_nullable":false, "nest":null, "custom":null "note": }, { "object_name":"code_3", "type":"String", "is_nullable":false, "nest":null, "custom":null "note": }, { "object_name":"eu_member", "type":"Boolean", "is_nullable":false, "nest":null, "custom":null "note": }]
GETvalues
Sample call: {root}/v4/lookup/values
curl --location --request GET "{{ROOT}}lookup/values/-H "Authorization: Bearer {{BEARER_TOKEN}}" \ -H "app-id:{{APP_ID}}" \ -H "Content-Type: application/json" \ -H "Accept-Encoding: gzip" \ -H "accept: */*" \
[ { "object_name":"id", "type":"Int32", "is_nullable":false, "nest":null, "custom":null "note": }, { "object_name":"name", "type":"String", "is_nullable":false, "nest":null, "custom":null "note": }, { "object_name":"type", "type":"String", "is_nullable":false, "nest":null, "custom":null "note": }]
INSTANTLY REDUCE TIME SPENT ON LEAVE MANAGEMENT
Start Your Free Trial