This is an await-able get of T objects for a set of nicknames all within the same namespace. Returns ( Task<IEnumerable> Where T is objects matching the set of nicknames. an Empty set is returned if no objects are found )
This gets the designated Moniker Item objects from the designated namespace in the data base and returns them as the specified object type (must inherit from BaseInfo).
Name | Description |
---|---|
namespace | The single namespace that contains the set of nicknames of objects to retrieve |
nicknames | The set of nicknames of objects to retrieve (all within the same namespace) |
Example in C#
// Returns: IEnumerable<T>
var item = await client.GetByMonikersAsync<T>(String namespace, String nicknames);
Example in CURL
curl -X GET \
https://api.us.acresecurity.cloud/api/baseinfo?namespace=cUrlExmaple \
-H 'Authorization: Bearer TOKEN_GOES_HERE' \
-H 'Content-Type: application/json' \
-d '["SetMonikerOnPersonForcUrlExample"]'