CreateDocument

Interface Function

Create a document under the specified Form.

Request Parameter
Parameter Required Type Remarks
data true Dictionary<string, string> Field dictionary of Doc
dataId false string GUID format (no connector). Generated by system if this parameter is not passed.
formAlias false string Form alias, the identity of the form
Return Data Type

int

Note
  • When the parameter value of dataId is an existing document, the update operation is performed.
Code example
//
var entityCode="demoformalias";
//textbx_address, textbx_name is field name
var staffName="DemoUser";
var staffCode="##200217042712778";
var data=new Dictionary<string, string> { {"textbx_address","World"},{"textbx_name","DemoUser"}};
var dataId = Guid.NewGuid().ToString();
var result=Service.CreateDocument(entityCode,data,staffName,staffCode,dataId);
Service.ConsoleLog("CreateDocument result",result);
© Digital Maker Product Team all right reserved,powered by Gitbook该文件修订时间: 2023-02-02 10:40:11

results matching ""

    No results matching ""