/**
  * The first step in an embedded template workflow. 
  * Creates a draft template that can then be further set up in the template 'edit' stage.
  *
  * @param  Template $request
  * @return Template
  * @throws BaseException
  */
 public function createEmbeddedDraft(Template $request)
 {
     $response = $this->rest->post(static::TEMPLATE_CREATE_EMBEDDED_DRAFT, $request->toEmbeddedDraftParams());
     $this->checkResponse($response);
     return new Template($response);
 }