All URIs are relative to http://localhost
Method | HTTP request | Description |
---|---|---|
CreateCouponReservation | POST /v1/coupon_reservations/{couponValue} | Create a new coupon reservation |
CreateReferral | POST /v1/referrals | Create a referral code for an advocate |
DeleteCouponReservation | DELETE /v1/coupon_reservations/{couponValue} | Delete coupon reservations |
DeleteCustomerData | DELETE /v1/customer_data/{integrationId} | Delete the personal data of a customer. |
GetCustomerInventory | GET /v1/customer_profiles/{integrationId}/inventory | Get an inventory of all data associated with a specific customer profile. |
GetReservedCustomers | GET /v1/coupon_reservations/customerprofiles/{couponValue} | Get the users that have this coupon reserved |
TrackEvent | POST /v1/events | Track an Event |
UpdateCustomerProfile | PUT /v1/customer_profiles/{integrationId} | Update a Customer Profile |
UpdateCustomerProfileV2 | PUT /v2/customer_profiles/{customerProfileId} | Update a Customer Profile |
UpdateCustomerSession | PUT /v1/customer_sessions/{customerSessionId} | Update a Customer Session |
UpdateCustomerSessionV2 | PUT /v2/customer_sessions/{customerSessionId} | Update a Customer Session |
Coupon CreateCouponReservation (string couponValue, CouponReservations body)
Create a new coupon reservation
Creates a coupon reservation for all passed customer profiles on this couponID
using System.Collections.Generic;
using System.Diagnostics;
using TalonOne.Api;
using TalonOne.Client;
using TalonOne.Model;
namespace Example
{
public class CreateCouponReservationExample
{
public static void Main()
{
Configuration.Default.BasePath = "http://localhost";
// Configure API key authorization: api_key_v1
Configuration.Default.AddApiKey("Authorization", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Configuration.Default.AddApiKeyPrefix("Authorization", "Bearer");
// Configure API key authorization: integration_auth
Configuration.Default.AddApiKey("Content-Signature", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Configuration.Default.AddApiKeyPrefix("Content-Signature", "Bearer");
var apiInstance = new IntegrationApi(Configuration.Default);
var couponValue = couponValue_example; // string | The value of a coupon
var body = new CouponReservations(); // CouponReservations |
try
{
// Create a new coupon reservation
Coupon result = apiInstance.CreateCouponReservation(couponValue, body);
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling IntegrationApi.CreateCouponReservation: " + e.Message );
Debug.Print("Status Code: "+ e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
couponValue | string | The value of a coupon | |
body | CouponReservations |
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
201 | Created | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Referral CreateReferral (NewReferral body)
Create a referral code for an advocate
Creates a referral code for an advocate. The code will be valid for the referral campaign for which is created, indicated in the campaignId
parameter, and will be associated with the profile specified in the advocateProfileIntegrationId
parameter as the advocate's profile.
using System.Collections.Generic;
using System.Diagnostics;
using TalonOne.Api;
using TalonOne.Client;
using TalonOne.Model;
namespace Example
{
public class CreateReferralExample
{
public static void Main()
{
Configuration.Default.BasePath = "http://localhost";
// Configure API key authorization: api_key_v1
Configuration.Default.AddApiKey("Authorization", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Configuration.Default.AddApiKeyPrefix("Authorization", "Bearer");
// Configure API key authorization: integration_auth
Configuration.Default.AddApiKey("Content-Signature", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Configuration.Default.AddApiKeyPrefix("Content-Signature", "Bearer");
var apiInstance = new IntegrationApi(Configuration.Default);
var body = new NewReferral(); // NewReferral |
try
{
// Create a referral code for an advocate
Referral result = apiInstance.CreateReferral(body);
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling IntegrationApi.CreateReferral: " + e.Message );
Debug.Print("Status Code: "+ e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
body | NewReferral |
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
201 | Created | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
void DeleteCouponReservation (string couponValue, CouponReservations body)
Delete coupon reservations
Removes all passed customer profiles reservation from this coupon
using System.Collections.Generic;
using System.Diagnostics;
using TalonOne.Api;
using TalonOne.Client;
using TalonOne.Model;
namespace Example
{
public class DeleteCouponReservationExample
{
public static void Main()
{
Configuration.Default.BasePath = "http://localhost";
// Configure API key authorization: api_key_v1
Configuration.Default.AddApiKey("Authorization", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Configuration.Default.AddApiKeyPrefix("Authorization", "Bearer");
// Configure API key authorization: integration_auth
Configuration.Default.AddApiKey("Content-Signature", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Configuration.Default.AddApiKeyPrefix("Content-Signature", "Bearer");
var apiInstance = new IntegrationApi(Configuration.Default);
var couponValue = couponValue_example; // string | The value of a coupon
var body = new CouponReservations(); // CouponReservations |
try
{
// Delete coupon reservations
apiInstance.DeleteCouponReservation(couponValue, body);
}
catch (ApiException e)
{
Debug.Print("Exception when calling IntegrationApi.DeleteCouponReservation: " + e.Message );
Debug.Print("Status Code: "+ e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
couponValue | string | The value of a coupon | |
body | CouponReservations |
void (empty response body)
- Content-Type: application/json
- Accept: Not defined
Status code | Description | Response headers |
---|---|---|
204 | No Content | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
void DeleteCustomerData (string integrationId)
Delete the personal data of a customer.
Delete all attributes on the customer profile and on entities that reference that customer profile.
using System.Collections.Generic;
using System.Diagnostics;
using TalonOne.Api;
using TalonOne.Client;
using TalonOne.Model;
namespace Example
{
public class DeleteCustomerDataExample
{
public static void Main()
{
Configuration.Default.BasePath = "http://localhost";
// Configure API key authorization: api_key_v1
Configuration.Default.AddApiKey("Authorization", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Configuration.Default.AddApiKeyPrefix("Authorization", "Bearer");
// Configure API key authorization: integration_auth
Configuration.Default.AddApiKey("Content-Signature", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Configuration.Default.AddApiKeyPrefix("Content-Signature", "Bearer");
var apiInstance = new IntegrationApi(Configuration.Default);
var integrationId = integrationId_example; // string | The custom identifier for this profile, must be unique within the account.
try
{
// Delete the personal data of a customer.
apiInstance.DeleteCustomerData(integrationId);
}
catch (ApiException e)
{
Debug.Print("Exception when calling IntegrationApi.DeleteCustomerData: " + e.Message );
Debug.Print("Status Code: "+ e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
integrationId | string | The custom identifier for this profile, must be unique within the account. |
void (empty response body)
- Content-Type: Not defined
- Accept: Not defined
Status code | Description | Response headers |
---|---|---|
204 | No Content | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
CustomerInventory GetCustomerInventory (string integrationId, bool profile = null, bool referrals = null, bool coupons = null)
Get an inventory of all data associated with a specific customer profile.
Get information regarding entities referencing this customer profile's integrationId. Currently we support customer profile information, referral codes and reserved coupons. In the future, this will be expanded with loyalty points.
using System.Collections.Generic;
using System.Diagnostics;
using TalonOne.Api;
using TalonOne.Client;
using TalonOne.Model;
namespace Example
{
public class GetCustomerInventoryExample
{
public static void Main()
{
Configuration.Default.BasePath = "http://localhost";
// Configure API key authorization: api_key_v1
Configuration.Default.AddApiKey("Authorization", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Configuration.Default.AddApiKeyPrefix("Authorization", "Bearer");
// Configure API key authorization: integration_auth
Configuration.Default.AddApiKey("Content-Signature", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Configuration.Default.AddApiKeyPrefix("Content-Signature", "Bearer");
var apiInstance = new IntegrationApi(Configuration.Default);
var integrationId = integrationId_example; // string | The custom identifier for this profile, must be unique within the account.
var profile = true; // bool | optional flag to decide if you would like customer profile information in the response (optional)
var referrals = true; // bool | optional flag to decide if you would like referral information in the response (optional)
var coupons = true; // bool | optional flag to decide if you would like coupon information in the response (optional)
try
{
// Get an inventory of all data associated with a specific customer profile.
CustomerInventory result = apiInstance.GetCustomerInventory(integrationId, profile, referrals, coupons);
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling IntegrationApi.GetCustomerInventory: " + e.Message );
Debug.Print("Status Code: "+ e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
integrationId | string | The custom identifier for this profile, must be unique within the account. | |
profile | bool | optional flag to decide if you would like customer profile information in the response | [optional] |
referrals | bool | optional flag to decide if you would like referral information in the response | [optional] |
coupons | bool | optional flag to decide if you would like coupon information in the response | [optional] |
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | OK | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
InlineResponse200 GetReservedCustomers (string couponValue)
Get the users that have this coupon reserved
Returns all users that have this coupon marked as reserved
using System.Collections.Generic;
using System.Diagnostics;
using TalonOne.Api;
using TalonOne.Client;
using TalonOne.Model;
namespace Example
{
public class GetReservedCustomersExample
{
public static void Main()
{
Configuration.Default.BasePath = "http://localhost";
// Configure API key authorization: api_key_v1
Configuration.Default.AddApiKey("Authorization", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Configuration.Default.AddApiKeyPrefix("Authorization", "Bearer");
// Configure API key authorization: integration_auth
Configuration.Default.AddApiKey("Content-Signature", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Configuration.Default.AddApiKeyPrefix("Content-Signature", "Bearer");
var apiInstance = new IntegrationApi(Configuration.Default);
var couponValue = couponValue_example; // string | The value of a coupon
try
{
// Get the users that have this coupon reserved
InlineResponse200 result = apiInstance.GetReservedCustomers(couponValue);
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling IntegrationApi.GetReservedCustomers: " + e.Message );
Debug.Print("Status Code: "+ e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
couponValue | string | The value of a coupon |
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | OK | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
IntegrationState TrackEvent (NewEvent body, bool dry = null)
Track an Event
Records an arbitrary event in a customer session. For example, an integration might record an event when a user updates their payment information. The sessionId
body parameter is required, an event is always part of a session. Much like updating a customer session, if either the profile or the session do not exist, a new empty one will be created. Note that if the specified session already exists, it must belong to the same profileId
or an error will be returned. As with customer sessions, you can use an empty string for profileId
to indicate that this is an anonymous session. Updating a customer profile will return a response with the full integration state. This includes the current state of the customer profile, the customer session, the event that was recorded, and an array of effects that took place.
using System.Collections.Generic;
using System.Diagnostics;
using TalonOne.Api;
using TalonOne.Client;
using TalonOne.Model;
namespace Example
{
public class TrackEventExample
{
public static void Main()
{
Configuration.Default.BasePath = "http://localhost";
// Configure API key authorization: api_key_v1
Configuration.Default.AddApiKey("Authorization", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Configuration.Default.AddApiKeyPrefix("Authorization", "Bearer");
// Configure API key authorization: integration_auth
Configuration.Default.AddApiKey("Content-Signature", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Configuration.Default.AddApiKeyPrefix("Content-Signature", "Bearer");
var apiInstance = new IntegrationApi(Configuration.Default);
var body = new NewEvent(); // NewEvent |
var dry = true; // bool | Flag to indicate whether to skip persisting the changes or not (Will not persist if set to 'true'). (optional)
try
{
// Track an Event
IntegrationState result = apiInstance.TrackEvent(body, dry);
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling IntegrationApi.TrackEvent: " + e.Message );
Debug.Print("Status Code: "+ e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
body | NewEvent | ||
dry | bool | Flag to indicate whether to skip persisting the changes or not (Will not persist if set to 'true'). | [optional] |
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
201 | Created | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
IntegrationState UpdateCustomerProfile (string integrationId, NewCustomerProfile body, bool dry = null)
Update a Customer Profile
Update (or create) a [Customer Profile][]. This profile information can then be matched and/or updated by campaign [Rules][]. The integrationId
may be any identifier that will remain stable for the customer. For example, you might use a database ID, an email, or a phone number as the integrationId
. It is vital that this ID not change over time, so don't use any identifier that the customer can update themselves. E.g. if your application allows a customer to update their e-mail address, you should instead use a database ID. Updating a customer profile will return a response with the full integration state. This includes the current state of the customer profile, the customer session, the event that was recorded, and an array of effects that took place. [Customer Profile]: /Getting-Started/entities#customer-profile [Rules]: /Getting-Started/entities#campaigns-rulesets-and-coupons
using System.Collections.Generic;
using System.Diagnostics;
using TalonOne.Api;
using TalonOne.Client;
using TalonOne.Model;
namespace Example
{
public class UpdateCustomerProfileExample
{
public static void Main()
{
Configuration.Default.BasePath = "http://localhost";
// Configure API key authorization: api_key_v1
Configuration.Default.AddApiKey("Authorization", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Configuration.Default.AddApiKeyPrefix("Authorization", "Bearer");
// Configure API key authorization: integration_auth
Configuration.Default.AddApiKey("Content-Signature", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Configuration.Default.AddApiKeyPrefix("Content-Signature", "Bearer");
var apiInstance = new IntegrationApi(Configuration.Default);
var integrationId = integrationId_example; // string | The custom identifier for this profile, must be unique within the account.
var body = new NewCustomerProfile(); // NewCustomerProfile |
var dry = true; // bool | Flag to indicate whether to skip persisting the changes or not (Will not persist if set to 'true'). (optional)
try
{
// Update a Customer Profile
IntegrationState result = apiInstance.UpdateCustomerProfile(integrationId, body, dry);
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling IntegrationApi.UpdateCustomerProfile: " + e.Message );
Debug.Print("Status Code: "+ e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
integrationId | string | The custom identifier for this profile, must be unique within the account. | |
body | NewCustomerProfile | ||
dry | bool | Flag to indicate whether to skip persisting the changes or not (Will not persist if set to 'true'). | [optional] |
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | OK | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
CustomerProfileUpdate UpdateCustomerProfileV2 (string customerProfileId, NewCustomerProfile body)
Update a Customer Profile
Update (or create) a [Customer Profile][]. The integrationId
may be any identifier that will remain stable for the customer. For example, you might use a database ID, an email, or a phone number as the integrationId
. It is vital that this ID not change over time, so don't use any identifier that the customer can update themselves. E.g. if your application allows a customer to update their e-mail address, you should instead use a database ID. [Customer Profile]: /Getting-Started/entities#customer-profile
using System.Collections.Generic;
using System.Diagnostics;
using TalonOne.Api;
using TalonOne.Client;
using TalonOne.Model;
namespace Example
{
public class UpdateCustomerProfileV2Example
{
public static void Main()
{
Configuration.Default.BasePath = "http://localhost";
// Configure API key authorization: api_key_v1
Configuration.Default.AddApiKey("Authorization", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Configuration.Default.AddApiKeyPrefix("Authorization", "Bearer");
var apiInstance = new IntegrationApi(Configuration.Default);
var customerProfileId = customerProfileId_example; // string | The custom identifier for this profile, must be unique within the account.
var body = new NewCustomerProfile(); // NewCustomerProfile |
try
{
// Update a Customer Profile
CustomerProfileUpdate result = apiInstance.UpdateCustomerProfileV2(customerProfileId, body);
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling IntegrationApi.UpdateCustomerProfileV2: " + e.Message );
Debug.Print("Status Code: "+ e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
customerProfileId | string | The custom identifier for this profile, must be unique within the account. | |
body | NewCustomerProfile |
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | OK | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
IntegrationState UpdateCustomerSession (string customerSessionId, NewCustomerSession body, bool dry = null)
Update a Customer Session
Update (or create) a [Customer Session][]. For example, the items in a customers cart are part of a session. The Talon.One platform supports multiple simultaneous sessions for the same profile, so if you have multiple ways of accessing the same application you have the option of either tracking multiple independent sessions or using the same session across all of them. You should share sessions when application access points share other state, such as the users cart. If two points of access to the application have independent state (e.g. a user can have different items in their cart across the two) they should use independent customer session ID's. The profileId
parameter in the request body should correspond to an integrationId
for a customer profile, to track an anonymous session use the empty string (\"\"
) as the profileId
. Note that you do not need to create a customer profile first: if the specified profile does not yet exist, an empty profile will be created automatically. Updating a customer profile will return a response with the full integration state. This includes the current state of the customer profile, the customer session, the event that was recorded, and an array of effects that took place. The currency for the session and the cart items in the session is the same as that of the application with which the session is associated. [Customer Session]: /Getting-Started/entities#customer-session
using System.Collections.Generic;
using System.Diagnostics;
using TalonOne.Api;
using TalonOne.Client;
using TalonOne.Model;
namespace Example
{
public class UpdateCustomerSessionExample
{
public static void Main()
{
Configuration.Default.BasePath = "http://localhost";
// Configure API key authorization: api_key_v1
Configuration.Default.AddApiKey("Authorization", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Configuration.Default.AddApiKeyPrefix("Authorization", "Bearer");
// Configure API key authorization: integration_auth
Configuration.Default.AddApiKey("Content-Signature", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Configuration.Default.AddApiKeyPrefix("Content-Signature", "Bearer");
var apiInstance = new IntegrationApi(Configuration.Default);
var customerSessionId = customerSessionId_example; // string | The custom identifier for this session, must be unique within the account.
var body = new NewCustomerSession(); // NewCustomerSession |
var dry = true; // bool | Flag to indicate whether to skip persisting the changes or not (Will not persist if set to 'true'). (optional)
try
{
// Update a Customer Session
IntegrationState result = apiInstance.UpdateCustomerSession(customerSessionId, body, dry);
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling IntegrationApi.UpdateCustomerSession: " + e.Message );
Debug.Print("Status Code: "+ e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
customerSessionId | string | The custom identifier for this session, must be unique within the account. | |
body | NewCustomerSession | ||
dry | bool | Flag to indicate whether to skip persisting the changes or not (Will not persist if set to 'true'). | [optional] |
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | OK | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
IntegrationStateV2 UpdateCustomerSessionV2 (string customerSessionId, IntegrationRequest body, bool dry = null)
Update a Customer Session
Update (or create) a [Customer Session][]. For example, the items in a customers cart are part of a session. The Talon.One platform supports multiple simultaneous sessions for the same profile, so if you have multiple ways of accessing the same application you have the option of either tracking multiple independent sessions or using the same session across all of them. You should share sessions when application access points share other state, such as the users cart. If two points of access to the application have independent state (e.g. a user can have different items in their cart across the two) they should use independent customer session ID's. The profileId
parameter in the request body should correspond to an integrationId
for a customer profile, to track an anonymous session use the empty string (\"\"
) as the profileId
. Note that you do not need to create a customer profile first: if the specified profile does not yet exist, an empty profile will be created automatically. Updating a customer profile will return a response with the requested integration state. This includes the effects that were generated due to triggered campaigns, the created coupons and referral objects, as well as any entity that was requested in the request parameter "responseContent". The currency for the session and the cart items in the session is the same as that of the application with which the session is associated. [Customer Session]: /Getting-Started/entities#customer-session
using System.Collections.Generic;
using System.Diagnostics;
using TalonOne.Api;
using TalonOne.Client;
using TalonOne.Model;
namespace Example
{
public class UpdateCustomerSessionV2Example
{
public static void Main()
{
Configuration.Default.BasePath = "http://localhost";
// Configure API key authorization: api_key_v1
Configuration.Default.AddApiKey("Authorization", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Configuration.Default.AddApiKeyPrefix("Authorization", "Bearer");
var apiInstance = new IntegrationApi(Configuration.Default);
var customerSessionId = customerSessionId_example; // string | The custom identifier for this session, must be unique within the account.
var body = new IntegrationRequest(); // IntegrationRequest |
var dry = true; // bool | Flag to indicate whether to skip persisting the changes or not (Will not persist if set to 'true'). (optional)
try
{
// Update a Customer Session
IntegrationStateV2 result = apiInstance.UpdateCustomerSessionV2(customerSessionId, body, dry);
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling IntegrationApi.UpdateCustomerSessionV2: " + e.Message );
Debug.Print("Status Code: "+ e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
customerSessionId | string | The custom identifier for this session, must be unique within the account. | |
body | IntegrationRequest | ||
dry | bool | Flag to indicate whether to skip persisting the changes or not (Will not persist if set to 'true'). | [optional] |
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | OK | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]