POST /ariel/lookups/{name}

Updates a tagged field lookup with particular name.

Updates a tagged field lookup with particular name

Table 1. POST /ariel/lookups/{name} resource details
MIME Type

application/json

Table 2. POST /ariel/lookups/{name} request parameter details
Parameter Type Optionality Data Type MIME Type Description

name

path

Required

String

text/plain

The name of this lookup entry

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 /ariel/lookups/{name} request body details
Parameter Data Type MIME Type Description Sample

data

Object

application/json

Json structure representing all changeable fields for this lookup entry

{ "default_value": "String", "map": { "String": "String" } }

Table 4. POST /ariel/lookups/{name} response codes
HTTP Response Code Unique Code Description

200

The lookup was created.

404

1002

Lookup doesn't exist

500

1020

Internal server error

Response Description

The updated field lookup.

Response Sample


{
    "default_value": "String",
    "map": {
        "String": "String"
    },
    "name": "String",
    "type": "String <one of: NULL, STRUCT, Byte, Short, Integer, Long, UnsignedByte, UnsignedShort, UnsignedInt, UnsignedLong, BigInteger, Double, Float, Port, Host, HostV4V6, HostV6, MACAddress, String, ByteArray, UnsignedIntHex, Boolean, Binary>"
}