예제 #1
0
        /// <summary>
        /// Checkin and start order allocation
        /// </summary>
        /// <param name="request"></param>
        public CheckinUserResponse CheckinUser(CheckinUserRequest request)
        {
            var response = GetResponse("OrderWorkflow/CheckinUser", "request=" + System.Net.WebUtility.UrlEncode(JsonFormatter.ConvertToJson(request)) + "");

            return(JsonFormatter.ConvertFromJson <CheckinUserResponse>(response));
        }
예제 #2
0
 public static CheckinUserResponse CheckinUser(CheckinUserRequest request, Guid ApiToken, String ApiServer)
 {
     return(Newtonsoft.Json.JsonConvert.DeserializeObject <CheckinUserResponse>(Factory.GetResponse("OrderWorkflow/CheckinUser", "request=" + Newtonsoft.Json.JsonConvert.SerializeObject(request, serializerSettings) + "", ApiToken, ApiServer), new JsonSerializerSettings {
         NullValueHandling = NullValueHandling.Ignore
     }));
 }
예제 #3
0
        /// <summary>
        /// Checkin and start order allocation
        /// </summary>
        /// <param name="request"></param>
        public CheckinUserResponse CheckinUser(CheckinUserRequest request)
        {
            var response = GetResponse("OrderWorkflow/CheckinUser", "request=" + JsonFormatter.ConvertToJson(request) + "");

            return(JsonFormatter.ConvertFromJson <CheckinUserResponse>(response));
        }