Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Announcement: Try the Ask AI chatbot for answers to your technical questions about Juniper products and solutions.

close
header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
REST API Version 17.0 References
Table of Contents Expand all
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

POST /ariel/lookups

date_range 24-May-22

SUMMARY Creates a new tagged field lookup.

Creates a new tagged field lookup

Table 1: POST /ariel/lookups resource details:

POST /ariel/lookups resource details

MIME Type

application/json

Table 2: POST /ariel/lookups request parameter details:

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:

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:

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

content_copy zoom_out_map
{
    "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>"
}
footer-navigation