コード例 #1
0
ファイル: Routes.cs プロジェクト: Domer79/CIAPI.CS
 /// <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);
 }
コード例 #2
0
ファイル: Routes.cs プロジェクト: mikelear/CIAPI.CS
 /// <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");
 }
コード例 #3
0
ファイル: Routes.cs プロジェクト: Domer79/CIAPI.CS
        // ***********************************
        // 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 );
        }
コード例 #4
0
ファイル: Routes.cs プロジェクト: mikelear/CIAPI.CS
        // ***********************************
        // 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");
        }