/// <summary> /// Save Market Information for the specified list of markets. /// </summary> /// <param name="listMarketInformationRequestSaveDTO">Save Market Information for the specified list of markets.</param> /// <param name="callback"></param> /// <param name="state"></param> public virtual void BeginSaveMarketInformation(SaveMarketInformationRequestDTO listMarketInformationRequestSaveDTO, ReliableAsyncCallback callback, object state) { string uriTemplate = "/information/save"; _client.BeginRequest(RequestMethod.POST, "market", uriTemplate , new Dictionary<string, object> { { "listMarketInformationRequestSaveDTO", listMarketInformationRequestSaveDTO} },ContentType.JSON,ContentType.JSON, TimeSpan.FromMilliseconds(0), 30000,0 ,callback, state); }
/// <summary> /// Save Market Information for the specified list of markets. /// </summary> /// <param name="listMarketInformationRequestSaveDTO">Save Market Information for the specified list of markets.</param> /// <param name="callback"></param> /// <param name="state"></param> public virtual void BeginSaveMarketInformation(SaveMarketInformationRequestDTO listMarketInformationRequestSaveDTO, ApiAsyncCallback<ApiSaveMarketInformationResponseDTO> callback, object state) { _client.BeginRequest(callback, state, "market", "/market/information/save", "POST", new Dictionary<string, object> { { "listMarketInformationRequestSaveDTO", listMarketInformationRequestSaveDTO} }, TimeSpan.FromMilliseconds(0), "data"); }
// *********************************** // SaveMarketInformation // *********************************** /// <summary> /// Save Market Information for the specified list of markets. /// </summary> /// <param name="listMarketInformationRequestSaveDTO">Save Market Information for the specified list of markets.</param> public virtual ApiSaveMarketInformationResponseDTO SaveMarketInformation(SaveMarketInformationRequestDTO listMarketInformationRequestSaveDTO) { string uriTemplate = "/information/save"; return _client.Request<ApiSaveMarketInformationResponseDTO>(RequestMethod.POST,"market", uriTemplate , new Dictionary<string, object> { { "listMarketInformationRequestSaveDTO", listMarketInformationRequestSaveDTO} },ContentType.JSON,ContentType.JSON, TimeSpan.FromMilliseconds(0),30000,0 ); }
// *********************************** // SaveMarketInformation // *********************************** /// <summary> /// Save Market Information for the specified list of markets. /// </summary> /// <param name="listMarketInformationRequestSaveDTO">Save Market Information for the specified list of markets.</param> public virtual ApiSaveMarketInformationResponseDTO SaveMarketInformation(SaveMarketInformationRequestDTO listMarketInformationRequestSaveDTO) { return _client.Request<ApiSaveMarketInformationResponseDTO>("market", "/market/information/save", "POST", new Dictionary<string, object> { { "listMarketInformationRequestSaveDTO", listMarketInformationRequestSaveDTO} }, TimeSpan.FromMilliseconds(0), "data"); }