Forums
Octopus: creating Yes/No UDF returns Code 0 but no Yes/No options
We are seeing an issue creating Yes/No user-defined fields in Maximizer CRM Live through the Octopus API. It is reproducible directly in Postman, independently of our integration.
POST https://api.maximizer.com/octopus/Create
{"Schema":{"Data":{"Key":null,"Type":"EnumField
The field is created with Code 0, but offers no choices in the Maximizer UI. Reading FieldOptions returns an empty array. Schema metadata shows EnumField
We tested assigning No to an API-created field on an existing Opportunity:
POST https://api.maximizer.com/octopus/Update
{"Opportunity":{"Data":{"Key":"<EXISTING_OPPORTUNITY_KEY>","Udf/$TYPEID(2152)":"1"}}}
Response (record key redacted): {"Code":0,"Opportunity":{"Data":{"Key":"<EXISTING_OPPORTUNITY_KEY>","Udf/$TYPEID(2152)":null}}}
The field remains unset.
Documentation: https://developer.maximizer.com/reference/octopus-api-docs-objects-user-defined-fields-udf-definition
Should creating a Yes/No UDF automatically create its No/Yes options? If a separate FieldOptions operation is required, please provide the supported request and explain how to ensure the correct option keys. Is there a known issue with Yes/No UDF creation, and can existing fields with missing choices be repaired without recreating them?
Is Code 0 with a null value expected when assigning a nonexistent option, or should an error be returned?
