Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

POST /reference_data/map_of_sets/bulk_load/ {namespace}/{name}/{domain_id}

Adds or updates data in a reference map of sets.

Adds or updates data in a reference map of sets.

Table 1: POST /reference_data/map_of_sets/bulk_load/{namespace}/{name}/{domain_id} Resource Details

MIME Type

application/json

Table 2: POST /reference_data/map_of_sets/bulk_load/{namespace}/{name}/{domain_id} Request Parameter Details

Parameter

Type

Optionality

Data Type

MIME Type

Description

namespace

path

Required

String

text/plain

Required - Either SHARED or TENANT.

name

path

Required

String

text/plain

Required - The name of the map of sets to add or update data in.

domain_id

path

Required

String

text/plain

Required - Specify the numeric domain_id tag for the data or SHARED for Admin users. Must be a domain ID for which the caller has access.

fields

header

Optional

String

text/plain

Optional - Use this parameter to specify which fields you would like to get back in the response. Fields that are not named are excluded. Specify subfields in brackets and multiple fields in the same object are separated by commas.

Table 3: POST /reference_data/map_of_sets/bulk_load/{namespace}/{name}/{domain_id} Request Body Details

Parameter

Data Type

MIME Type

Description

Sample

data

Array

application/json

Required - The JSON-formatted data to add or update in the reference map of sets.

{"key1":["Data11","Data12"], "key2":["Data21","Data22"], "key3":["Data31","Data32"], "key4":["Data41","Data42"], "key5":["Data51","Data52"], "key6":["Data61","Data62"]}

Table 4: POST /reference_data/map_of_sets/bulk_load/{namespace}/{name}/{domain_id} Response Codes

HTTP Response Code

Unique Code

Description

200

 

Data was successfully added or updated in the reference map of sets.

400

1001

An error occurred parsing the JSON-formatted message body.

404

1002

The reference map of sets does not exist.

404

1011

Domain not found

422

1005

A request parameter is not valid.

422

1012

The namespace value of SHARED was expected

422

1014

The domain_id parameter must be specified

422

1015

The namespace parameter must be either SHARED or TENANT

500

1020

An error occurred during the attempt to add or update data in the reference map of sets.

Response Description

Information about the reference map of sets where data was added or updated. This returns information about the reference map of sets but not the data that it contains.

Response Sample