C# Class PureCloudRESTService.WebServicesImplementation

Inheritance: IWebServicesServer
Datei anzeigen Open project: MyPureCloud/BridgeServerSqlRestConnector Class Usage Examples

Private Properties

Property Type Description
SQLGetAccount inin.Bridge.WebServices.Datadip.Lib.Account
SQLGetContact inin.Bridge.WebServices.Datadip.Lib.Contact
getAddress inin.Bridge.WebServices.Datadip.Lib.Address
getEmails inin.Bridge.WebServices.Datadip.Lib.EmailAddresses
getPhoneNumbers inin.Bridge.WebServices.Datadip.Lib.PhoneNumbers
readFromFile string

Public Methods

Method Description
GetAccountByAccountNumber ( AccountNumberRequest req ) : ResponseAccount
GetAccountByContactId ( ContactIdRequest cidr ) : ResponseAccount
GetAccountByPhoneNumber ( PhoneNumberRequest req ) : ResponseAccount
GetContactByPhoneNumber ( PhoneNumberRequest req ) : ResponseContact
GetMostRecentOpenCaseByContactId ( ContactIdRequest cidr ) : ResponseCase
WebServicesImplementation ( ) : System

Private Methods

Method Description
SQLGetAccount ( string query ) : Account
SQLGetContact ( string query ) : Contact
getAddress ( System.Data.SqlClient.SqlDataReader reader, List fields ) : Address
getEmails ( System.Data.SqlClient.SqlDataReader reader, int count, List mappings ) : EmailAddresses
getPhoneNumbers ( System.Data.SqlClient.SqlDataReader reader, int count, List mappings ) : PhoneNumbers
readFromFile ( string filePath ) : string

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

WebServicesImplementation() public method

public WebServicesImplementation ( ) : System
return System