TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaLegalStandpointDraftstandpointInsertRequest req = new AlibabaLegalStandpointDraftstandpointInsertRequest();
req.setInputSystemCode("Vmock");
AlibabaLegalStandpointDraftstandpointInsertRequest.StandpointDeriveDraftEpaasDto obj1 = new AlibabaLegalStandpointDraftstandpointInsertRequest.StandpointDeriveDraftEpaasDto();
obj1.setBusId("0");
obj1.setDraftSource("来源");
obj1.setExtendJson("{}");
obj1.setSceneName("场景名称");
obj1.setBusName("业务名称");
obj1.setRemark("备注");
obj1.setInputSystemCode("Vmock");
obj1.setCaseNo("编号");
obj1.setCaseType("编号");
obj1.setSubmitPeople("000000");
obj1.setDefenseCaliber("口径");
obj1.setSourceStandpointIds("15219");
obj1.setStandpointDesc("口径描述");
req.setStandpointDeriveDraftEpaasDto(obj1);
AlibabaLegalStandpointDraftstandpointInsertResponse rsp = client.execute(req);
System.out.println(rsp.getBody());
ITopClient client = new DefaultTopClient(url, appkey, secret);
AlibabaLegalStandpointDraftstandpointInsertRequest req = new AlibabaLegalStandpointDraftstandpointInsertRequest();
req.InputSystemCode = "Vmock";
AlibabaLegalStandpointDraftstandpointInsertRequest.StandpointDeriveDraftEpaasDtoDomain obj1 = new AlibabaLegalStandpointDraftstandpointInsertRequest.StandpointDeriveDraftEpaasDtoDomain();
obj1.BusId = "0";
obj1.DraftSource = "来源";
obj1.ExtendJson = "{}";
obj1.SceneName = "场景名称";
obj1.BusName = "业务名称";
obj1.Remark = "备注";
obj1.InputSystemCode = "Vmock";
obj1.CaseNo = "编号";
obj1.CaseType = "编号";
obj1.SubmitPeople = "000000";
obj1.DefenseCaliber = "口径";
obj1.SourceStandpointIds = "15219";
obj1.StandpointDesc = "口径描述";
req.StandpointDeriveDraftEpaasDto_ = obj1;
AlibabaLegalStandpointDraftstandpointInsertResponse rsp = client.Execute(req);
Console.WriteLine(rsp.Body);
$c = new TopClient;
$c->appkey = $appkey;
$c->secretKey = $secret;
$req = new AlibabaLegalStandpointDraftstandpointInsertRequest;
$req->setInputSystemCode("Vmock");
$standpoint_derive_draft_epaas_dto = new StandpointDeriveDraftEpaasDto;
$standpoint_derive_draft_epaas_dto->bus_id="0";
$standpoint_derive_draft_epaas_dto->draft_source="来源";
$standpoint_derive_draft_epaas_dto->extend_json="{}";
$standpoint_derive_draft_epaas_dto->scene_name="场景名称";
$standpoint_derive_draft_epaas_dto->bus_name="业务名称";
$standpoint_derive_draft_epaas_dto->remark="备注";
$standpoint_derive_draft_epaas_dto->input_system_code="Vmock";
$standpoint_derive_draft_epaas_dto->case_no="编号";
$standpoint_derive_draft_epaas_dto->case_type="编号";
$standpoint_derive_draft_epaas_dto->submit_people="000000";
$standpoint_derive_draft_epaas_dto->defense_caliber="口径";
$standpoint_derive_draft_epaas_dto->source_standpoint_ids="15219";
$standpoint_derive_draft_epaas_dto->standpoint_desc="口径描述";
$req->setStandpointDeriveDraftEpaasDto(json_encode($standpoint_derive_draft_epaas_dto));
$resp = $c->execute($req);
curl -X POST 'http://gw.api.taobao.com/router/rest' \
-H 'Content-Type:application/x-www-form-urlencoded;charset=utf-8' \
-d 'app_key=12129701' \
-d 'format=json' \
-d 'method=alibaba.legal.standpoint.draftstandpoint.insert' \
-d 'partner_id=apidoc' \
-d 'sign=448FE678B61BABC9C0380575B444AB3A' \
-d 'sign_method=hmac' \
-d 'timestamp=2025-06-26+20%3A09%3A34' \
-d 'v=2.0' \
-d 'input_system_code=Vmock' \
-d 'standpoint_derive_draft_epaas_dto=null'
# -*- coding: utf-8 -*-
import top.api
req=top.api.AlibabaLegalStandpointDraftstandpointInsertRequest(url,port)
req.set_app_info(top.appinfo(appkey,secret))
req.input_system_code="Vmock"
req.standpoint_derive_draft_epaas_dto="数据结构示例JSON格式"
try:
resp= req.getResponse()
print(resp)
except Exception,e:
print(e)
pTopRequest pRequest = alloc_top_request();
pTopResponse pResponse = NULL;
pTaobaoClient pClient = alloc_taobao_client(url, appkey, appsecret);
set_api_name(pRequest,"alibaba.legal.standpoint.draftstandpoint.insert");
add_param(pRequest,"input_system_code","Vmock");
add_param(pRequest,"standpoint_derive_draft_epaas_dto","数据结构JSON示例");
pResponse = top_execute(pClient,pRequest,NULL);
printf("ret code:%d\n",pResponse->code);
if(pResponse->code == 0){
pTopResponseIterator ite = init_response_iterator(pResponse);
pResultItem pResultItem = alloc_result_item();
while(parseNext(ite, pResultItem) == 0){
printf("%s:%s\n",pResultItem->key,pResultItem->value);
}
destroy_response_iterator(ite);
destroy_result_item(pResultItem);
}
destroy_top_request(pRequest);
destroy_top_response(pResponse);
destroy_taobao_client(pClient);
TopClient = require('./topClient').TopClient;
var client = new TopClient({
'appkey': 'appkey',
'appsecret': 'secret',
'REST_URL': 'http://gw.api.taobao.com/router/rest'
});
client.execute('alibaba.legal.standpoint.draftstandpoint.insert', {
'input_system_code':'Vmock',
'standpoint_derive_draft_epaas_dto':'数据结构JSON示例'
}, function(error, response) {
if (!error) console.log(response);
else console.log(error);
})