Adds a new building to a given folder Returns (Task)
This adds a BuildingInfo object to the data base.
Name | Description |
---|---|
folder | The |
item |
Example in C#
// Returns: BuildingInfo
var buildingInfo = await client.AddBuildingAsync(FolderInfo folder, BuildingInfo item);
Example in CURL
curl -X POST \
https://api.us.acresecurity.cloud/api/INSTANCE.KEY/visits/VISIT.KEY/attendees/buildings \
-H 'Authorization: Bearer TOKEN_GOES_HERE' \
-H 'Content-Type: application/json' \
-D '{
"$type":"Feenics.Keep.WebApi.Model.BuildingInfo, Feenics.Keep.WebApi.Model",
"Address":null,
"Coordinates":null,
"Key":null,
"CommonName":"BuildingExampleFor_cUrl",
"InFolderHref":null,
"InFolderKey":null,
"Links":[],
"ObjectLinks":null,
"Metadata":null,
"Notes":null,
"Tags":null,
"Monikers":null,
"Href":null
}'