Invokes a search on the API looking up a resource strictly by the provided moniker. Returns (Task.)Exception Type: FailedOutcomeExceptionIf the resource can not be found using supplied namespace and nickname, then a 404 is returned from the server and sufaced to the called as a FailedOutcomeException
This method will find and return the object that matches the provided MonikerItem.
Name | Description |
---|---|
namespace | The namespace. |
nickname | The nickname. |
Example in C#
// Returns: T
var item = await client.GetByMonikerAsync<T>(String namespace, String nickname);
Example in CURL
curl -X GET \
https://api.us.acresecurity.cloud/api/monikers?namespace=cUrlExmaple&nickname=SetMonikerOnPersonForcUrlExample \
-H 'Authorization: Bearer TOKEN_GOES_HERE'