Beispiel #1
0
		/// <summary>
		/// Adds a single piece of transactional data to a contact.
		/// </summary>
		public async Task<ServiceResult<ApiTransactionalData>> PostContactsTransactionalDataAsync(string collectionName, ApiTransactionalData apiTransactionalData)
		{
			var request = new Request(baseAddress, "contacts/transactional-data/{collectionName}", 
			new Dictionary<string, object>
			{
				{ "collectionName", collectionName },
			});
			return await PostAsync<ApiTransactionalData>(request, apiTransactionalData);
		}
Beispiel #2
0
		/// <summary>
		/// Adds a single piece of transactional data to a contact.
		/// </summary>
		public ServiceResult<ApiTransactionalData> PostContactsTransactionalData(string collectionName, ApiTransactionalData apiTransactionalData)
		{
			return PostContactsTransactionalDataAsync(collectionName, apiTransactionalData).Result;
		}