You are on page 1of 9

Web Service

7 Service ,


, , ,



Parameter
covernoteNo /

15001117919304
-0011179193
-04 /
lotNo


Covernote

15001117919304
Lot 1701 15001117919304
01 2017
Lot 1702 15001117919304
02 2017
requestNo Request

ws_status

1 =
2 =
ws_result ws_status

ws_status = 1 Success , Incorrect username or

password
ws_status = 2 Null.Pointer.Exception()

,Index.out.Of.Bound();

lang
TH EN
Service :
1.
Service
Parameter :


Paramete
r
polNo VARCHAR(2 001D/PT51-
0) 16-015546



covernote VARCHAR(1 15001117919
No 4) 304
/

Require
titleName VARCHAR(1
00)
firstName VARCHAR(1
00)
lastName VARCHAR(1
00)
address VARCHAR(3
00)



amphur VARCHAR(1
00)
changwat VARCHAR(1
00)
postcode VARCHAR(1 10330
0)
taxId VARCHAR(2 77835156861
0) , 43

endroseD VARCHAR(2

etail 000)
branchNo INTEGER 1
agentCod VARCHAR(4 6311
e )
effDate DATE 28/08/2017
expDate DATE
28/08/2018
productId VARCHAR(2 / 7
)
riskBuy INTEGER 2000
riskPrice
DECIMAL(1 / 25
2, 2)
riskFree INTEGER 100

grossPrm DECIMAL(1 50000.00
m 2, 2)
lang VARCHAR(2 TH
)
createBy VARCHAR(1 User narumon
00)

:
Respond


Respond
requestNo INTEGER Request 3280

covernote VARCHAR(1 Covernote 1500111791
No 4) 9307
lotNo VARCHAR(4 Lot 1701
)
urlPolicy http://www.t
haiins.com/t
(PDF a/download/
+ +W policy_path/
ording) 3280.pdf
urlBillPaym Bill Payment http://www.t
ent
FTP haiins.com/
(PDF Bill Payment) ta/download
/billpayment
_path/3280.
pdf
urlReceipt
FTP http://www.t
(PDF ) haiins.com/
ta/download
/receipt_pat
h/3280.pdf
urlTaxinvoi
FTP http://www.t
ce (PDF ) haiins.com/
ta/download
/taxinvoice_
path/3280.p
df
urlAllFile
FTP http://www.t
haiins.com/
ta/download
/allfile
/3280.zip
ws_status INTEGER Request 2

1 =
2 =
( Error )
ws_result
VARCHAR(1 Null.Pointer.
00) ws_status Exception();

2.

Service
:
Parameter


Parameter
covernoteNo VARCHAR(14) Covernote 15001117919307
lotNo VARCHAR(4) Lot 1701
createBy VARCHAR(100) User narumon

:
Respond


Respond
requestN INTEGER Request 3283
o

polNo VARCHAR(20) 001D/PT51
-16-015546
ws_status INTEGER 1
Request
1 =
2 =
( Error )

ws_result VARCHAR(10 Success
0) ws_status
3.

Parameter :


Paramete
r
covernote VARCHAR(1 15001117919307
No 4) Covernote
lotNo VARCHAR(4 1701
Lot
)
polNo VARCHAR(2 001D/PT51-16-015546
0)
asNo VARCHAR(1 AS AS-17-0947
1)
riskNo INTEGER
20

effDate DATE
28/08/2016
expDate DATE
31/08/2016

place VARCHAR(1
00)
urlNameLi http://www.ptninsurancebr
st oker.com/download
/namelist / AS-17-0947/
createBy VARCHAR(1 User narumon
00)
totalBefo INTEGER 60
re
createBy
VARCHAR(1 pornsawan
00) webservice

:
Respond


Respond
requestN INTEGER Request 3283
o

urlStampL http://www.thaiins.
ist com/ ta/download
/stamplist / AS-17-
0947/
ws_status INTEGER 1
Request
1 =
2 =

( Error
)
ws_result Success
VARCHAR(1
00) ws_status

4.
Service ( Service 1
)
Parameter :


Parameter
requestNo INTEGER Request 3280

createBy VARCHAR(100) webservice pornsawan

:
Respond


Respond
ws_status INTEGER 1
Request
1 =

2 =

( Error
)
ws_result Success
VARCHAR(100
) ws_status
covernoteN VARCHAR(14) Covernote 1500111791930
o 7
lotNo VARCHAR(4)
Lot 1701

Service ( Service
3 )
Parameter :


Paramete
r
requestNo INTEGER Request 3281



createBy VARCHAR(100 webservice pornsawan
)

:
Respond


Respond
ws_status INTEGER 1
Request
1 =

2 =

( Error
)
ws_result Success
VARCHAR(100
) ws_status
covernoteN VARCHAR(14) Covernote 1500111791930
o 7
lotNo VARCHAR(4)
Lot 1701
totalBefor INTEGER 100
e

You might also like