C# 클래스 PodioAPI.Services.FormService

파일 보기 프로젝트 열기: podio/podio-dotnet

공개 메소드들

메소드 설명
ActivateForm ( int formId ) : Task

Enables the form with the given id. Only disabled forms can be enabled, which makes it once again possible to create items in the app using the form.

Podio API Reference: https://developers.podio.com/doc/forms/activate-form-1107439

CreateForm ( int appId, FormSettings fromSettings, string domains, List fields, bool attachments ) : Task

Creates a new form on the app.

Podio API Reference: https://developers.podio.com/doc/forms/create-form-53803

DeactivateForm ( int formId ) : Task

Disables the form with given id. This makes it impossible to create new items using the form. Instead, a message about the form being disabled is shown.

Podio API Reference: https://developers.podio.com/doc/forms/deactivate-form-1107378

DeleteFrom ( int formId ) : Task

Deletes the form with the given id.

Podio API Reference: https://developers.podio.com/doc/forms/delete-from-53810

FormService ( Podio currentInstance ) : System.Collections.Generic
GetForm ( int formId ) : Task

Returns the form with the given id.

Podio API Reference: https://developers.podio.com/doc/forms/get-form-53754

GetForms ( int appId ) : Task>

Returns all the active forms on the given app.

Podio API Reference: https://developers.podio.com/doc/forms/get-forms-53771

UpdateForm ( int formId, FormSettings fromSettings, string domains, List fields, bool attachments ) : Task

Updates the form with new settings, domains, fields, etc.

Podio API Reference: https://developers.podio.com/doc/forms/update-form-53808

메소드 상세

ActivateForm() 공개 메소드

Enables the form with the given id. Only disabled forms can be enabled, which makes it once again possible to create items in the app using the form.

Podio API Reference: https://developers.podio.com/doc/forms/activate-form-1107439

public ActivateForm ( int formId ) : Task
formId int
리턴 Task

CreateForm() 공개 메소드

Creates a new form on the app.

Podio API Reference: https://developers.podio.com/doc/forms/create-form-53803

public CreateForm ( int appId, FormSettings fromSettings, string domains, List fields, bool attachments ) : Task
appId int
fromSettings PodioAPI.Models.FormSettings The settings of the form.
domains string The list of domains where the form can be used.
fields List The id and settings for each field.
attachments bool True if attachments are allowed, false otherwise.
리턴 Task

DeactivateForm() 공개 메소드

Disables the form with given id. This makes it impossible to create new items using the form. Instead, a message about the form being disabled is shown.

Podio API Reference: https://developers.podio.com/doc/forms/deactivate-form-1107378

public DeactivateForm ( int formId ) : Task
formId int
리턴 Task

DeleteFrom() 공개 메소드

Deletes the form with the given id.

Podio API Reference: https://developers.podio.com/doc/forms/delete-from-53810

public DeleteFrom ( int formId ) : Task
formId int
리턴 Task

FormService() 공개 메소드

public FormService ( Podio currentInstance ) : System.Collections.Generic
currentInstance Podio
리턴 System.Collections.Generic

GetForm() 공개 메소드

Returns the form with the given id.

Podio API Reference: https://developers.podio.com/doc/forms/get-form-53754

public GetForm ( int formId ) : Task
formId int
리턴 Task

GetForms() 공개 메소드

Returns all the active forms on the given app.

Podio API Reference: https://developers.podio.com/doc/forms/get-forms-53771

public GetForms ( int appId ) : Task>
appId int
리턴 Task>

UpdateForm() 공개 메소드

Updates the form with new settings, domains, fields, etc.

Podio API Reference: https://developers.podio.com/doc/forms/update-form-53808

public UpdateForm ( int formId, FormSettings fromSettings, string domains, List fields, bool attachments ) : Task
formId int
fromSettings PodioAPI.Models.FormSettings The settings of the form.
domains string The list of domains where the form can be used.
fields List The id and settings for each field.
attachments bool True if attachments are allowed, false otherwise.
리턴 Task