申请标识前缀

## 接口名称 申请标识前缀 ## 接口描述 提交前缀申请,application/json格式提交。 ## 接口地址 https://api.gdsinsing.com/safety/prefix/apply ## 调用方式 |方法|数据类型| |-|-| |[ ] GET|[ ] form-data| |[X] POST|[ ] x-www-form-urlencoded| |[ ] PUT|[X] raw| |[ ] DELETE|| ## 参数说明 ```JavaScript { "applyData": { "companyName":"申请公司名 (必填)", "companyType":"公司类型(必填)", //查看"附录-前缀申请所需数据" "companyCardNo":"统一社会信用码(必填)", "agentName":"经办人姓名(必填)", "agentCardNo":"经办人身份证号码(必填)", "agentMobile":"经办人手机号(必填)", "agentEmail":"经办人电子邮箱(必填)", "agentPost":"经办人职称", "ebl_img":"营业执照图片base64字符串(必填,500kb之内)", "agent_idcard_front":"经办人身份证正面base64字符串(必填,500kb之内)", "agent_idcard_reverse":"经办人身份证反面base64字符串(必填,500kb之内)", "companyIndustry":"机构所属行业大类(必填)", //查看"附录-前缀申请所需数据" "companySmallIndustry":"机构所属行业小类(必填)", //查看"附录-前缀申请所需数据" "companyArea":"机构所在地(如:中国-广东省-深圳市-南山区)(必填)", //查看"附录-前缀申请所需数据" "organContactAddress":"机构详细地址(必填)", "handle":"申请的前缀(如:88.168.89)(必填)" }, "sign": {"username": "88.168.88", "pwd": "123456"} } ``` 查看:[企业类型](doc:AGYMtT3Y)、[所属行业](doc:AGYMtT3Y)、[机构所在地](doc:AGYMtT3Y)。 ## 返回结果 |参数名|位置|类型|说明| |-|-|-|-| |result||Int|接口调用结果(0:调用失败,1:调用成功)| |data||String|申请单流水号| |errorcode||String|错误码| |msg||String|接口调用结果的文字描述(一般为错误异常描述)| |solve||String|处理方法文字描述(调用接口失败时)| #### 成功返回 ```json { "result": 0, "data": null, "errorcode": "000000", "msg": "companyName(企业名称)不能为空", "solve": "" } ``` #### 失败返回 ```json { "result": 0, "data": null, "errorcode": "00200040", "msg": "前缀已存在", "solve": "输入其他前缀" } ``` ## 调用例子 ``` JavaScript var settings = { "url": "https://api.gdsinsing.com/safety/prefix/apply", "method": "POST", "timeout": 0, "headers": { "Content-Type": "application/json" }, "data": JSON.stringify({ "applyData": { "companyName": "申请公司名 (必填)", "companyType": "公司类型(必填)", "companyCardNo": "统一社会信用码(必填)", "agentName": "经办人姓名(必填)", "agentCardNo": "经办人身份证号码(必填)", "agentMobile": "经办人手机号(必填)", "agentEmail": "经办人电子邮箱(必填)", "agentPost": "经办人职称", "ebl_img": "营业执照图片base64字符串(必填,500kb之内)", "agent_idcard_front": "经办人身份证正面base64字符串(必填,500kb之内)", "agent_idcard_reverse": "经办人身份证反面base64字符串(必填,500kb之内)", "companyIndustry": "机构所属行业大类(必填)", "companySmallIndustry": "机构所属行业小类(必填)", "companyArea": "机构所在地(如:中国-广东省-深圳市-南山区)(必填)", "organContactAddress": "机构详细地址(必填)", "handle": "88.168.102" }, "sign": { "username": "88.168.88", "pwd": "123456" } }), }; $.ajax(settings).done(function (response) { console.log(response); }); ```