C# Class SageOneApi.Requests.SalesRepresentativeRequest

Inheritance: RequestBase, ISalesRepresentativeRequest
Mostra file Open project: Pietervdw/sageone-api-wrapper

Public Methods

Method Description
Delete ( int id ) : bool
Get ( string filter = "", int skip ) : PagingResponse
Get ( int id ) : SalesRepresentative
HasActivity ( int id ) : bool
SalesRepresentativeRequest ( IRestClient client, string apiKey, int companyId ) : System
Save ( SalesRepresentative customer ) : SalesRepresentative

Method Details

Delete() public method

public Delete ( int id ) : bool
id int
return bool

Get() public method

public Get ( string filter = "", int skip ) : PagingResponse
filter string
skip int
return PagingResponse

Get() public method

public Get ( int id ) : SalesRepresentative
id int
return SageOneApi.Models.SalesRepresentative

HasActivity() public method

public HasActivity ( int id ) : bool
id int
return bool

SalesRepresentativeRequest() public method

public SalesRepresentativeRequest ( IRestClient client, string apiKey, int companyId ) : System
client IRestClient
apiKey string
companyId int
return System

Save() public method

public Save ( SalesRepresentative customer ) : SalesRepresentative
customer SageOneApi.Models.SalesRepresentative
return SageOneApi.Models.SalesRepresentative