Skip to content

Update custom field status

Request

Security
Bearer
Path
companyIdstring, (uuid)required

Identifier for company.

Example:4974a66b-7493-4f41-908c-58ba81093947
Query
companyRolestring(CompanyRole)required

Role of the company.

Enum:"ORG""TMC""PARTNER_TMC""HR_FEED_CONNECTOR""TRIPS_DATA_CONNECTOR""GLOBAL"
Example:companyRole=ORG
Bodyapplication/jsonrequired
fieldsToUpdateArray of objects(Field)

Custom fields whose status has to be updated

Default:[]
fieldsToDeleteArray of strings, (uuid)

The field ids for deletion.

Default:[]
curl -i -X PATCH \
  'https://api-ext-sboxmeta.partners.spotnana.com/v3/companies/4974a66b-7493-4f41-908c-58ba81093947/custom-fields/update-status?companyRole=ORG' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "fieldsToUpdate": [],
    "fieldsToDelete": []
  }'

Responses

OK

Response
No content