MAPI Manual

NAME

ADD_ORG

FUNCTION

Add an organisation

SYNOPSIS

DESCRIPTION

This function can be used to add an organisation.

Required Parameters

* action: ADD_ORG.
* db_partition_id: partition ID of the database in which the organisation will be stored. For more information about the list of partitions, see LIST_DBPS.
* org_id: a unique ID for the organisation.
* org_name: name of the organisation.

Optional Parameters

* language_id: language ID. For more information about the list of languages, see LIST_LANGUAGES.
* org_description: description of the organisation.
* office_address_1: office address.
* office_address_2: office address.
* office_suburb: office suburb.
* office_state: office state.
* office_post_code: office postcode.
* office_phone_number: office phone number.
* office_fax_number: office fax number.
* abn_acn: ABN/ACN of the organisation.
* web_site: website of the organisation.
* account_email_address: email address of the organisation.
* postal_address_1: postal address.
* postal_address_2: postal address.
* postal_suburb: postal suburb.
* postal_state: postal state.
* postal_post_code: postal postcode.

* mcp_integration_partner_id: partner ID of the organisation.

RETURN DATA

The response contains the following attribute:
* org_id: ID of the new organisation.

ROLE PERMITTED

Account manager, Root

EXAMPLES

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

Request:

http://app02.yvntech.com/MapIHttpS/MapIS?action=ADD_ORG&db_partition_id=1&org_id=9005&org_name=Org9005&login_name=AccountManager%40example.com&login_passwd=1111

Response:

<result tftype='1' infotype='0'>
    <field name='org_id'>30</field>
</result>

TIPS

ENVIRONMENT

AUTHOR

YVN Tech

SEE ALSO

LIST_DBPS

Mweb v2.0 YVNTECH 2014