Ejemplo n.º 1
0
        /// <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));
        }
Ejemplo n.º 2
0
 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
     }));
 }
Ejemplo n.º 3
0
        /// <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));
        }