ON THIS PAGE
POST /ariel/lookups/{name}
SUMMARY Updates a tagged field lookup with particular name.
Updates a tagged field lookup with particular name
MIME Type |
---|
application/json |
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. |
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" } } |
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>" }