C# Class PodioAPI.Services.TagService

Mostrar archivo Open project: podio/podio-dotnet

Public Methods

Method Description
CreateTags ( string refType, int refId, List tags ) : Task

Adds additional tags to the object. If a tag with the same text is already present, the tag will be ignored. Existing tags on the object are preserved.

Podio API Reference: https://developers.podio.com/doc/tags/create-tags-22464

GetObjectsOnAppWithTag ( int appId, string text ) : Task>

Returns the objects that are tagged with the given text on the app. The objects are returned sorted descending by the time the tag was added.

Podio API Reference: https://developers.podio.com/doc/tags/get-objects-on-app-with-tag-22469

GetObjectsOnOrganizationWithTag ( int orgId, string text ) : Task>

Returns the objects that are tagged with the given text on the organization. The objects are returned sorted descending by the time the tag was added.

Podio API Reference: https://developers.podio.com/doc/tags/get-objects-on-organization-with-tag-48478

GetObjectsOnSpaceWithTag ( int spaceId, string text ) : Task>

Returns the objects that are tagged with the given text on the space. The objects are returned sorted descending by the time the tag was added.

Podio API Reference: https://developers.podio.com/doc/tags/get-objects-on-space-with-tag-22468

GetTagsOnApp ( int appId, int limit = null, string text = null ) : Task>

Returns the tags on the given app. This includes only items. The tags are first limited ordered by their frequency of use, and then returned sorted alphabetically.

Podio API Reference: https://developers.podio.com/doc/tags/get-tags-on-app-22467

GetTagsOnAppTop ( int appId, int limit = null, string text = null ) : Task>

Returns the top tags on the app.

Podio API Reference: https://developers.podio.com/doc/tags/get-tags-on-app-top-68485

GetTagsOnOrganization ( int orgId, int limit = null, string text = null ) : Task>

Returns the tags on the given org. This includes both items and statuses on all spaces in the organization that the user is part of. The tags are first limited ordered by their frequency of use, and then returned sorted alphabetically.

Podio API Reference: https://developers.podio.com/doc/tags/get-tags-on-organization-48473

GetTagsOnSpace ( int spaceId, int limit = null, string text = null ) : Task>

Returns the tags on the given space. This includes both items and statuses. The tags are first limited ordered by their frequency of use, and then returned sorted alphabetically.

Podio API Reference: https://developers.podio.com/doc/tags/get-tags-on-space-22466

RemoveTag ( string refType, int refId, string text ) : Task

Removes a single tag from an object.

Podio API Reference: https://developers.podio.com/doc/tags/remove-tag-22465

TagService ( Podio currentInstance ) : System.Collections.Generic
UpdateTags ( string refType, int refId, List tags ) : Task

Updates the tags on the given object. Existing tags on the object will be overwritten. Use Create Tags operation to preserve existing tags.

Podio API Reference: https://developers.podio.com/doc/tags/update-tags-39859

Method Details

CreateTags() public method

Adds additional tags to the object. If a tag with the same text is already present, the tag will be ignored. Existing tags on the object are preserved.

Podio API Reference: https://developers.podio.com/doc/tags/create-tags-22464

public CreateTags ( string refType, int refId, List tags ) : Task
refType string
refId int
tags List
return Task

GetObjectsOnAppWithTag() public method

Returns the objects that are tagged with the given text on the app. The objects are returned sorted descending by the time the tag was added.

Podio API Reference: https://developers.podio.com/doc/tags/get-objects-on-app-with-tag-22469

public GetObjectsOnAppWithTag ( int appId, string text ) : Task>
appId int
text string The tag to search for.
return Task>

GetObjectsOnOrganizationWithTag() public method

Returns the objects that are tagged with the given text on the organization. The objects are returned sorted descending by the time the tag was added.

Podio API Reference: https://developers.podio.com/doc/tags/get-objects-on-organization-with-tag-48478

public GetObjectsOnOrganizationWithTag ( int orgId, string text ) : Task>
orgId int
text string
return Task>

GetObjectsOnSpaceWithTag() public method

Returns the objects that are tagged with the given text on the space. The objects are returned sorted descending by the time the tag was added.

Podio API Reference: https://developers.podio.com/doc/tags/get-objects-on-space-with-tag-22468

public GetObjectsOnSpaceWithTag ( int spaceId, string text ) : Task>
spaceId int
text string
return Task>

GetTagsOnApp() public method

Returns the tags on the given app. This includes only items. The tags are first limited ordered by their frequency of use, and then returned sorted alphabetically.

Podio API Reference: https://developers.podio.com/doc/tags/get-tags-on-app-22467

public GetTagsOnApp ( int appId, int limit = null, string text = null ) : Task>
appId int
limit int The maximum number of tags to return.
text string The tag to search for.
return Task>

GetTagsOnAppTop() public method

Returns the top tags on the app.

Podio API Reference: https://developers.podio.com/doc/tags/get-tags-on-app-top-68485

public GetTagsOnAppTop ( int appId, int limit = null, string text = null ) : Task>
appId int
limit int The maximum number of tags to return
text string The tag to search for
return Task>

GetTagsOnOrganization() public method

Returns the tags on the given org. This includes both items and statuses on all spaces in the organization that the user is part of. The tags are first limited ordered by their frequency of use, and then returned sorted alphabetically.

Podio API Reference: https://developers.podio.com/doc/tags/get-tags-on-organization-48473

public GetTagsOnOrganization ( int orgId, int limit = null, string text = null ) : Task>
orgId int
limit int The maximum number of tags to return
text string The tag to search for
return Task>

GetTagsOnSpace() public method

Returns the tags on the given space. This includes both items and statuses. The tags are first limited ordered by their frequency of use, and then returned sorted alphabetically.

Podio API Reference: https://developers.podio.com/doc/tags/get-tags-on-space-22466

public GetTagsOnSpace ( int spaceId, int limit = null, string text = null ) : Task>
spaceId int
limit int The maximum number of tags to return
text string The tag to search for
return Task>

RemoveTag() public method

Removes a single tag from an object.

Podio API Reference: https://developers.podio.com/doc/tags/remove-tag-22465

public RemoveTag ( string refType, int refId, string text ) : Task
refType string
refId int
text string The tag to search for
return Task

TagService() public method

public TagService ( Podio currentInstance ) : System.Collections.Generic
currentInstance Podio
return System.Collections.Generic

UpdateTags() public method

Updates the tags on the given object. Existing tags on the object will be overwritten. Use Create Tags operation to preserve existing tags.

Podio API Reference: https://developers.podio.com/doc/tags/update-tags-39859

public UpdateTags ( string refType, int refId, List tags ) : Task
refType string
refId int
tags List
return Task