var apiContext = Configuration.GetAPIContext();
#region Track Workflow
this.flow.AddNewRequest("Retrieve list of profiles");
#endregion
var profileList = WebProfile.GetList(apiContext);
#region Track Workflow
this.flow.RecordResponse(profileList);
#endregion
}
}
}
Api Context
Pass in a
APIContext
object to authenticate the call and to send a unique request id (that ensures idempotency). The SDK generates a request id if you do not pass one explicitly. See Configuration.cs to know more about APIContext.