AddVisitAsync

Returns (Task)

Create new Visit in the designated Folder.

Name Description
folder
visit

Add Visit Async

Example in C#

// Returns: VisitInfo
var visitInfo = await client.AddVisitAsync(FolderInfo folder, VisitInfo visit)

Example in CURL



           curl -X POST \
               https://keepapi.feenicshosting.com/api/INSTANCE.KEY/visits \
               -H 'Authorization: Bearer TOKEN_GOES_HERE' \
               -H 'Content-Type: application/json' \
               -D '{
                       "$type":"Feenics.Keep.WebApi.Model.VisitInfo, Feenics.Keep.WebApi.Model",
                       "StartingOn":"0001-01-01T00:00:00",
                       "EndingOn":"0001-01-01T00:00:00",
                       "IsAllDay":false,
                       "Location":null,
                       "Status":0,
                       "Host":null,
                       "Attendees":null,
                       "Key":null,
                       "CommonName":"VisitExampleFor_cUrl",
                       "InFolderHref":null,
                       "InFolderKey":null,
                       "Links":[],
                       "ObjectLinks":null,
                       "Metadata":null,
                       "Notes":null,
                       "Tags":null,
                       "Monikers":null,
                       "Href":null
                   }'