App API enables you to query and modify app-specific data. Each published app has a dedicated service to read data from and write data to PerfectApps app instances. This app-specific service is at the URL you receive from the app’s link dialog. Each app has its own service. For example: "/api/apps/rZtAg7gAggAAcgQM_My_App.asmx"
Storing App Instance IDs
Each completed instance of any app is called an app instance and it has its own system unique ID. If you plan to reference app instances from other systems and applications, it is important that you store the app instance ID. This will then allow you to retrieve or update data for this app instance using this app instance ID.
Once an app instance ID is created, it will remain fixed and will not change. This is not the same as the sequential number that is accessible from the Special section of the Formula and Condition Editor.
Any function that takes the instance ID as a parameter also uses this type of app instance ID.
Data Validation Responsibilities
When using the API, all data must be validated by the developer. If, for example, you pass an invalid e-mail address into a Text field which is set to be e-mail format, it will be accepted by the API just as it was sent.
Republishing an App Changes the Web Service Link
When you change your app and republish it, PerfectApps will change the Web Service link provided and you will need to update your project to call the new URL.
API-related Naming Constraints on App Objects
PerfectApps imposes some naming constraints. These constraints are as follows:
•Controls may have the same full name when their page and group containers are included.
•Page names may not start with a digit.
•No two list elements in a list type field can have the same name or code (lists elements are radio buttons in radio button groups, list items in a drop-down list, list items in normal lists and items in a ranking field).
See also: App API Methods
Return to: PerfectApps API, Integration