MobileApp

Clone 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

Headers

Customer-Keystring required

Request body

app_codestring required
source_template_codestring required
new_template_namestring required
statusboolean nullable
modified_bystring required
modified_onstring date-time required
reset_schedule_stateboolean
recompute_next_from_startboolean

Response

Successful Response

unknown required

Changes