public AcceptQueueRs acceptQueue(AcceptQueueRq request) { string serviceUrl = ServiceURL.ipServer + ServiceURL.userAcceptQueueUrl; String resJSON = CallServices.callPost(serviceUrl, request); return(JObject.Parse(resJSON).ToObject <AcceptQueueRs>()); }
public UIReturn acceptQueue(Queue q) { AcceptQueueRq req = UserActionQueueService.getInstance().getAcceptQueueRq(q); AcceptQueueRs res = UserActionQueueService.getInstance().acceptQueue(req); UIReturn ret = new UIReturn(res.header); return(ret); }
public AcceptQueueRq getAcceptQueueRq(Queue input) { AcceptQueueRq ret = JObject.Parse(JsonConvert.SerializeObject(input)).ToObject <AcceptQueueRq>(); return(ret); }