public FunctionSeatingChartsModel AddWithFilledFields(string orgCode, string description, string newTxt12Value) { var myFunctionSeatingChart = new FunctionSeatingChartsModel { OrgCode = orgCode, Description = description, }; return(APIUtil.AddFunctionSeatingChart(USISDKClient, myFunctionSeatingChart)); }
/// <summary> /// A basic add example /// </summary> /// <param name="orgCode">The organization code of the function seating chart.</param> /// <param name="chartName">Function chart description.</param> /// <param name="capacity">Function Chart capacity</param> /// <param name="eventId">Function Chart EventId, must be specified for which event and function the chart will apply to.</param> /// <param name="functionId">Function Chart FunctionId, must be specified for which event and function the chart will apply to.</param> /// <param name="fillMethod">Manual or Auto-Assign, Fill method. Manual = 2, Auto-Assign = 1.</param> /// <param name="groupCodeA">One of the group code descriptors to ghelp group tables in the grid.</param> /// <param name="inventoryCode">A unique code to help users search for the function seating chart.</param> public FunctionSeatingChartsModel Add(string orgCode, string chartName, int capacity, int eventId, int functionId, int fillMethod, string groupCodeA, string inventoryCode) { var myFunctionSeatingChart = new FunctionSeatingChartsModel { OrgCode = orgCode, Description = chartName, Capacity = capacity, EventId = eventId, FunctionId = functionId, FillMethod = fillMethod, GroupCodeA = groupCodeA, InventoryCode = inventoryCode }; return(APIUtil.AddFunctionSeatingChart(USISDKClient, myFunctionSeatingChart)); }