C# 클래스 SageOneApi.Requests.CategoryRequest

상속: RequestBase, ICategoryRequest
파일 보기 프로젝트 열기: Pietervdw/sageone-api-wrapper

공개 메소드들

메소드 설명
CategoryRequest ( IRestClient client, string apiKey, int companyId ) : System
Delete ( int id, System.Enums categoryType ) : bool
Get ( int id, System.Enums categoryType ) : Category
Get ( System.Enums categoryType, string filter = "", int skip ) : PagingResponse
Save ( Category category, System.Enums categoryType ) : Category

메소드 상세

CategoryRequest() 공개 메소드

public CategoryRequest ( IRestClient client, string apiKey, int companyId ) : System
client IRestClient
apiKey string
companyId int
리턴 System

Delete() 공개 메소드

public Delete ( int id, System.Enums categoryType ) : bool
id int
categoryType System.Enums
리턴 bool

Get() 공개 메소드

public Get ( int id, System.Enums categoryType ) : Category
id int
categoryType System.Enums
리턴 SageOneApi.Models.Category

Get() 공개 메소드

public Get ( System.Enums categoryType, string filter = "", int skip ) : PagingResponse
categoryType System.Enums
filter string
skip int
리턴 PagingResponse

Save() 공개 메소드

public Save ( Category category, System.Enums categoryType ) : Category
category SageOneApi.Models.Category
categoryType System.Enums
리턴 SageOneApi.Models.Category