POST /ariel/lookups

Creates a new tagged field lookup.

Creates a new tagged field lookup

Table 1. POST /ariel/lookups resource details
MIME Type

application/json

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

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 request body details
Parameter Data Type MIME Type Description Sample

data

Object

application/json

Json structure representing all fields for new lookup entry

{ "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>" }

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

201

The lookup was created.

500

1020

Internal server error

Response Description

The newly created 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>"
}