Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

POST /reference_data/sets/{name}

Add or update an element in a reference set.

Add or update an element in a reference set.

Table 1: POST /reference_data/sets/{name} Resource Details

MIME Type

application/json

Table 2: POST /reference_data/sets/{name} Request Parameter Details

Parameter

Type

Optionality

Data Type

MIME Type

Description

name

path

Required

String

text/plain

Required - The name of the reference set to add or update an element in

value

query

Required

String

text/plain

Required - The value to add or update in the reference set. Note: Date values must be represented in milliseconds since the Unix Epoch January 1st 1970.

source

query

Optional

String

text/plain

Optional - An indication of where the data originated. The default value is 'reference data api'

fields

query

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/sets/{name} Response Codes

HTTP Response Code

Unique Code

Description

200

 

The reference set has had an element added or updated

404

1002

The reference set does not exist

422

1005

A request parameter is not valid

500

1020

An error occurred while attempting to add or update an element in the reference set

Response Description

Information about the reference set that had an element added or updated. This returns information about the reference set but not the contained data.

Response Sample