C# client for the ComboCurve REST API
View the Project on GitHub insidepetroleum/combocurve-client-csharp
A formation to create or replace. The same shape GET /v1/formations/{id} plus its points returns, so a read can be sent back unchanged: read-only fields (id, enabled, scope, projectId, maxDepth, maxThickness, bbox, pointCount, createdAt, updatedAt) are accepted and ignored. The route decides the scope: PUT /v1/formations writes company formations and PUT /v1/projects/{projectId}/formations writes into that project. A scope or projectId that disagrees with the route is rejected with 400.
| Name | Type | Description | Notes |
|---|---|---|---|
| Name | string | Unique within the scope. Matches an existing formation to replace. | |
| Points | List<FormationPointInput> | ||
| Color | string | Hex colour, for example `#c0392b`. Applied on create and on replace. When omitted, a new formation gets a default colour and an existing one keeps its colour. | [optional] |