https://mappings.us.stedi.com/2021-06-01/mappings
. At the very least, your mapping definition should have a name, mapping type, and a few mapping expressions.
0
for the output field total
.
lookup_tables
field. Every lookup table must have a name and a set of values.
Field | Description |
---|---|
id | The unique identifier for your mapping definition. You need this if you ever want to update, delete, or use your mapping definition. |
created_at | A timestamp indicating when you created this mapping definition. |
updated_at | A timestamp indicating when you last updated this mapping definition. If you’ve never updated the mapping definition, this is the same as created_at. |
https://mappings.us.stedi.com/2021-06-01/mappings/mapping_id
. The response is identical to the one you received when you created the mapping definition. In other words, it’s the mapping definition as you specified it, supplemented with the fields id
, created_at
, and updated_at
.
https://mappings.us.stedi.com/2021-06-01/mappings/mapping_id
. You need to specify an entire new mapping definition, so when we talk about updating the mapping definition, we really mean replacing it.
Other than that, updating a mapping definition is the same as creating one: the request body is the same, the response body is the same.
https://mappings.us.stedi.com/2021-06-01/mappings/mapping_id
. That’s all there is to it, really. You don’t need to provide a request body and the response will be empty as well.
https://mappings.us.stedi.com/2021-06-01/mappings
.
mappings
which contains a list with mapping definitions.
id
, name
, type
, created_at
, and updated_at
, but not the mapping expressions or the schema. If you’re only displaying a list of mapping definitions, this is typically what you want, but should you need the full mapping definitions, you can set the query parameter metadata_only
to false
.
next_page_token
.
page_token
and you will receive the next few mapping definitions.
next_page_token
shows up in the response, there are more mapping definitions to retrieve.