--- title: "REST API: Client object input type (ASObject)" slug: "custom-rest-api-client-object" status: "update" updated: 2026-11-12T13:36:45Z published: 2026-11-12T13:36:45Z canonical: "docs.lobstersoftware.com/custom-rest-api-client-object" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.lobstersoftware.com/llms.txt > Use this file to discover all available pages before exploring further. # REST API: Client object input type (ASObject) This topic describes the special **client object** input type (`ASObject`) for REST API endpoints. For an overview of the REST API configuration, see [REST API](https://docs.lobster-world.com/docs/en/custom-rest-api-definition). ## Choosing client object as input type When you select **Client object** (`ASObject`) as the **input type**, a [Button](/v1/docs/en/fre-button-vo) **Client object structure** appears to the right of the [Combobox](/v1/docs/en/fre-combo-box-vo) element. This defines a [Client object structure reference](/v1/docs/en/core-client-structure-reference) in the `clientStructure` field. Clicking the button opens a [Popover](/v1/docs/en/fre-popover-vo) element. There, you select an existing private or public client object structure or create a new local one. ![](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/image-U969AUMD.png) ## Creating a new client object structure With the selection **New client object structure**, an element appears to define the new structure. Optionally, you specify an **Alias** for the header data in another [Popover](/v1/docs/en/fre-popover-vo). The alias must meet the requirements for class names. The **Ignore additional properties** option determines whether the data structure provided at runtime can contain fields that are not explicitly defined in the structure. For details, see Client object structure (Definition). ## Example: client object structure "Aerodrome" Via an API endpoint with the `POST` method, you import master data for landing sites into the **Lobster Data Platform**. A landing site can optionally be identified via an ICAO code (4-letter identifier such as `EGLL` for London/Heathrow) and an IATA code (3-letter identifier such as `LHR`). Additionally or alternatively, the data object expected in JSON format contains further attributes: geo coordinates, w3w, plain text, and so on. The local client object structure with the **Alias** `Aerodrome` defines the optional fields `icaoCode` and `iataCode` for this purpose. The **Ignore additional properties** option remains deactivated (default). At runtime, the platform responds with an HTTP error `404 Error: Not Found` when the endpoint receives a data object with an unknown field name. The following structure would therefore not be accepted as an `Aerodrome` input value: `{"icaoCode":"VHHH","iataCode":"HKG","name":"Hong Kong Intl.","aka":"Chek Lap Kok"}` If you activate **Ignore additional properties**, the symbol `*` also appears in the fields list. It indicates that additional fields with arbitrary names are allowed. | **Without "Ignore additional properties"** | **With "Ignore additional properties"** | | --- | --- | | ![](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/image-06F4OAI0.png) | ![](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/image-4AP6MQM8.png) | **NOTE:** The associated OpenAPI example structure instead contains a field whose name follows the schema `additionalProp<index>`, for example `additionalProp1`. The endpoint now also accepts a data object such as `{"designation":"CVN-65", "name":"USS Enterprise"}` as an `Aerodrome` input value. It contains fields that are not declared in the client object structure. **NOTE:** **Ignore additional properties**: This only affects acceptance of the data object as an input type. The platform does not remove the additional fields from the data object. You can still access them in the action block. For access via the [Object property](/v1/docs/en/core-property-resolver) value resolver, specify a concrete field name (here `designation`) as free text. To try multiple field names, use chained [Default value](/v1/docs/en/core-default-value-resolver) resolvers. Alternatively, treat the **Client object** type as a map. The [All map keys](/v1/docs/en/core-map-keys-resolver) value resolver enables systematic evaluation of all existing field names. ## Client object input type for HTML form data A request with the `Content-Type` header `application/x-www-form-urlencoded` delivers data from an HTML form. This data arrives as a concatenation of key-value pairs in a URL-encoded `String`. You process this data with the **Client object** input type. The following table shows how the syntax is interpreted, with examples: | **HTTP form data** | **Client object (JSON)** | | --- | --- | | `fname=John&lname=Doe` | `{ "fname": "John", "lname": "Doe" }` | | `fname=John&lname=Doe&fname=Agent&lname=Smith` | `{ "fname": ["John", "Agent"], "lname": ["Doe", "Smith"] }` | | `fname[]=John&lname[]=Doe` | `{ "fname": ["John"], "lname": ["Doe"] }` | An architecture for web APIs based on HTTP. REST APIs use standard methods such as GET, POST, PUT, and DELETE to access resources. The Lobster Data Platform provides its own REST API and can act as a REST endpoint via an HTTP input agent. JSON (**J**ava**S**cript **O**bject **N**otation) is a lightweight text format for data exchange. The Lobster Data Platform handles JSON in integration profiles, web resources, and API interfaces. Value resolvers convert JSON data to internal objects and vice versa.