CallCustomiseAPI

≥4.8.5.200415.0

Support anonymous user to call this API.

Interface Function

Call Customise API

Request Parameter
Parameter Type Requisite Comment
Id string true ID generated when resistering Customise API in AppMaker Platform
Parameter Dictionary<string, object> false Request parameter

[info] Note

  • For procedures of registering Customise API, please refer to (RegistrationCustomiseAPI.md).
Input Smaple:
{
    "Id": "5e6b43aaf9ea922b58c9671f",
    "Parameter":{"aaa":true}
}
Code example
    var input=JSON.stringify({"Id":"60ac5e97f9ea921fb00d9ed7"});
    $.ajax({
        type: 'POST',
        contentType:"application/json;charset=utf-8",
        url: '/demotenant/demoapp/Form/preview/demoformalias/InternalApi/CallCustomiseAPI',
        data: input,
        dataType: 'json',
        success: function (data) {
            //打印输出结果
            console.log("CallCustomiseAPI result: "+JSON.stringify(data));
        },
        error: function (data) {
            console.log(data);
        }
    })
Return Type
  • StatusCode:Response status of CallCustomiseAPI. 200 indicates successful calling.
  • Info:Infomation about CallCustomiseAPI,developers can check error cause when error occurs.
  • Data:Content returned by interface.
Return Sample
{
     "StatusCode": 200,
     "Info": "Request (or process) succeeded",
     "Data": "20200315141257_abc"
   }
© Digital Maker Product Team all right reserved,powered by Gitbook该文件修订时间: 2023-02-02 10:40:12

results matching ""

    No results matching ""