Explore the RiC model - every entity, attribute and relation, plain and navigable. Open the model navigator ↗

Fixture — write-response-create

Endpoint: Any POST /api/ric/v1/{type} that successfully created an entity. Schema: write-response.schema.json ($defs/create)

Shown here for a Place create. The same shape applies to Rules, Activities, Instantiations, and Relations (with type adjusted to rule, activity, instantiation, or relations not setting type).

Status code is 201 Created, not 200. Location header MAY also be set to the href value.

The sibling $defs/success shape (status 200) is returned by:

Example success body:

{ "success": true, "id": 912401 }