Data Maps

Upsert Static Data Map Entries

Updates the entries in a static data map. Use this endpoint to add new entries or update the row corresponding to a specific key.

put/data_maps/{data_map_id}/entries

Request

Path parameters

data_map_idinteger required

The unique ID of the data map that needs to be updated.

Headers

Accept'application/vnd.nexla.api.v1+json' | 'application/json'

Setting to application/vnd.nexla.api.v1+json is recommended.

Request body

entriesobject[]

Enter the array of data map entries that you wish to upsert. This call will result in an upsert on the data map, i.e., new rows will be added for keys not present in the data map, and relevant rows will be updated for keys that are already present.

Example request

{
  "entries": [
    {
      "OrderNo": "1002",
      "Price": "40.38",
      "key": "1002_4",
      "ItemNo": "4",
      "Qty": "10000"
    }
  ]
}

Response

Success

object[] required

Changes

No recorded changes to this operation across all 1 revision of this API.