MobileApp
Clone Template
Changed onClone a template within the same customer scope.
Request body:
- app_code: The application code of the template to be cloned.
- source_template_code: The template code of the template to be cloned.
- new_template_name: The desired name for the cloned template.
- status: The desired status for the cloned template.
- modified_by: The username of the user performing the clone operation.
- modified_on: The timestamp of the clone operation.
Response:
- template_code: The template code of the cloned template.
- template_name: The name of the cloned template.
- cloned_from: The template code of the source template.
- counts: A dictionary containing the counts of pages, filters, recipient list items, and schedules cloned.
- status: The status of the cloned template.
- created_user: The username of the user who created the cloned template.
- date_of_creation: The timestamp of the creation of the cloned template.
- modified_user: The username of the user who last modified the cloned template.
- date_of_modification: The timestamp of the last modification of the cloned template.
Raises:
- 400: Invalid Customer Key or source template code.
- 404: Source template not found.
- 500: Internal Server Error.
post/api/MobileApp/templates/clone
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