AddPeopleBatchAsync

Returns (Task)

Create new people(Person) in the designated Folder via batch.

Name Description
folder
batch

Add People Batch Async

Example in C#

// Returns: Int32
var item = await client.AddPeopleBatchAsync(FolderInfo folder, PersonInfo batch);

Example in CURL



           curl -X POST \
               https://keepapi.feenicshosting.com/api/f/INSTANCE.KEY/people/complex \
               -H 'Authorization: Bearer TOKEN_GOES_HERE' \
               -H 'Content-Type: application/json' \
               -D '[{
                       "$type":"Feenics.Keep.WebApi.Model.PersonInfo, Feenics.Keep.WebApi.Model",
                       "GivenName":"ExamplePerson",
                       "Surname":"For_cUrl",
                       "Addresses":null,
                       "CardAssignments":null,
                       "Key":null,
                       "CommonName":"ExamplePersonFor_cUrl",
                       "InFolderHref":null,
                       "InFolderKey":null,
                       "Links":[],
                       "ObjectLinks":null,
                       "Metadata":null,
                       "Notes":null,
                       "Tags":null,
                       "Monikers":null,
                       "Href":null
                   }]'