C# Class inin.Bridge.WebServices.Datadip.Impl.SampleWebServicesImplementation

Inheritance: IWebServicesServer
Afficher le fichier Open project: MyPureCloud/webservice-datadip-connector-sample Class Usage Examples

Méthodes publiques

Méthode Description
GetAccountByAccountNumber ( AccountNumberRequest req ) : ResponseAccount
GetAccountByContactId ( ContactIdRequest cidr ) : ResponseAccount
GetAccountByPhoneNumber ( PhoneNumberRequest req ) : ResponseAccount
GetContactByPhoneNumber ( PhoneNumberRequest req ) : ResponseContact
GetMostRecentOpenCaseByContactId ( ContactIdRequest cidr ) : ResponseCase
SampleWebServicesImplementation ( string filePath ) : System

Private Methods

Méthode Description
HasPhoneNumber ( List phoneList, string phoneNumber ) : bool
digitsOnly ( String phoneNumber ) : string
importAccounts ( string filePath ) : void
importCases ( string filePath ) : void
importContacts ( string filePath ) : void
importRelationships ( string filePath ) : void
readFromFile ( string filePath ) : string
reload ( string filePath ) : void

Method Details

GetAccountByAccountNumber() public méthode

public GetAccountByAccountNumber ( AccountNumberRequest req ) : ResponseAccount
req inin.Bridge.WebServices.Datadip.Lib.AccountNumberRequest
Résultat inin.Bridge.WebServices.Datadip.Lib.ResponseAccount

GetAccountByContactId() public méthode

public GetAccountByContactId ( ContactIdRequest cidr ) : ResponseAccount
cidr inin.Bridge.WebServices.Datadip.Lib.ContactIdRequest
Résultat inin.Bridge.WebServices.Datadip.Lib.ResponseAccount

GetAccountByPhoneNumber() public méthode

public GetAccountByPhoneNumber ( PhoneNumberRequest req ) : ResponseAccount
req inin.Bridge.WebServices.Datadip.Lib.PhoneNumberRequest
Résultat inin.Bridge.WebServices.Datadip.Lib.ResponseAccount

GetContactByPhoneNumber() public méthode

public GetContactByPhoneNumber ( PhoneNumberRequest req ) : ResponseContact
req inin.Bridge.WebServices.Datadip.Lib.PhoneNumberRequest
Résultat inin.Bridge.WebServices.Datadip.Lib.ResponseContact

GetMostRecentOpenCaseByContactId() public méthode

public GetMostRecentOpenCaseByContactId ( ContactIdRequest cidr ) : ResponseCase
cidr inin.Bridge.WebServices.Datadip.Lib.ContactIdRequest
Résultat inin.Bridge.WebServices.Datadip.Lib.ResponseCase

SampleWebServicesImplementation() public méthode

public SampleWebServicesImplementation ( string filePath ) : System
filePath string
Résultat System