C# Class Sage_One_Authorisation_Client.Contact_Helpers.ContactManager

Datei anzeigen Open project: Sage/sageone_api_csharp_sample Class Usage Examples

Public Methods

Method Description
CreateContact ( string name, string companyName, string email, string telephone, int contactTypeID, string token ) : string
DeleteContact ( string id, string token ) : string
GetContact ( string id, string token ) : ContactToGet
GetContactItemsPerPage ( string token, string page ) : ContactGetHeader
GetContacts ( string token ) : ContactGetHeader
GetContacts ( string token, string emailAddress ) : ContactGetHeader
UpdateContact ( string id, string name, string companyName, string email, string telephone, int contactTypeID, string token ) : string

Method Details

CreateContact() public method

public CreateContact ( string name, string companyName, string email, string telephone, int contactTypeID, string token ) : string
name string
companyName string
email string
telephone string
contactTypeID int
token string
return string

DeleteContact() public method

public DeleteContact ( string id, string token ) : string
id string
token string
return string

GetContact() public method

public GetContact ( string id, string token ) : ContactToGet
id string
token string
return ContactToGet

GetContactItemsPerPage() public method

public GetContactItemsPerPage ( string token, string page ) : ContactGetHeader
token string
page string
return ContactGetHeader

GetContacts() public method

public GetContacts ( string token ) : ContactGetHeader
token string
return ContactGetHeader

GetContacts() public method

public GetContacts ( string token, string emailAddress ) : ContactGetHeader
token string
emailAddress string
return ContactGetHeader

UpdateContact() public method

public UpdateContact ( string id, string name, string companyName, string email, string telephone, int contactTypeID, string token ) : string
id string
name string
companyName string
email string
telephone string
contactTypeID int
token string
return string