Esempio n. 1
0
		/// <summary>
		/// Replaces a piece of transactional data by key (logicall equivalent to a delete and an insert).
		/// </summary>
		public async Task<ServiceResult<ApiTransactionalData>> PostContactsTransactionalDataAsync(string collectionName, string key, ApiJsonData apiJsonData)
		{
			var request = new Request(baseAddress, "contacts/transactional-data/{collectionName}/{key}", 
			new Dictionary<string, object>
			{
				{ "collectionName", collectionName },
				{ "key", key },
			});
			return await PostAsync<ApiTransactionalData, ApiJsonData>(request, apiJsonData);
		}
Esempio n. 2
0
		/// <summary>
		/// Replaces a piece of transactional data by key (logicall equivalent to a delete and an insert).
		/// </summary>
		public ServiceResult<ApiTransactionalData> PostContactsTransactionalData(string collectionName, string key, ApiJsonData apiJsonData)
		{
			return PostContactsTransactionalDataAsync(collectionName, key, apiJsonData).Result;
		}