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

Inheritance: IWebServicesServer
Show file Open project: MyPureCloud/webservice-datadip-connector-sample Class Usage Examples

Public Methods

Method 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

Method 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 method

public GetAccountByAccountNumber ( AccountNumberRequest req ) : ResponseAccount
req inin.Bridge.WebServices.Datadip.Lib.AccountNumberRequest
return inin.Bridge.WebServices.Datadip.Lib.ResponseAccount

GetAccountByContactId() public method

public GetAccountByContactId ( ContactIdRequest cidr ) : ResponseAccount
cidr inin.Bridge.WebServices.Datadip.Lib.ContactIdRequest
return inin.Bridge.WebServices.Datadip.Lib.ResponseAccount

GetAccountByPhoneNumber() public method

public GetAccountByPhoneNumber ( PhoneNumberRequest req ) : ResponseAccount
req inin.Bridge.WebServices.Datadip.Lib.PhoneNumberRequest
return inin.Bridge.WebServices.Datadip.Lib.ResponseAccount

GetContactByPhoneNumber() public method

public GetContactByPhoneNumber ( PhoneNumberRequest req ) : ResponseContact
req inin.Bridge.WebServices.Datadip.Lib.PhoneNumberRequest
return inin.Bridge.WebServices.Datadip.Lib.ResponseContact

GetMostRecentOpenCaseByContactId() public method

public GetMostRecentOpenCaseByContactId ( ContactIdRequest cidr ) : ResponseCase
cidr inin.Bridge.WebServices.Datadip.Lib.ContactIdRequest
return inin.Bridge.WebServices.Datadip.Lib.ResponseCase

SampleWebServicesImplementation() public method

public SampleWebServicesImplementation ( string filePath ) : System
filePath string
return System