Youtargets.com API

The Youtargets API is implemented as a PHP page that accepts GET or POST requests and returns JSON or XML.

API clients must hit the URL http://app.youtargets.com/api2.php

All API requests must have a key argument indicating the user, except cmd=login.

Addresses


Methods

MethodExpected parameters

addressList

contactid (type: integer, required: Yes, Contact id)
companyid (type: integer, required: Yes, Company id)

addressView

addressCreate

contactid (type: integer, required: Yes, Contact Id)
companyid (type: integer, required: Yes, Company Id)
street (type: string, required: Yes, Addres Street)
city (type: string, Addres City)
state (type: string, Addres State)
zip (type: string, Addres Zip code)
countryid (type: integer, Country Id (internal))
countrycode (type: string, 2 char Country code)
countryname (type: string, Full Country name)
type (type: string, Address type, allowed values: work, home, other)

addressEdit

id (type: integer, required: Yes, Address Id)
street (type: string, Addres Street)
city (type: string, Addres City)
state (type: string, Addres State)
zip (type: string, Addres Zip code)
countryid (type: integer, Country Id (internal))
countrycode (type: string, 2 char Country code)
countryname (type: string, Full Country name)
type (type: string, Address type, allowed values: work, home, other)

addressDelete

Introduction

Account

Users

Groups

Contacts

Companies

Websites

Emails

Phones

IMs

Addresses

Deals

Cases

Tags

Tasks

Notes

Custom Fields


LISTING

VIEWING

CREATING

MODIFYING

DELETING


Reference Data

API Wrapper (php)