MobileApp
Update Template Pages
Changed onFunction: update_template_pages Type: API Endpoint (POST)
Purpose: Updates the template pages associated with a given template code, removing any reports that are no longer present in the incoming data.
Headers:
- Customer_Key (str, required): Encoded customer key for authorization.
Parameters:
- template_data (TemplatePagesRequest, required): A JSON object containing a list of template pages to update.
Response:
- Returns a success message indicating that the template page was updated successfully.
- Returns a JSON object with an error message if the customer key is invalid or if any internal error occurs.
Exceptions:
- Raises a 400 error if the customer key is invalid.
- Raises a 500 error in case of any internal server error.
post/api/MobileApp/templates/update_template_pages
Request
- Base URLhttps://api.leapsurgebi.com (the document declares no server; this is the origin it was published from)
- AuthOAuth 2PasswordToken URL/auth/token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Headers
Customer-Keystring required
Request body
Response
Successful Response
unknown required
Changes
- info
endpoint added
- info