Create a DMFieldCollection
Creates a DMFieldCollection from a multipart/form-data body containing the schema (JSON – the DMFieldCollection DTO) as a first part and the data (AVRO format) as second part. Fails if the specified DMFieldCollection already exists.<p> The first part contains information about the schema of the Field Collenction to be created:<br>
- for DMDataSource
- uniqueName
- label*
- fields
- for DMT
- name
- label
- fields*
- owner – the ModeObject typedId that owns the table. * fields is a list of the DMFields specification.
The second part contains the table data in the AVRO format. The data schema must comply with the one given in the first part.<p> An existing table will be overriden (deletes an existing one, creates a new one).
This is an endpoint dedicated for remote services (such as Optimization Engine or Python Engine). It is very strict by design in order to ensure that the uploaded data ends up exactly in the same format in the platform.
Request
- Base URLhttps://companynode.pricefx.com/pricefx/companypartition
- Auth
- HTTP basic
- or API key in header X-PriceFx-jwt
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body multipart/form-data
Response
OK
Changes
No recorded changes to this operation across all 2 revisions of this API.