Interface CreateRecordRequest._FinalStage
- All Known Implementing Classes:
CreateRecordRequest.Builder
- Enclosing class:
CreateRecordRequest
-
Method Summary
Modifier and TypeMethodDescriptionadditionalProperties(Map<String, Object> additionalProperties) additionalProperty(String key, Object value) allowClear(Boolean allowClear) allowClear(Optional<Boolean> allowClear) Only relevant with?build()Whentrue, if a record with the sameexternalIdalready exists its content is overwritten (the submittedpayloadand mutable fields are applied and the version is bumped) instead of being returned unchanged; the immutableexternalId,schemaId/typeName, and ownership are never changed.
-
Method Details
-
build
CreateRecordRequest build() -
additionalProperty
-
additionalProperties
-
upsert
When
true, if a record with the sameexternalIdalready exists its content is overwritten (the submittedpayloadand mutable fields are applied and the version is bumped) instead of being returned unchanged; the immutableexternalId,schemaId/typeName, and ownership are never changed. A re-applied upsert whose content matches is a no-op (no version bump). Defaults tofalse. Requires therecords:u:<type>scope in addition torecords:c:<type>. -
upsert
-
allowClear
Only relevant with
?upsert=true, which overwrites an existing record as a full replacement. If the submittedpayloadomits (or sends as null) a stored field that a list or lookup response returns only as an indexed projection (a large record whose payload is stored externally), the overwrite is rejected unless you setallowClear=trueto confirm that clearing those fields is intended. Use PATCH to update without clearing omitted fields. Defaults tofalse. -
allowClear
-