HOR-1512 Output Document: Muestra un mensaje de error al crear un outputdocument: Bad Request: is required.
This commit is contained in:
@@ -58,7 +58,7 @@ class OutputDocuments extends Api
|
||||
*
|
||||
* @status 201
|
||||
*/
|
||||
public function doPostProjectOutputDocument($prjUid, OutputDocumentStructure $request_data = null)
|
||||
public function doPostProjectOutputDocument($prjUid, OutputDocumentStructure $request_data = null)
|
||||
{
|
||||
try {
|
||||
$request_data = (array)($request_data);
|
||||
@@ -119,7 +119,7 @@ class OutputDocumentStructure
|
||||
public $out_doc_title;
|
||||
|
||||
/**
|
||||
* @var string {@from body}
|
||||
* @var string {@from body} {@required false}
|
||||
*/
|
||||
public $out_doc_description;
|
||||
|
||||
@@ -129,7 +129,7 @@ class OutputDocumentStructure
|
||||
public $out_doc_filename;
|
||||
|
||||
/**
|
||||
* @var string {@from body}
|
||||
* @var string {@from body} {@required false}
|
||||
*/
|
||||
public $out_doc_template;
|
||||
|
||||
@@ -179,12 +179,12 @@ class OutputDocumentStructure
|
||||
public $out_doc_type;
|
||||
|
||||
/**
|
||||
* @var int {@from body}
|
||||
* @var int {@from body} {@required false}
|
||||
*/
|
||||
public $out_doc_current_revision;
|
||||
|
||||
/**
|
||||
* @var string {@from body}
|
||||
* @var string {@from body} {@required false}
|
||||
*/
|
||||
public $out_doc_field_mapping;
|
||||
|
||||
@@ -194,12 +194,12 @@ class OutputDocumentStructure
|
||||
public $out_doc_versioning;
|
||||
|
||||
/**
|
||||
* @var string {@from body}
|
||||
* @var string {@from body} {@required false}
|
||||
*/
|
||||
public $out_doc_destination_path;
|
||||
|
||||
/**
|
||||
* @var string {@from body}
|
||||
* @var string {@from body} {@required false}
|
||||
*/
|
||||
public $out_doc_tags;
|
||||
|
||||
@@ -209,17 +209,17 @@ class OutputDocumentStructure
|
||||
public $out_doc_pdf_security_enabled;
|
||||
|
||||
/**
|
||||
* @var string {@from body} {@min 0} {@max 32}
|
||||
* @var string {@from body} {@min 0} {@max 32} {@required false}
|
||||
*/
|
||||
public $out_doc_pdf_security_open_password;
|
||||
|
||||
/**
|
||||
* @var string {@from body} {@min 0} {@max 32}
|
||||
* @var string {@from body} {@min 0} {@max 32} {@required false}
|
||||
*/
|
||||
public $out_doc_pdf_security_owner_password;
|
||||
|
||||
/**
|
||||
* @var string {@from body} {@min 0} {@max 150}
|
||||
* @var string {@from body} {@min 0} {@max 150} {@required false}
|
||||
*/
|
||||
public $out_doc_pdf_security_permissions;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user