API reference
/Custom fields
/- Get custom field
Reorder custom fields
Update custom field status
Create custom field
Update custom field
Delete custom field
List custom field
Update option for the given options group
Upload file of options to be processed
Create custom field arm
Update arm
Get arm
Delete arm
List arms
Get options for a custom field.
Get applicable custom fields
Get custom field
This endpoint gets a custom field.
Security
Bearer
- Sandbox URLhttps://api-ext-sboxmeta.partners.spotnana.com/v3/companies/{companyId}/custom-fields/{customFieldId}
- Spotnana mock serverhttps://developer.spotnana.com/_mock/openapi/customfieldapi/v3/companies/{companyId}/custom-fields/{customFieldId}
curl -i -X GET \
https://api-ext-sboxmeta.partners.spotnana.com/v3/companies/4974a66b-7493-4f41-908c-58ba81093947/custom-fields/4974a66b-7493-4f41-908c-58ba81093947 \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'OK
Name of this field to be viewed by the user and consumed by mid-office systems.
Example:"Air Reason Code"
User can respond this field only once at given level.
Value:"TRIP"
Example:"TRIP"
Response
{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "Air Reason Code", "description": { "value": "This field will capture the reason for out of policy booking" }, "includeLocations": [ "APPROVAL_EMAILS" ], "managementTags": [ { … } ], "respondOnlyOnceLevel": "TRIP", "captureStep": "AT_CHECKOUT" }