--------------------------------------------
----            合同撤销终止API           ----
--------------------------------------------

-- 主表
DELETE FROM t_open_apiservice WHERE FID = 1244047370249956352;
INSERT INTO t_open_apiservice(FAPISERVICETYPE,FCUSTOMMETHOD,FOPERATION,FMASTERID,FCONTENTTYPE,FSELECTPARAM,FMUSTPARAM,FCREATETIME,FENABLE,FREQTYPE,FDISABLERID,FBIZOBJECT,FALLOWGUEST,FID,FDISABLEDATE,FURL,FSTATUS,FFILTERPARAM,FNUMBER,FREPTYPE,FMESSAGETYPE,FMODIFIERID,FPLUGIN,FMODIFYTIME,FAPPID,FURLFORMAT,FHTTPMETHOD,FCREATORID) VALUES ('2',' ',' ',1244047370249956352,'0','name,createorg,modifytime',' ',{ts'2018-08-08  00:00:00'},'1',NULL,NULL,' ','0',1244047370249956352,NULL,NULL,'C',' ','fa_lease_undo_termination',NULL,NULL,1,'[{"FPK":"","Type":0,"Description":"租赁合同撤销终止API插件","RowKey":0,"ClassName":"kd.fi.fa.api.lease.LeaseUndoTerminationApiPlugin","DisplayName":"租赁合同撤销终止API插件","Enabled":true,"BizAppId":"","Inherit":false}]',{ts'2018-08-08  00:00:00'},'83bfebc800001aac','/app/fa/fa_lease_undo_termination','1',1);

-- 多语言表
DELETE FROM t_open_apiservice_l WHERE fid = 1244047370249956352;
INSERT INTO t_open_apiservice_l
(fpkid, fid, flocaleid, fdiscription, fname)
VALUES('1WT2WWZYMWOB', 1244047370249956352, 'zh_CN', '租赁合同撤销终止', '租赁合同撤销终止');
INSERT INTO t_open_apiservice_l
(fpkid, fid, flocaleid, fdiscription, fname)
VALUES('1WT2WWZYMWOC', 1244047370249956352, 'zh_TW', '租賃合同撤銷終止', '租賃合同撤銷終止');

-- 请求头
DELETE FROM t_open_apiheaderentry WHERE FENTRYID = 1244231806614556672;
INSERT INTO t_open_apiheaderentry(FID,FHEADERNAME,FENTRYID,FSEQ,FHEADERVALUE,FHEADERDES) VALUES (1244047370249956352,'Content-Type',1244231806614556672,1,'application/json','内容格式');
DELETE FROM t_open_apiheaderentry WHERE FENTRYID = 1244231806614556673;
INSERT INTO t_open_apiheaderentry(FID,FHEADERNAME,FENTRYID,FSEQ,FHEADERVALUE,FHEADERDES) VALUES (1244047370249956352,'accesstoken',1244231806614556673,2,'获取的accesstoken值','请求令牌');

-- 请求体
DELETE FROM t_open_apibodyentry WHERE FENTRYID = 1244045627013327872;
INSERT INTO t_open_apibodyentry(FID,FMUST,FPARAMTYPE,FPARENTENTRYID,FBODYPARAMDES,FEXAMPLE,FENTRYID,FSEQ,FPARAMNAME) VALUES (1244047370249956352,'1','Array',0,' ',' ',1244045627013327872,1,'datas');
DELETE FROM t_open_apibodyentry WHERE FENTRYID = 1244045743119928320;
INSERT INTO t_open_apibodyentry(FID,FMUST,FPARAMTYPE,FPARENTENTRYID,FBODYPARAMDES,FEXAMPLE,FENTRYID,FSEQ,FPARAMNAME) VALUES (1244047370249956352,'1','Long',1244045627013327872,'租赁合同id','1155003796892581888',1244045743119928320,2,'contractId');

-- 返回参数
DELETE FROM t_open_apirespentry WHERE FENTRYID = 1244187161889103872;
INSERT INTO t_open_apirespentry(FID,FRESPPARAMNAME,FRESPPARAMMUST,FRESPPARAMTYPE,FPARENTENTRYID,FENTRYID,FSEQ,FRESPEXAMPLE,FRESPDES) VALUES (1244047370249956352,'message','1','String',0,1244187161889103872,1,'success',' ');
DELETE FROM t_open_apirespentry WHERE FENTRYID = 1244187163264840704;
INSERT INTO t_open_apirespentry(FID,FRESPPARAMNAME,FRESPPARAMMUST,FRESPPARAMTYPE,FPARENTENTRYID,FENTRYID,FSEQ,FRESPEXAMPLE,FRESPDES) VALUES (1244047370249956352,'errorCode','1','String',0,1244187163264840704,2,'success',' ');
DELETE FROM t_open_apirespentry WHERE FENTRYID = 1244187164917391360;
INSERT INTO t_open_apirespentry(FID,FRESPPARAMNAME,FRESPPARAMMUST,FRESPPARAMTYPE,FPARENTENTRYID,FENTRYID,FSEQ,FRESPEXAMPLE,FRESPDES) VALUES (1244047370249956352,'success','1','Boolean',0,1244187164917391360,3,'true',' ');