C# Class PureCloudRESTService.WebServicesImplementation

Inheritance: IWebServicesServer
Afficher le fichier Open project: MyPureCloud/BridgeServerSqlRestConnector Class Usage Examples

Private Properties

Свойство 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

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
WebServicesImplementation ( ) : System

Private Methods

Méthode 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 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

WebServicesImplementation() public méthode

public WebServicesImplementation ( ) : System
Résultat System