The Class BpmProductDto.
name | data type | constraints | description |
---|---|---|---|
bpmCode | string | required | The bpm code. |
prefix | string | required | Will be the code of the newly created ProductTemplate. |
parameter | array of CustomFieldDto | The custom fields. |
Example
{ "bpmCode" : "...", "prefix" : "...", "parameter" : [ { "code" : "...", "description" : "...", "fieldType" : "LONG", "languageDescriptions" : [ { "languageCode" : "...", "description" : "..." }, { "languageCode" : "...", "description" : "..." } ], "valueDate" : 12345, "valuePeriodStartDate" : 12345, "valuePeriodEndDate" : 12345, "valuePeriodPriority" : 12345, "stringValue" : "...", "dateValue" : 12345, "longValue" : 12345, "doubleValue" : 12345.0, "booleanValue" : true, "value" : [ { "value" : { "booleanValue" : true } }, { "value" : { "booleanValue" : true } } ], "mapValue" : { "property1" : { "value" : { "booleanValue" : true } }, "property2" : { "value" : { "booleanValue" : true } } }, "entityReferenceValue" : { "classname" : "...", "classnameCode" : "...", "code" : "..." }, "indexType" : "INDEX", "fileValue" : "...", "formattedValue" : { "singleValue" : "...", "listValue" : [ "...", "..." ], "mapValue" : { "property1" : "...", "property2" : "..." }, "id" : 12345, "auditableField" : [ { }, { } ], "code" : "...", "description" : "...", "updatedCode" : "..." }, "urlReferenceValue" : { "url" : "...", "regexp" : "...", "label" : "...", "length" : 12345 }, "guiPosition" : "...", "customTableCode" : "...", "dataFilter" : "...", "fields" : "..." }, { "code" : "...", "description" : "...", "fieldType" : "BOOLEAN", "languageDescriptions" : [ { "languageCode" : "...", "description" : "..." }, { "languageCode" : "...", "description" : "..." } ], "valueDate" : 12345, "valuePeriodStartDate" : 12345, "valuePeriodEndDate" : 12345, "valuePeriodPriority" : 12345, "stringValue" : "...", "dateValue" : 12345, "longValue" : 12345, "doubleValue" : 12345.0, "booleanValue" : true, "value" : [ { "value" : { "booleanValue" : true } }, { "value" : { "booleanValue" : true } } ], "mapValue" : { "property1" : { "value" : { "booleanValue" : true } }, "property2" : { "value" : { "booleanValue" : true } } }, "entityReferenceValue" : { "classname" : "...", "classnameCode" : "...", "code" : "..." }, "indexType" : "INDEX_NOT_ANALYZE", "fileValue" : "...", "formattedValue" : { "singleValue" : "...", "listValue" : [ "...", "..." ], "mapValue" : { "property1" : "...", "property2" : "..." }, "id" : 12345, "auditableField" : [ { }, { } ], "code" : "...", "description" : "...", "updatedCode" : "..." }, "urlReferenceValue" : { "url" : "...", "regexp" : "...", "label" : "...", "length" : 12345 }, "guiPosition" : "...", "customTableCode" : "...", "dataFilter" : "...", "fields" : "..." } ] }