Customers.Policies.Custom Fields

Create policy custom field value

Fill in a custom field on a policy. Get policy field definition IDs from GET /v2/custom-fields?recordType=policies or Policy Custom Fields.

post/v2/customers/{id}/policies/{policyId}/custom-fields

Request

  • Base URL
    https://api.carecycle.ai
  • URL
    https://api.carecycle.ai/v2/customers/{id}/policies/{policyId}/custom-fields
  • Auth
    API key in header x-api-key

Path parameters

idstring uuid required

Customer ID

policyIdstring uuid required

Policy ID

Request body

fieldDefinitionIdstring uuid required
textValuestring nullable
numberValuestring nullable
booleanValueboolean nullable
dateValuestring date-time nullable

Custom field date-time value. ISO 8601 timestamp

selectValuestring nullable
multiSelectValuestring[] nullable

Response

POST /v2/customers/:id/policies/:policyId/custom-fields Positive response

idstring uuid required
createdAtstring date-time nullable required

Custom field value creation time. ISO 8601 timestamp

updatedAtstring date-time nullable required

Custom field value last update time. ISO 8601 timestamp

fieldDefinitionIdstring uuid required
recordIdstring uuid required
recordType'customers' | 'policies' required
textValuestring nullable required
numberValuestring nullable required
booleanValueboolean nullable required
dateValuestring date-time nullable required

Custom field date-time value. ISO 8601 timestamp

selectValuestring nullable required
multiSelectValuestring[] nullable required

Changes

No recorded changes to this operation across all 2 revisions of this API.