/// <summary> /// Update session by id 53003 title field /// </summary> public static void UpdateSessionFields() { const int sessionId = 53003; var model = new UpdateSessionFormValuesRequest(new List <FieldValueModelBase> { new TextFieldValueModel("title", "Yet another session name") }); ApiClient.UpdateSessionFormValues(sessionId, model); }
/// <summary> /// Update session by id 53003 title field async /// </summary> public static Task UpdateSessionFieldsAsync() { const int sessionId = 53003; var model = new UpdateSessionFormValuesRequest(new List <FieldValueModelBase> { new TextFieldValueModel("title", "Yet another session name") }); return(ApiClient.UpdateSessionFormValuesAsync(sessionId, model)); }