Create a material sourcing
Authorizations
OAuth 2.0 client credentials. Exchange your client_id and client_secret for an access token scoped to the organisation that provides data access.
Headers
ID of the organisation the request operates on behalf of (e.g. org_...). Must be an organisation the API client has access to.
"org_01k83mfmhgchya944v86ryvhpq"
Body
The ID of the material sourcing config that defines the sourcing to create.
"mscc_01kpteg39rde1m80740h6p2wb2"
When the sourcing took place: an ISO 8601 date-time with an explicit UTC offset (Z or ±hh:mm). Defaults to now if omitted.
"2026-01-15T08:00:00Z"
A optional custom ID that can be set to an internal ID from your system. This ID must be unique within all objects of the organisation you operate in. You can later use this external ID to reference and query this object. Be aware that you can update this ID later. If you need an immutable ID, use the object ID returned when creating the object.
1 - 100^[A-Za-z0-9\-_]+$"MY-CUSTOM-ID"
The containers the sourcing produces. Only applicable to non-unified configs (unified: false): describe each container against one of the config's output_configs via config_id.
100Describes a new container to create, based on one of the container configs the flow's config lists.
- New Container
- Existing Container
Values for the sourcing's data points. When the config is unified (unified: true), the flat array spans the whole flow (sourcing step and output containers); when unified is false, only the step's own data points — container values belong to the output_containers items.
100Response
Material sourcing created.
The ID of the material sourcing.
"msc_01k2rkq2yav2zev1b6f2ngzkqv"
The ID of the config the sourcing was created from.
"mscc_01kpteg39rde1m80740h6p2wb2"
The ID of the exact config version the sourcing was created from.
"msccv_01kym9dwvb8naj2qn8nv5vh331"
Optional external ID of the sourcing.
"MY-CUSTOM-ID"
Human-readable identifier.
"SRC-2026-01-15-1"
The site the sourcing was executed at.
When the sourcing took place.
"2026-01-15T08:00:00Z"
When the sourcing was recorded in the system.
"2026-01-15T08:00:00Z"
Data points set on the sourcing step itself.
Data point holding a single line of text.
- short_text
- long_text
- multi_text
- number
- percentage
- amount
- timestamp
- duration
- boolean
- material
- material_batch
- container_type
- material_pool
The material containers the sourcing produced. Always returned, whether the config is unified or not.