MAPI Manual

NAME

DELETE_ACCOUNT_BILLRATE

FUNCTION

Delete an account bill rate

SYNOPSIS

action: DELETE_ACCOUNT_BILLRATE
org_id
mcp_channeltype_id
rate_flag

login_name 
login_passwd 
or 
login_name 
session_id 
or 
device_id 

DESCRIPTION

This function can be used to delete an account bill rate of an organisation. Both GET and POST methods can be used to perform the request.

Required Parameters
* action: specifies the requested function. Sets to DELETE_ACCOUNT_BILLRATE.
* org_id: the organization ID.
* mcp_channeltype_id: the channel type. The values are "sms", "voice", "email" or "clicktodial".
* rate_flag: specifies the pattern of the numbers to which the bill rates will be applied. For example, "612%" represents any number beginning with "612". This value needs to be URL encoded.

* login_name: the login name for authenticating the user.
* login_passwd: the login password for authenticating the user.
or
* login_name: the login name for authenticating the user.
* session_id: the session ID for authenticating the user.
or
* device_id: a unique ID of the device. The system can use it as a key to identify users.

RETURN DATA

For each valid request, the server provides a response in XML format.
The response contains the following attributes:
* msg: a string indicating the bill rate has been deleted successfully.

For an invalid request, the response XML contains the following attribute:
* msg: a string containing the error message.

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=DELETE_ACCOUNT_BILLRATE&org_id=10&mcp_channeltype_id=clicktodial&rate_flag=02%25
&device_id=mydemoid

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

TIPS

ENVIRONMENT

AUTHOR

YVN Tech

SEE ALSO

LIST_ORGS

Mweb v2.0 YVNTECH 2014