C# 클래스 IdokladSdk.Clients.ContactClient

Contacts section. Here are described methods for working with agendas contacts. API allows creation of invoice only for already created contacts.
상속: BaseClient
파일 보기 프로젝트 열기: mholec/idoklad-sdk-csharp

공개 메소드들

메소드 설명
Contact ( int contactId ) : Contact

GET api/Contacts/{id} Returns contact by Id.

ContactClient ( ApiContext apiContext ) : IdokladSdk.ApiFilters
ContactExpand ( int contactId ) : ContactExpand

GET api/Contacts/{id}/Expand Returns contact with related entities by contact Id.

Contacts ( Paging paging = null ) : RowsResultWrapper

GET api/Contacts List of contacts.

ContactsExpand ( ContactFilter filter = null ) : RowsResultWrapper

GET api/Contacts/Expand List of contacts with related entities.

Create ( ContactCreate model ) : Contact

POST api/Contacts Add new contact.

Default ( ) : Contact

GET api/Contacts/Default Returns default contact. This resource is suitable for creation of new contact by the POST method.

Delete ( int contactId ) : bool

DELETE api/Contacts/{id} Deletes contact.

Update ( int contactId, ContactUpdate model ) : Contact

PUT api/Contacts/{id} Update contact. Partial update is also possible.

메소드 상세

Contact() 공개 메소드

GET api/Contacts/{id} Returns contact by Id.
public Contact ( int contactId ) : Contact
contactId int
리턴 IdokladSdk.ApiModels.Contact

ContactClient() 공개 메소드

public ContactClient ( ApiContext apiContext ) : IdokladSdk.ApiFilters
apiContext ApiContext
리턴 IdokladSdk.ApiFilters

ContactExpand() 공개 메소드

GET api/Contacts/{id}/Expand Returns contact with related entities by contact Id.
public ContactExpand ( int contactId ) : ContactExpand
contactId int
리턴 IdokladSdk.ApiModels.ContactExpand

Contacts() 공개 메소드

GET api/Contacts List of contacts.
public Contacts ( Paging paging = null ) : RowsResultWrapper
paging IdokladSdk.ApiFilters.Paging
리턴 RowsResultWrapper

ContactsExpand() 공개 메소드

GET api/Contacts/Expand List of contacts with related entities.
public ContactsExpand ( ContactFilter filter = null ) : RowsResultWrapper
filter IdokladSdk.ApiFilters.ContactFilter
리턴 RowsResultWrapper

Create() 공개 메소드

POST api/Contacts Add new contact.
public Create ( ContactCreate model ) : Contact
model IdokladSdk.ApiModels.ContactCreate
리턴 IdokladSdk.ApiModels.Contact

Default() 공개 메소드

GET api/Contacts/Default Returns default contact. This resource is suitable for creation of new contact by the POST method.
public Default ( ) : Contact
리턴 IdokladSdk.ApiModels.Contact

Delete() 공개 메소드

DELETE api/Contacts/{id} Deletes contact.
public Delete ( int contactId ) : bool
contactId int
리턴 bool

Update() 공개 메소드

PUT api/Contacts/{id} Update contact. Partial update is also possible.
public Update ( int contactId, ContactUpdate model ) : Contact
contactId int
model IdokladSdk.ApiModels.ContactUpdate
리턴 IdokladSdk.ApiModels.Contact