MAPI Manual

NAME

DELETE_GATEWAY

FUNCTION

Delete a gateway

SYNOPSIS

mcp_channeltype_id, mcp_gateway_id

DESCRIPTION

This function allows root users to delete a gateway.

Required Parameters

* action: DELETE_GATEWAY.

* mcp_channeltype_id: channel type of the gateway. Available channel types are:

  • voice,
  • email, 
  • sms, 
  • CHANNELTYPE_LINKACTION, 
  • CHANNELTYPE_TEXT2SPEECH.

* mcp_gateway_id: ID of the gateway that needs to be deleted.

RETURN DATA

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

ROLE PERMITTED

Root

EXAMPLES

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

Request:

http://app02.yvntech.com/MapIHttpS/MapIS?action=DELETE_GATEWAY&mcp_channeltype_id=sms&mcp_gateway_id=250&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