NAME

WebService::Desk - WebService::Desk - an interface to desk.com's RESTful Web API using Web::API

VERSION

version 0.5

SYNOPSIS

Please refer to the API documentation at http://dev.desk.com/docs/api

use WebService::Desk;

my $desk = WebService::Desk->new(
    debug   => 1,
    api_key => '12345678-9abc-def0-1234-56789abcdef0',
);

my $response = $desk->create_interaction(
    subject      => "h4x0r",
    from_email   => "mail@example.com",
    text         => "what zee fug",
    track_opens  => 1,
    track_clicks => 1,
    to => [
        { email => 'mail@example.com' }
    ],
);

SUBROUTINES/METHODS

article

articles

create_article

update_article

delete_article

search_article

article_translations

article_translation

create_article_translation

update_article_translation

cases

case

search_case

create_case

update_case

history

message

replies

reply

create_reply

update_reply

notes

note

create_note

attachments

attachment

message_attachment

reply_attachment

create_attachment

create_message_attachment

create_reply_attachment

delete_attachment

delete_message_attachment

delete_reply_attachment

companies

company

create_company

update_company

custom_fields

custom_field

customers

customer

search_customer

create_customer

update_customer

filters

filter

filter_cases

groups

group

group_filters

group_users

mailboxes

mailbox

insight_meta

create_report

integration_urls

integration_url

create_integration_url

update_integration_url

delete_integration_url

jobs

job

create_job

labels

label

create_label

update_label

delete_label

macros

macro

create_macro

update_macro

delete_macro

actions

action

update_action

rules

rule

site_settings

site_setting

system_message

topics

topic

create_topic

update_topic

delete_topic

topic_translations

topic_translation

create_topic_translation

update_topic_translation

delete_topic_translation

twitter_accounts

twitter_account

tweets

tweet

create_tweet

users

user

user_preferences

user_preference

update_user_preference

INTERNALS

BUILD

basic configuration for the client API happens usually in the BUILD method when using Web::API

BUGS

Please report any bugs or feature requests on GitHub's issue tracker https://github.com/nupfel/WebService-Desk/issues.

SUPPORT

You can find documentation for this module with the perldoc command.

perldoc WebService::Desk

You can also look for information at:

AUTHOR

Tobias Kirschstein <lev@cpan.org>

COPYRIGHT AND LICENSE

This software is Copyright (c) 2013 by Tobias Kirschstein.

This is free software, licensed under:

The (three-clause) BSD License