/// <summary> /// Get specific group by id. Detailed information about a group is returned /// </summary> /// <param name="request"></param> public GetGroupResponse GetGroup(GetGroupRequest request) { var response = GetResponse("OrderWorkflow/GetGroup", "request=" + System.Net.WebUtility.UrlEncode(JsonFormatter.ConvertToJson(request)) + ""); return(JsonFormatter.ConvertFromJson <GetGroupResponse>(response)); }
public static GetGroupResponse GetGroup(GetGroupRequest request, Guid ApiToken, String ApiServer) { return(Newtonsoft.Json.JsonConvert.DeserializeObject <GetGroupResponse>(Factory.GetResponse("OrderWorkflow/GetGroup", "request=" + Newtonsoft.Json.JsonConvert.SerializeObject(request, serializerSettings) + "", ApiToken, ApiServer), new JsonSerializerSettings { NullValueHandling = NullValueHandling.Ignore })); }
/// <summary> /// Get specific group by id. Detailed information about a group is returned /// </summary> /// <param name="request"></param> public GetGroupResponse GetGroup(GetGroupRequest request) { var response = GetResponse("OrderWorkflow/GetGroup", "request=" + JsonFormatter.ConvertToJson(request) + ""); return(JsonFormatter.ConvertFromJson <GetGroupResponse>(response)); }