
-- API服务（历史）
DELETE FROM T_OPEN_APISERVICE WHERE FID = 1692793711525831680;
DELETE FROM T_OPEN_APISERVICE WHERE fnumber='deduction' and fappid='0QHC8968SM1T';
INSERT INTO T_OPEN_APISERVICE(FID,FAPISERVICETYPE,FCUSTOMMETHOD,FOPERATION,FURL,FMASTERID,FSTATUS,FCONTENTTYPE,FREPTYPE,FNUMBER,FCREATETIME,FMODIFIERID,FENABLE,FPLUGIN,FMODIFYTIME,FAPPID,FURLFORMAT,FHTTPMETHOD,FCREATORID,FREQTYPE,FALLOWGUEST,FBIZOBJECT) VALUES (1692793711525831680,'2',' ',' ',NULL,1692793711525831680,'C','0',NULL,'deduction',{ts'2023-05-25  00:00:00'},1625959930576423936,'1','[{"FPK":"","Type":0,"Description":"","RowKey":0,"ClassName":"kd.imc.rim.formplugin.message.fpdk.DeductReceivePlugin","DisplayName":"","Enabled":true,"BizAppId":""}]',{ts'2023-05-25  00:00:00'},'0QHC8968SM1T','/app/rim/deduction','1',1,NULL,'0',' ');


-- API服务（历史）·多语言表
DELETE FROM T_OPEN_APISERVICE_L WHERE FPKID = '3=Y/7W8DRX=P';
INSERT INTO T_OPEN_APISERVICE_L(FID,FDISCRIPTION,FPKID,FLOCALEID,FNAME) VALUES (1692793711525831680,' ','3=Y/7W8DRX=P','zh_CN','抵扣业务接口');

-- 请求头单据体
DELETE FROM T_OPEN_APIHEADERENTRY WHERE FENTRYID = 1692794731387626496;
INSERT INTO T_OPEN_APIHEADERENTRY(FID,FHEADERNAME,FENTRYID,FSEQ,FHEADERVALUE,FHEADERDES) VALUES (1692793711525831680,'Content-Type',1692794731387626496,1,'application/json','内容格式');
DELETE FROM T_OPEN_APIHEADERENTRY WHERE FENTRYID = 1692794731387626497;
INSERT INTO T_OPEN_APIHEADERENTRY(FID,FHEADERNAME,FENTRYID,FSEQ,FHEADERVALUE,FHEADERDES) VALUES (1692793711525831680,'accesstoken',1692794731387626497,2,'获取的accesstoken值','请求令牌');

-- 返回参数
DELETE FROM T_OPEN_APIRESPENTRY WHERE FENTRYID = 1692793712733895680;
INSERT INTO T_OPEN_APIRESPENTRY(FID,FRESPPARAMNAME,FRESPPARAMMUST,FPARENTENTRYID,FRESPPARAMTYPE,FENTRYID,FSEQ,FRESPEXAMPLE,FRESPDES) VALUES (1692793711525831680,'success','1',0,'Boolean',1692793712733895680,1,'false','请求状态');
DELETE FROM T_OPEN_APIRESPENTRY WHERE FENTRYID = 1692793712742179840;
INSERT INTO T_OPEN_APIRESPENTRY(FID,FRESPPARAMNAME,FRESPPARAMMUST,FPARENTENTRYID,FRESPPARAMTYPE,FENTRYID,FSEQ,FRESPEXAMPLE,FRESPDES) VALUES (1692793711525831680,'message','1',0,'String',1692793712742179840,2,'msgType参数错误','提示语');
DELETE FROM T_OPEN_APIRESPENTRY WHERE FENTRYID = 1692793712742179841;
INSERT INTO T_OPEN_APIRESPENTRY(FID,FRESPPARAMNAME,FRESPPARAMMUST,FPARENTENTRYID,FRESPPARAMTYPE,FENTRYID,FSEQ,FRESPEXAMPLE,FRESPDES) VALUES (1692793711525831680,'data','0',0,'Object',1692793712742179841,4,' ',' ');
DELETE FROM T_OPEN_APIRESPENTRY WHERE FENTRYID = 1692793712742284288;
INSERT INTO T_OPEN_APIRESPENTRY(FID,FRESPPARAMNAME,FRESPPARAMMUST,FPARENTENTRYID,FRESPPARAMTYPE,FENTRYID,FSEQ,FRESPEXAMPLE,FRESPDES) VALUES (1692793711525831680,'errorCode','1',0,'String',1692793712742284288,3,'0000','成功');


