Skip to content

liblaber/voyado-engage-2.0.0-csharp-1.0.0

Repository files navigation

VoyadoEngage C# SDK 1.0.0

Welcome to the VoyadoEngage SDK documentation. This guide will help you get started with integrating and using the VoyadoEngage SDK in your project.

Versions

  • API version: v2
  • SDK version: 1.0.0

About the API

The Voyado Engage API enables developers to interact with Voyado's customer experience platform, allowing for the management and personalization of marketing efforts.

Table of Contents

Setup & Configuration

Supported Language Versions

This SDK is compatible with the following versions: C# >= .NET 6

Installation

To get started with the SDK, we recommend installing using nuget:

dotnet add package VoyadoEngage

Authentication

Access Token Authentication

The VoyadoEngage API uses an Access Token for authentication.

This token must be provided to authenticate your requests to the API.

Setting the Access Token

When you initialize the SDK, you can set the access token as follows:

using VoyadoEngage;
using VoyadoEngage.Config;

var config = new VoyadoEngageConfig()
{
	AccessToken = "YOUR_ACCESS_TOKEN"
};

var client = new VoyadoEngageClient(config);

If you need to set or update the access token after initializing the SDK, you can use:

client.SetAccessToken("YOUR_ACCESS_TOKEN")

Sample Usage

Below is a comprehensive example demonstrating how to authenticate and call a simple endpoint:

using VoyadoEngage;
using VoyadoEngage.Config;
using Environment = VoyadoEngage.Http.Environment;

var config = new VoyadoEngageConfig
{
  Environment = Environment.Default,
AccessToken = "YOUR_ACCESS_TOKEN"
};

var client = new VoyadoEngageClient(config);

var response = await client.Achievements.AchievementsGetAllAchievementsAsync(8, 2);

Console.WriteLine(response);

Services

The SDK provides various services to interact with the API.

Below is a list of all available services with links to their detailed documentation:
Name
AchievementsService
AutomationService
BisnodeService
BonuschecksService
ChallengesService
ConsentsService
ContactoverviewService
ContactsService
InteractionsService
InteractionschemasService
InventoryService
MemberstatusService
OrdersService
PersonlookupService
PointAccountsService
PosoffersService
PromotionsService
SmsService
StoresService
TargetAudiencesService
TrackingService
TransactionsService

Models

The SDK includes several models that represent the data structures used in API requests and responses. These models help in organizing and managing the data efficiently.

Below is a list of all available models with links to their detailed documentation:
Name Description
ApiAchievementValue
PagedResultOfApiAchievementDefinition
EnrichmentVariableGroup Grouped BCI enrichment varioables
PagedResultOfAllBonusCheckModel
PagedResultOfRedeemedBonusCheckModel
PagedResultOfAvailableBonusCheckModel
RedeemedBonusCheckModel
ChallengeAssignmentModel
ChallengeDefinitionModel
ChallengeDefinitionModelsResult
ChallengeGetChallengeDefinitionsStatus
ChallengeAssignmentModelsResult
ChallengeGetChallengesFilter
ChallengeCheckPointDto
AddCheckpointToChallengeAssignmentResult
ApiConsentDefinition
IApiContact
ProductRecommendationsModel
PurchaseHistorySummary
ListResultOfApiMessage
PagedResultOfApiMessage
PagedResultOfTransactionItem
PagedResultOfBonusPointTransactionModel
ChangeType
ApiPromotionModel
BoolRequest
ApiAdjustRewardPoints
ApiAdjustRewardPointsResponse
RedeemBodyModel
InteractionModel
InteractionPage
InteractionCreateResponse
InteractionSchemaWithoutJsonModel
InteractionSchemaResponse
InteractionSchemaModel
StockLevelRequest
SubscriptionRequest
SubscriptionResponse
MemberStatusModel
Order
StatusCodeResult
ContactSearchResult
PointAccountModel
PointDefinitionModel
PointTransactionModel
PointAccountModelsResult
PointTransactionModelsResult
PointAccountPointTransactions2Filter
PointTransactionToAccount
PointTransactionToAccountResultModel
PagedResultOfAllLoyaltyBarClaimModel
PagedResultOfAvailableLoyaltyBarClaimModel
RedeemedLoyaltyBarClaimModel
MultichannelPromotionModel
PromotionValidityModel Following class holds the duration information for a promotion. The this object uses to set and get the duration of a promotion.
MultichannelBasePromotionModel
SendSmsRequest
SendSmsResponse
ApiStore
IdName
CartApiModel Cart model
OkResult
ProductViewApiModel
Receipt
ImportTransactionsObject
ApiAchievementDefinition
EnrichmentVariable An enrichment value for a certain BCI variable
AllBonusCheckModel
AvailableBonusCheckModel
IHypermediaLink
IApiConsent
ApiMessage
TransactionItem
BonusPointTransactionModel
ApiPromotionRedemptionChannelModel
HypermediaLink
InteractionCreateResponseSelf
InteractionSchemaResponseSelf
OrderContact
TaxDetail
OrderPaymentMethod
OrderItem
OrderFee
OrderItemDiscount
UnregisteredFromOnlineRegisterInformation
AllLoyaltyBarClaimModel
AvailableLoyaltyBarClaimModel
PromotionBasicPresentationModel Following object is for get/set the presentational side of the promotion. This data uses to displey in different kind of views, for an example in Email messages etc. This fields populates the "Presentation" section in the admin UI.
MultichannelPromotionRedemptionChannelModel
AssignDateRange The validity time of the promotion set when assignment occured
CartItemApiModel Cart item model
Utm
ReceiptContact
ReceiptTaxDetail
ReceiptPaymentMethod
ReceiptItem
ReceiptUsedBonusCheck
ReceiptUsedPromotion
ReceiptExtraDataItem
ReceiptItemDiscount

License

This SDK is licensed under the MIT License.

See the LICENSE file for more details.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages