0% found this document useful (0 votes)
15 views6 pages

Webservice Interface: Technical Specification, Version 1.1 August 2011

This document provides technical specifications for a web service interface for sending SMS messages, including: 1. The URL for the web service and description of its purpose for sending SMS messages from VHT Corp. 2. Details on two functions - sendSms to send a standard SMS and sendSmsFlash to send a flash SMS, along with parameters for each. 3. A list of 15 possible error codes and their descriptions that could be returned.

Uploaded by

Quan Ta
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
15 views6 pages

Webservice Interface: Technical Specification, Version 1.1 August 2011

This document provides technical specifications for a web service interface for sending SMS messages, including: 1. The URL for the web service and description of its purpose for sending SMS messages from VHT Corp. 2. Details on two functions - sendSms to send a standard SMS and sendSmsFlash to send a flash SMS, along with parameters for each. 3. A list of 15 possible error codes and their descriptions that could be returned.

Uploaded by

Quan Ta
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 6

Webservice Interface

Technical Specification, Version 1.1


August 2011

History
Date

Version

Aug 01, 2011

1.1

Description

Author
Tran Tuan Kiet

Content
1.

Link webservice .................................................................................................................................... 4

2.

Functions ............................................................................................................................................... 4
2.1.

Send SMS message ....................................................................................................................... 4

2.2.

Send SMS message flash .............................................................................................................. 4

2.3.

Error codes .................................................................................................................................... 6

1. Link webservice
Description
URL

Detail

Note

http://bc.vht.com.vn:8440/vht/services/sms?wsdl

URL webservice use for send SMS


of VHT Corp

2. Functions
2.1.

Send SMS message


Purpose : Send SMS messages.

sendSms(String code, String account, String phone, String from,


String sms)
Parameter

Condition

Description

code

Customers / Partnes code


(VHT provide)

account

Customers / Partnes code


(VHT provide)

phone

Prefix is 84

Recipient

from

Max is 11 character

Shortcode / Brand Name

sms

Max is 480 character

Message content

Return : type integer

2.2.

Send SMS message flash


Purpose : Send SMS messages flash.

sendSmsFlash(String code, String account, String phone, String from,


String sms)
Parameter

Condition

Description

code

Customers / Partnes code


(VHT provide)

account

Customers / Partnes code

(VHT provide)
phone

Prefix is 84

Recipient

from

Max is 11 character

Shortcode / Brand Name

sms

Max is 480 character

Message content

Return : type integer

2.3.

Error codes
Results_Code
>= 0

Description
success

Error system

-1

Account wrong

-2

Passcode wrong

-3

Out of quota

-4

Not enough params

-5

Recipient invalid

-6

Error message

-7

Error BrandName

-8

Ip address Invalid

-9

BrandName not register

-10

Recipient not receiver SMS message

-11

User postpaid

-12

BrandName has existed in system

-13

Ip has existed in system

-14

Out of Brandname

-15

Not support telco

-17

Account invalid

You might also like