MAPI Manual

NAME

START_SERVICE

FUNCTION

Start a service

SYNOPSIS

service_id, start_mode

DESCRIPTION

This function allows users to start a service.

Required Parameters

* action: START_SERVICE.

* service_id: ID of the service.

Optional Parameters

* start_mode: value is either "NORMAL_MODE" or "EXPRESS_MODE". Default is NORMAL_MODE. EXPRESS_MODE will set service end_date to current_datetime + 5 days.

RETURN DATA

The response contains the following attribute:
* msg: Success or error message.

ROLE PERMITTED

Manager

EXAMPLES

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

Request:

http://app02.yvntech.com/MapIHttpS/MapIS?action=START_SERVICE&service_id=625&login_name=user@example.com&login_passwd=1111

Response:

<result tftype='1' infotype='0'>
    <field name='msg'>SUCCESS</field>
</result>

TIPS

ENVIRONMENT

AUTHOR

YVN Tech

SEE ALSO

Mweb v2.0 YVNTECH 2014