CreateDocument

Interface Function

Create the document of the specified Form.

Request Parameter
Parameter Required Type Remarks
formAlias true string Form alias, the identity of the form
data true Dictionary<string, string> Field dictionary of Doc
dataId false string GUID format (no connector). Generated by system if not passing this parameter.
userCode false string Creator's StaffCode. The current user's Staffcode is used by default if not passing this parameter.
Request Parameter
//
var formAlias="demoformalias";
//textbx_address, textbx_name is field name
var data=new Dictionary<string, string> { {"textbx_address","Beijing Chaoyang"},{"textbx_name","DemoUser"}};
var dataId = Guid.NewGuid().ToString();
var result=Service.CreateDocument(formAlias,data,dataId);
Service.ConsoleLog("CreateDocument result",result);
Return Data Type

int

Note
  • If dataId is the existing document,perform update operation.
© Digital Maker Product Team all right reserved,powered by Gitbook该文件修订时间: 2023-02-02 10:40:11

results matching ""

    No results matching ""