This function creates a nested list in the correct structure to be converted to JSON and delivered to the API

create_payload(end_pt, ...)

Arguments

end_pt

character, the name of the API end point to create a payload for

...

key = value pairs for creating the JSON payload

Value

list

Details

For /api/create/network and /api/create/batch, the antenna and tag data must first be coerced into the proper format via create_antenna_data() and create_batch_tag_data(), respectively.

Author

Matt Espe