MAPI Manual

NAME

GET_CONTACT

FUNCTION

Get a contact from a contact book

SYNOPSIS

contactbook_id, contact_id

DESCRIPTION

This function allows users to get a contact from a contact book.

Required Parameters

* action: GET_CONTACT.
* contactbook_id: ID of the contact book.
* contact_id: ID of the contact.

RETURN DATA

The response contains the column name-value pairs of the contact.

ROLE PERMITTED

Manager

EXAMPLES

The following example shows a successful HTTP GET request and response.

Request:
http://app02.yvntech.com/MapIHttpS/MapIS?action=GET_CONTACT&contactbook_id=1&contact_id=2&login_name=user@example.com&login_passwd=1111

Response:
<result tftype='1' infotype='0'>
    <field name='name'>steven</field>
    <field name='mobile'>+61400000000</field>
    <field name='email'>steven@example.com</field>
</result>

TIPS

ENVIRONMENT

AUTHOR

YVN Tech

SEE ALSO

GET_CONTACT_FROMCONTACTGROUP

Mweb v2.0 YVNTECH 2014