/position_def_set
PATCH
/position_def_set
position_def_set
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request PATCH 'https://cool.jobmojito.com/rest/v1/position_def_set?id&created_at&updated_at&deleted_at&merchant_id&name&description&code&cover_image_url&cover_image_local_path&visibility&emoji&interview_salary&interview_location&interview_available_till&interview_description_long&mojito_language_code&billing_single_position&billing_single_position_end_at&status&slug' \
--header 'Prefer;' \
--header 'Apikey: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6Im1vbXNidm5sdHN5ZGV6bW9lc3F0Iiwicm9sZSI6ImFub24iLCJpYXQiOjE2OTA3MDE0OTksImV4cCI6MjAwNjI3NzQ5OX0.MejArO571bSF0cav3fp_YQEhsF92yn440Iks7Wu1af8' \
--header 'Content-Type: application/json' \
--data-raw '{
"id": "gen_random_uuid()",
"created_at": "now()",
"updated_at": "string",
"deleted_at": "string",
"merchant_id": "500924a8-3f5e-4c00-beb8-2efcde988aea",
"name": "string",
"description": "string",
"code": "string",
"cover_image_url": "string",
"cover_image_local_path": "string",
"visibility": "merchant_public",
"emoji": "string",
"interview_salary": "string",
"interview_location": "string",
"interview_available_till": "string",
"interview_description_long": "string",
"mojito_language_code": "en'\'''\''::text",
"billing_single_position": true,
"billing_single_position_end_at": "string",
"status": "draft",
"slug": "string"
}'
Response Response Example
{}
Request
Query Params
id
stringÂ
optional
created_at
stringÂ
optional
updated_at
stringÂ
optional
deleted_at
stringÂ
optional
merchant_id
stringÂ
optional
name
stringÂ
optional
description
stringÂ
optional
code
stringÂ
optional
cover_image_url
stringÂ
optional
cover_image_local_path
stringÂ
optional
visibility
stringÂ
optional
emoji
stringÂ
optional
interview_salary
stringÂ
optional
interview_location
stringÂ
optional
interview_available_till
stringÂ
optional
interview_description_long
stringÂ
optional
mojito_language_code
stringÂ
optional
billing_single_position
stringÂ
optional
billing_single_position_end_at
stringÂ
optional
status
stringÂ
optional
slug
stringÂ
optional
Header Params
Prefer
enum<string>Â
optional
Allowed values:
return=representationreturn=minimalreturn=none
Apikey
stringÂ
optional
Example:
{{Apikey}}
Body Params application/json