App Runtime API
App Runtime ได้จัดเตรียมรายการ REST API เพื่อให้ผู้ใช้จากระบบอื่นสามารถโต้ตอบกับเอนทิตีที่ถูกสร้างใน App Designer โดยใช้ REST ซึ่ง REST API ใน App Runtime นั้นสามารถจะใช้ในการ แทรก อัปเดต และลบ ค่าที่ถูกกำหนดของ Entity ในฐานข้อมูลได้ ซึ่งในส่วนนี้จะให้ข้อมูลของแต่ละ method ที่ถููกสร้างโดย API โดย method นั้นสามารถเพิ่ม context root เพื่อเรียกใช้บริการได้
Request
Description
HTTP Method
1. /login
Login Process for get token id.
POST
2. /entity/{entityID}/search
Search Data in {entityID} by parameter in URL after running you will get data Json Format from {entityID}.
GET
3. /entity/{entityID}/get
Get Data Json Format from {entityID} after you pass parameter key in URL, you will get JSON data in all module of entity.
GET
4. /entity/{entityID}/save
Save Data JSON Body of {entityID} into Database.
POST
5. /entity/{entityID}/delete
Delete Data in Database from key parameter.
POST
6. /entities/save?mainEntityID={entityID}
Save Data JSON Body of {entityID} in Parent, Child Tab format into Database.
POST
7. /file/upload
Upload File into Server following configuration.
POST
8. /file/{id}/download
Download File From {id} which is uploaded from server.
GET
Last updated