MigrationResource Resource

Resource used for performing Tag Type Migrations and Template Migrations

GET /migration/cancelMigration

Cancel the current tag type migration job, if one is being executed

Response Body
media type data type description
application/json GenericResponse (JSON) response object containing details about the cancellation

Example

Request
GET /migration/cancelMigration
Accept: application/json

              
Response
HTTP/1.1 200 OK
Content-Type: application/json

                
{
  "messages" : [ {
    "fieldName" : "...",
    "message" : "...",
    "type" : "INFO",
    "timestamp" : 12345,
    "image" : "...",
    "sender" : {
      "id" : 12345,
      "firstName" : "...",
      "lastName" : "...",
      "description" : "...",
      "email" : "...",
      "groups" : [ { }, { } ],
      "login" : "...",
      "password" : "..."
    },
    "id" : 12345
  }, {
    "fieldName" : "...",
    "message" : "...",
    "type" : "NEUTRAL",
    "timestamp" : 12345,
    "image" : "...",
    "sender" : {
      "id" : 12345,
      "firstName" : "...",
      "lastName" : "...",
      "description" : "...",
      "email" : "...",
      "groups" : [ { }, { } ],
      "login" : "...",
      "password" : "..."
    },
    "id" : 12345
  } ],
  "responseInfo" : {
    "responseCode" : "NOTFOUND",
    "responseMessage" : "...",
    "property" : "..."
  }
}
                
              

GET /migration/getMigrationStatus

Get the migration status for a given tag type migration job

Response Body
media type data type description
application/json MigrationStatusResponse (JSON) response object containing details about the status of the current migration

Example

Request
GET /migration/getMigrationStatus
Accept: application/json

              
Response
HTTP/1.1 200 OK
Content-Type: application/json

                
{
  "percentComplete" : 12345,
  "status" : 12345,
  "jobId" : 12345,
  "latestJob" : {
    "handledObjects" : 12345,
    "logName" : "...",
    "jobId" : 12345,
    "status" : 12345,
    "timestamp" : "...",
    "jobType" : 12345
  },
  "messages" : [ {
    "fieldName" : "...",
    "message" : "...",
    "type" : "INFO",
    "timestamp" : 12345,
    "image" : "...",
    "sender" : {
      "id" : 12345,
      "firstName" : "...",
      "lastName" : "...",
      "description" : "...",
      "email" : "...",
      "groups" : [ { }, { } ],
      "login" : "...",
      "password" : "..."
    },
    "id" : 12345
  }, {
    "fieldName" : "...",
    "message" : "...",
    "type" : "CRITICAL",
    "timestamp" : 12345,
    "image" : "...",
    "sender" : {
      "id" : 12345,
      "firstName" : "...",
      "lastName" : "...",
      "description" : "...",
      "email" : "...",
      "groups" : [ { }, { } ],
      "login" : "...",
      "password" : "..."
    },
    "id" : 12345
  } ],
  "responseInfo" : {
    "responseCode" : "MAINTENANCEMODE",
    "responseMessage" : "...",
    "property" : "..."
  }
}
                
              

GET /migration/getMigrationJobItems/{jobId}

Get the migration job items for the given job

Request Parameters
name type description constraints
jobId path The jobId for which the items should be loaded int
Response Body
media type data type
application/json MigrationJobItemsResponse (JSON)

Example

Request
GET /migration/getMigrationJobItems/{jobId}
Accept: application/json

              
Response
HTTP/1.1 200 OK
Content-Type: application/json

                
{
  "jobId" : 12345,
  "jobItems" : [ {
    "jobId" : 12345,
    "objectId" : 12345,
    "objectType" : 12345,
    "status" : 12345
  }, {
    "jobId" : 12345,
    "objectId" : 12345,
    "objectType" : 12345,
    "status" : 12345
  } ],
  "messages" : [ {
    "fieldName" : "...",
    "message" : "...",
    "type" : "WARNING",
    "timestamp" : 12345,
    "image" : "...",
    "sender" : {
      "id" : 12345,
      "firstName" : "...",
      "lastName" : "...",
      "description" : "...",
      "email" : "...",
      "groups" : [ { }, { } ],
      "login" : "...",
      "password" : "..."
    },
    "id" : 12345
  }, {
    "fieldName" : "...",
    "message" : "...",
    "type" : "INFO",
    "timestamp" : 12345,
    "image" : "...",
    "sender" : {
      "id" : 12345,
      "firstName" : "...",
      "lastName" : "...",
      "description" : "...",
      "email" : "...",
      "groups" : [ { }, { } ],
      "login" : "...",
      "password" : "..."
    },
    "id" : 12345
  } ],
  "responseInfo" : {
    "responseCode" : "FAILURE",
    "responseMessage" : "...",
    "property" : "..."
  }
}
                
              

GET /migration/getMigrationLogs

Get a list of all tag type migration logs

Response Body
media type data type
application/json MigrationGetLogsResponse (JSON)

Example

Request
GET /migration/getMigrationLogs
Accept: application/json

              
Response
HTTP/1.1 200 OK
Content-Type: application/json

                
{
  "logFilenames" : {
    "property1" : "...",
    "property2" : "..."
  },
  "jobEntries" : [ {
    "handledObjects" : 12345,
    "logName" : "...",
    "jobId" : 12345,
    "status" : 12345,
    "timestamp" : "...",
    "jobType" : 12345
  }, {
    "handledObjects" : 12345,
    "logName" : "...",
    "jobId" : 12345,
    "status" : 12345,
    "timestamp" : "...",
    "jobType" : 12345
  } ],
  "messages" : [ {
    "fieldName" : "...",
    "message" : "...",
    "type" : "CRITICAL",
    "timestamp" : 12345,
    "image" : "...",
    "sender" : {
      "id" : 12345,
      "firstName" : "...",
      "lastName" : "...",
      "description" : "...",
      "email" : "...",
      "groups" : [ { }, { } ],
      "login" : "...",
      "password" : "..."
    },
    "id" : 12345
  }, {
    "fieldName" : "...",
    "message" : "...",
    "type" : "NEUTRAL",
    "timestamp" : 12345,
    "image" : "...",
    "sender" : {
      "id" : 12345,
      "firstName" : "...",
      "lastName" : "...",
      "description" : "...",
      "email" : "...",
      "groups" : [ { }, { } ],
      "login" : "...",
      "password" : "..."
    },
    "id" : 12345
  } ],
  "responseInfo" : {
    "responseCode" : "NOTLICENSED",
    "responseMessage" : "...",
    "property" : "..."
  }
}
                
              

GET /migration/getMigrationLog/{jobId}

Get the log for a given tag type migration job

Request Parameters
name type description constraints
jobId path the id of the migration job int
Response Body
media type data type
application/json MigrationGetLogResponse (JSON)

Example

Request
GET /migration/getMigrationLog/{jobId}
Accept: application/json

              
Response
HTTP/1.1 200 OK
Content-Type: application/json

                
{
  "logContents" : "...",
  "messages" : [ {
    "fieldName" : "...",
    "message" : "...",
    "type" : "CRITICAL",
    "timestamp" : 12345,
    "image" : "...",
    "sender" : {
      "id" : 12345,
      "firstName" : "...",
      "lastName" : "...",
      "description" : "...",
      "email" : "...",
      "groups" : [ { }, { } ],
      "login" : "...",
      "password" : "..."
    },
    "id" : 12345
  }, {
    "fieldName" : "...",
    "message" : "...",
    "type" : "NEUTRAL",
    "timestamp" : 12345,
    "image" : "...",
    "sender" : {
      "id" : 12345,
      "firstName" : "...",
      "lastName" : "...",
      "description" : "...",
      "email" : "...",
      "groups" : [ { }, { } ],
      "login" : "...",
      "password" : "..."
    },
    "id" : 12345
  } ],
  "responseInfo" : {
    "responseCode" : "INVALIDDATA",
    "responseMessage" : "...",
    "property" : "..."
  }
}
                
              

POST /migration/performMigration

Perform tag migration process

Request Body
media type data type description
application/json TagTypeMigrationRequest (JSON) migration request object
Response Body
media type data type description
application/json MigrationResponse (JSON) response object

Example

Request
POST /migration/performMigration
Content-Type: application/json
Accept: application/json

                
{
  "preventTriggerEvent" : true,
  "handlePagesByTemplate" : true,
  "handleAllNodes" : true,
  "enabledPreProcessors" : [ {
    "className" : "...",
    "orderId" : 12345
  }, {
    "className" : "...",
    "orderId" : 12345
  } ],
  "enabledPostProcessors" : [ {
    "className" : "...",
    "orderId" : 12345
  }, {
    "className" : "...",
    "orderId" : 12345
  } ],
  "mappings" : [ {
    "fromTagTypeId" : 12345,
    "toTagTypeId" : 12345,
    "partMappings" : [ {
      "fromPartId" : 12345,
      "toPartId" : 12345,
      "partMappingType" : "..."
    }, {
      "fromPartId" : 12345,
      "toPartId" : 12345,
      "partMappingType" : "..."
    } ]
  }, {
    "fromTagTypeId" : 12345,
    "toTagTypeId" : 12345,
    "partMappings" : [ {
      "fromPartId" : 12345,
      "toPartId" : 12345,
      "partMappingType" : "..."
    }, {
      "fromPartId" : 12345,
      "toPartId" : 12345,
      "partMappingType" : "..."
    } ]
  } ],
  "type" : "...",
  "objectIds" : [ 12345, 12345 ],
  "handleGlobalPages" : true,
  "handleGlobalTemplates" : true,
  "handleGlobalObjTagDefs" : true,
  "restrictedNodeIds" : [ 12345, 12345 ]
}
                
              
Response
HTTP/1.1 201 Created
Content-Type: application/json

                
{
  "jobId" : 12345,
  "messages" : [ {
    "fieldName" : "...",
    "message" : "...",
    "type" : "WARNING",
    "timestamp" : 12345,
    "image" : "...",
    "sender" : {
      "id" : 12345,
      "firstName" : "...",
      "lastName" : "...",
      "description" : "...",
      "email" : "...",
      "groups" : [ { }, { } ],
      "login" : "...",
      "password" : "..."
    },
    "id" : 12345
  }, {
    "fieldName" : "...",
    "message" : "...",
    "type" : "INFO",
    "timestamp" : 12345,
    "image" : "...",
    "sender" : {
      "id" : 12345,
      "firstName" : "...",
      "lastName" : "...",
      "description" : "...",
      "email" : "...",
      "groups" : [ { }, { } ],
      "login" : "...",
      "password" : "..."
    },
    "id" : 12345
  } ],
  "responseInfo" : {
    "responseCode" : "NOTLICENSED",
    "responseMessage" : "...",
    "property" : "..."
  }
}
                
              

POST /migration/performTemplateMigration

Request Body
media type data type
application/json TemplateMigrationRequest (JSON)
Response Body
media type data type
application/json MigrationResponse (JSON)

Example

Request
POST /migration/performTemplateMigration
Content-Type: application/json
Accept: application/json

                
{
  "mapping" : {
    "nodeId" : 12345,
    "editableTagMappings" : [ {
      "partMappings" : [ { }, { } ],
      "fromTagId" : 12345,
      "toTagId" : 12345
    }, {
      "partMappings" : [ { }, { } ],
      "fromTagId" : 12345,
      "toTagId" : 12345
    } ],
    "nonEditableTagMappings" : [ {
      "fromTagId" : 12345,
      "toTagId" : 12345
    }, {
      "fromTagId" : 12345,
      "toTagId" : 12345
    } ],
    "fromTemplateId" : 12345,
    "toTemplateId" : 12345
  },
  "enabledPreProcessors" : [ {
    "className" : "...",
    "orderId" : 12345
  }, {
    "className" : "...",
    "orderId" : 12345
  } ],
  "enabledPostProcessors" : [ {
    "className" : "...",
    "orderId" : 12345
  }, {
    "className" : "...",
    "orderId" : 12345
  } ],
  "options" : {
    "property1" : "...",
    "property2" : "..."
  }
}
                
              
Response
HTTP/1.1 201 Created
Content-Type: application/json

                
{
  "jobId" : 12345,
  "messages" : [ {
    "fieldName" : "...",
    "message" : "...",
    "type" : "INFO",
    "timestamp" : 12345,
    "image" : "...",
    "sender" : {
      "id" : 12345,
      "firstName" : "...",
      "lastName" : "...",
      "description" : "...",
      "email" : "...",
      "groups" : [ { }, { } ],
      "login" : "...",
      "password" : "..."
    },
    "id" : 12345
  }, {
    "fieldName" : "...",
    "message" : "...",
    "type" : "NEUTRAL",
    "timestamp" : 12345,
    "image" : "...",
    "sender" : {
      "id" : 12345,
      "firstName" : "...",
      "lastName" : "...",
      "description" : "...",
      "email" : "...",
      "groups" : [ { }, { } ],
      "login" : "...",
      "password" : "..."
    },
    "id" : 12345
  } ],
  "responseInfo" : {
    "responseCode" : "NOTFOUND",
    "responseMessage" : "...",
    "property" : "..."
  }
}
                
              

POST /migration/reinvokeMigration

Reinvoke the tag type migration for the given object

Request Body
media type data type
application/json MigrationReinvokeRequest (JSON)
Response Body
media type data type
application/json MigrationResponse (JSON)

Example

Request
POST /migration/reinvokeMigration
Content-Type: application/json
Accept: application/json

                
{
  "type" : "...",
  "objectId" : 12345,
  "jobId" : 12345
}
                
              
Response
HTTP/1.1 201 Created
Content-Type: application/json

                
{
  "jobId" : 12345,
  "messages" : [ {
    "fieldName" : "...",
    "message" : "...",
    "type" : "SUCCESS",
    "timestamp" : 12345,
    "image" : "...",
    "sender" : {
      "id" : 12345,
      "firstName" : "...",
      "lastName" : "...",
      "description" : "...",
      "email" : "...",
      "groups" : [ { }, { } ],
      "login" : "...",
      "password" : "..."
    },
    "id" : 12345
  }, {
    "fieldName" : "...",
    "message" : "...",
    "type" : "NEUTRAL",
    "timestamp" : 12345,
    "image" : "...",
    "sender" : {
      "id" : 12345,
      "firstName" : "...",
      "lastName" : "...",
      "description" : "...",
      "email" : "...",
      "groups" : [ { }, { } ],
      "login" : "...",
      "password" : "..."
    },
    "id" : 12345
  } ],
  "responseInfo" : {
    "responseCode" : "NOTFOUND",
    "responseMessage" : "...",
    "property" : "..."
  }
}
                
              

GET /migration/getPossiblePartMappings

Get a response that contains maps and lists with possible part mappings between to both tagtypes

Request Parameters
name type description constraints
fromTagTypeId query TagTypeId of the tagtype that should be mapped int
toTagTypeId query TagTypeId of the desired target tagtype int
Response Body
media type data type description
application/json PossiblePartMappingsResponse (JSON) response object

Example

Request
GET /migration/getPossiblePartMappings
Accept: application/json

              
Response
HTTP/1.1 200 OK
Content-Type: application/json

                
{
  "possibleMappings" : {
    "property1" : [ {
      "name" : "...",
      "keyword" : "...",
      "hidden" : true,
      "editable" : true,
      "liveEditable" : true,
      "type" : "BREADCRUMB",
      "id" : 12345,
      "globalId" : "...",
      "defaultProperty" : {
        "type" : "NAVIGATION",
        "stringValue" : "...",
        "booleanValue" : true,
        "fileId" : 12345,
        "imageId" : 12345,
        "folderId" : 12345,
        "pageId" : 12345,
        "stringValues" : [ "...", "..." ],
        "options" : [ { }, { } ],
        "selectedOptions" : [ { }, { } ],
        "datasourceId" : 12345,
        "overview" : { },
        "templateId" : 12345,
        "contentTagId" : 12345,
        "templateTagId" : 12345,
        "nodeId" : 12345,
        "partId" : 12345,
        "id" : 12345,
        "globalId" : "..."
      }
    }, {
      "name" : "...",
      "keyword" : "...",
      "hidden" : true,
      "editable" : true,
      "liveEditable" : true,
      "type" : "SELECT",
      "id" : 12345,
      "globalId" : "...",
      "defaultProperty" : {
        "type" : "RICHTEXT",
        "stringValue" : "...",
        "booleanValue" : true,
        "fileId" : 12345,
        "imageId" : 12345,
        "folderId" : 12345,
        "pageId" : 12345,
        "stringValues" : [ "...", "..." ],
        "options" : [ { }, { } ],
        "selectedOptions" : [ { }, { } ],
        "datasourceId" : 12345,
        "overview" : { },
        "templateId" : 12345,
        "contentTagId" : 12345,
        "templateTagId" : 12345,
        "nodeId" : 12345,
        "partId" : 12345,
        "id" : 12345,
        "globalId" : "..."
      }
    } ],
    "property2" : [ {
      "name" : "...",
      "keyword" : "...",
      "hidden" : true,
      "editable" : true,
      "liveEditable" : true,
      "type" : "UNORDEREDLIST",
      "id" : 12345,
      "globalId" : "...",
      "defaultProperty" : {
        "type" : "IMAGE",
        "stringValue" : "...",
        "booleanValue" : true,
        "fileId" : 12345,
        "imageId" : 12345,
        "folderId" : 12345,
        "pageId" : 12345,
        "stringValues" : [ "...", "..." ],
        "options" : [ { }, { } ],
        "selectedOptions" : [ { }, { } ],
        "datasourceId" : 12345,
        "overview" : { },
        "templateId" : 12345,
        "contentTagId" : 12345,
        "templateTagId" : 12345,
        "nodeId" : 12345,
        "partId" : 12345,
        "id" : 12345,
        "globalId" : "..."
      }
    }, {
      "name" : "...",
      "keyword" : "...",
      "hidden" : true,
      "editable" : true,
      "liveEditable" : true,
      "type" : "RICHTEXT",
      "id" : 12345,
      "globalId" : "...",
      "defaultProperty" : {
        "type" : "TABLE",
        "stringValue" : "...",
        "booleanValue" : true,
        "fileId" : 12345,
        "imageId" : 12345,
        "folderId" : 12345,
        "pageId" : 12345,
        "stringValues" : [ "...", "..." ],
        "options" : [ { }, { } ],
        "selectedOptions" : [ { }, { } ],
        "datasourceId" : 12345,
        "overview" : { },
        "templateId" : 12345,
        "contentTagId" : 12345,
        "templateTagId" : 12345,
        "nodeId" : 12345,
        "partId" : 12345,
        "id" : 12345,
        "globalId" : "..."
      }
    } ]
  },
  "messages" : [ {
    "fieldName" : "...",
    "message" : "...",
    "type" : "WARNING",
    "timestamp" : 12345,
    "image" : "...",
    "sender" : {
      "id" : 12345,
      "firstName" : "...",
      "lastName" : "...",
      "description" : "...",
      "email" : "...",
      "groups" : [ { }, { } ],
      "login" : "...",
      "password" : "..."
    },
    "id" : 12345
  }, {
    "fieldName" : "...",
    "message" : "...",
    "type" : "SUCCESS",
    "timestamp" : 12345,
    "image" : "...",
    "sender" : {
      "id" : 12345,
      "firstName" : "...",
      "lastName" : "...",
      "description" : "...",
      "email" : "...",
      "groups" : [ { }, { } ],
      "login" : "...",
      "password" : "..."
    },
    "id" : 12345
  } ],
  "responseInfo" : {
    "responseCode" : "OK",
    "responseMessage" : "...",
    "property" : "..."
  }
}
                
              

GET /migration/getPartsForTagType/{id}

Get a list of parts for a single tag type

Request Parameters
name type description
id path id of the tag type to return tags for
Response Body
media type data type description
application/json MigrationPartsResponse (JSON) response object containing the parts for the requested tag type

Example

Request
GET /migration/getPartsForTagType/{id}
Accept: application/json

              
Response
HTTP/1.1 200 OK
Content-Type: application/json

                
{
  "parts" : [ {
    "name" : "...",
    "keyword" : "...",
    "hidden" : true,
    "editable" : true,
    "liveEditable" : true,
    "type" : "PAGETAG",
    "id" : 12345,
    "globalId" : "...",
    "defaultProperty" : {
      "type" : "FILE",
      "stringValue" : "...",
      "booleanValue" : true,
      "fileId" : 12345,
      "imageId" : 12345,
      "folderId" : 12345,
      "pageId" : 12345,
      "stringValues" : [ "...", "..." ],
      "options" : [ { }, { } ],
      "selectedOptions" : [ { }, { } ],
      "datasourceId" : 12345,
      "overview" : { },
      "templateId" : 12345,
      "contentTagId" : 12345,
      "templateTagId" : 12345,
      "nodeId" : 12345,
      "partId" : 12345,
      "id" : 12345,
      "globalId" : "..."
    }
  }, {
    "name" : "...",
    "keyword" : "...",
    "hidden" : true,
    "editable" : true,
    "liveEditable" : true,
    "type" : "OVERVIEW",
    "id" : 12345,
    "globalId" : "...",
    "defaultProperty" : {
      "type" : "LIST",
      "stringValue" : "...",
      "booleanValue" : true,
      "fileId" : 12345,
      "imageId" : 12345,
      "folderId" : 12345,
      "pageId" : 12345,
      "stringValues" : [ "...", "..." ],
      "options" : [ { }, { } ],
      "selectedOptions" : [ { }, { } ],
      "datasourceId" : 12345,
      "overview" : { },
      "templateId" : 12345,
      "contentTagId" : 12345,
      "templateTagId" : 12345,
      "nodeId" : 12345,
      "partId" : 12345,
      "id" : 12345,
      "globalId" : "..."
    }
  } ],
  "messages" : [ {
    "fieldName" : "...",
    "message" : "...",
    "type" : "CRITICAL",
    "timestamp" : 12345,
    "image" : "...",
    "sender" : {
      "id" : 12345,
      "firstName" : "...",
      "lastName" : "...",
      "description" : "...",
      "email" : "...",
      "groups" : [ { }, { } ],
      "login" : "...",
      "password" : "..."
    },
    "id" : 12345
  }, {
    "fieldName" : "...",
    "message" : "...",
    "type" : "WARNING",
    "timestamp" : 12345,
    "image" : "...",
    "sender" : {
      "id" : 12345,
      "firstName" : "...",
      "lastName" : "...",
      "description" : "...",
      "email" : "...",
      "groups" : [ { }, { } ],
      "login" : "...",
      "password" : "..."
    },
    "id" : 12345
  } ],
  "responseInfo" : {
    "responseCode" : "NOTFOUND",
    "responseMessage" : "...",
    "property" : "..."
  }
}
                
              

POST /migration/getMigrationTagTypes

This method has been deprecated. use #getMigrationConstructs(MigrationTagsRequest) instead

Get a list of Tag Types for possible migration by examining the given objects

Request Body
media type data type description
application/json MigrationTagsRequest (JSON) migration tags request object
Response Body
media type data type description
application/json MigrationTagsResponse (JSON) response object containing the tags for the requested objects

Example

Request
POST /migration/getMigrationTagTypes
Content-Type: application/json
Accept: application/json

                
{
  "type" : "...",
  "ids" : [ 12345, 12345 ]
}
                
              
Response
HTTP/1.1 201 Created
Content-Type: application/json

                
{
  "tagTypes" : {
    "property1" : {
      "keyword" : "...",
      "mayBeSubtag" : true,
      "mayContainSubtags" : true,
      "id" : 12345,
      "globalId" : "...",
      "name" : "...",
      "description" : "...",
      "icon" : "...",
      "creator" : {
        "id" : 12345,
        "firstName" : "...",
        "lastName" : "...",
        "description" : "...",
        "email" : "...",
        "groups" : [ { }, { } ],
        "login" : "...",
        "password" : "..."
      },
      "cdate" : 12345,
      "editor" : {
        "id" : 12345,
        "firstName" : "...",
        "lastName" : "...",
        "description" : "...",
        "email" : "...",
        "groups" : [ { }, { } ],
        "login" : "...",
        "password" : "..."
      },
      "edate" : 12345,
      "editdo" : 12345,
      "category" : "...",
      "categorySortorder" : 12345,
      "parts" : [ {
        "name" : "...",
        "keyword" : "...",
        "hidden" : true,
        "editable" : true,
        "liveEditable" : true,
        "type" : "NODE",
        "id" : 12345,
        "globalId" : "...",
        "defaultProperty" : { }
      }, {
        "name" : "...",
        "keyword" : "...",
        "hidden" : true,
        "editable" : true,
        "liveEditable" : true,
        "type" : "FOLDER",
        "id" : 12345,
        "globalId" : "...",
        "defaultProperty" : { }
      } ],
      "visibleInMenu" : true
    },
    "property2" : {
      "keyword" : "...",
      "mayBeSubtag" : true,
      "mayContainSubtags" : true,
      "id" : 12345,
      "globalId" : "...",
      "name" : "...",
      "description" : "...",
      "icon" : "...",
      "creator" : {
        "id" : 12345,
        "firstName" : "...",
        "lastName" : "...",
        "description" : "...",
        "email" : "...",
        "groups" : [ { }, { } ],
        "login" : "...",
        "password" : "..."
      },
      "cdate" : 12345,
      "editor" : {
        "id" : 12345,
        "firstName" : "...",
        "lastName" : "...",
        "description" : "...",
        "email" : "...",
        "groups" : [ { }, { } ],
        "login" : "...",
        "password" : "..."
      },
      "edate" : 12345,
      "editdo" : 12345,
      "category" : "...",
      "categorySortorder" : 12345,
      "parts" : [ {
        "name" : "...",
        "keyword" : "...",
        "hidden" : true,
        "editable" : true,
        "liveEditable" : true,
        "type" : "RICHTEXT",
        "id" : 12345,
        "globalId" : "...",
        "defaultProperty" : { }
      }, {
        "name" : "...",
        "keyword" : "...",
        "hidden" : true,
        "editable" : true,
        "liveEditable" : true,
        "type" : "UNKNOWN",
        "id" : 12345,
        "globalId" : "...",
        "defaultProperty" : { }
      } ],
      "visibleInMenu" : true
    }
  },
  "messages" : [ {
    "fieldName" : "...",
    "message" : "...",
    "type" : "CRITICAL",
    "timestamp" : 12345,
    "image" : "...",
    "sender" : {
      "id" : 12345,
      "firstName" : "...",
      "lastName" : "...",
      "description" : "...",
      "email" : "...",
      "groups" : [ { }, { } ],
      "login" : "...",
      "password" : "..."
    },
    "id" : 12345
  }, {
    "fieldName" : "...",
    "message" : "...",
    "type" : "NEUTRAL",
    "timestamp" : 12345,
    "image" : "...",
    "sender" : {
      "id" : 12345,
      "firstName" : "...",
      "lastName" : "...",
      "description" : "...",
      "email" : "...",
      "groups" : [ { }, { } ],
      "login" : "...",
      "password" : "..."
    },
    "id" : 12345
  } ],
  "responseInfo" : {
    "responseCode" : "NOTFOUND",
    "responseMessage" : "...",
    "property" : "..."
  }
}
                
              

POST /migration/getMigrationConstructs

Get a list of constructs, that can be migrated for the given type

Request Body
media type data type description
application/json MigrationTagsRequest (JSON) request containing the migration type
Response Body
media type data type description
application/json ConstructListResponse (JSON) list of constructs

Example

Request
POST /migration/getMigrationConstructs
Content-Type: application/json
Accept: application/json

                
{
  "type" : "...",
  "ids" : [ 12345, 12345 ]
}
                
              
Response
HTTP/1.1 201 Created
Content-Type: application/json

                
{
  "constructs" : [ {
    "keyword" : "...",
    "mayBeSubtag" : true,
    "mayContainSubtags" : true,
    "id" : 12345,
    "globalId" : "...",
    "name" : "...",
    "description" : "...",
    "icon" : "...",
    "creator" : {
      "id" : 12345,
      "firstName" : "...",
      "lastName" : "...",
      "description" : "...",
      "email" : "...",
      "groups" : [ { }, { } ],
      "login" : "...",
      "password" : "..."
    },
    "cdate" : 12345,
    "editor" : {
      "id" : 12345,
      "firstName" : "...",
      "lastName" : "...",
      "description" : "...",
      "email" : "...",
      "groups" : [ { }, { } ],
      "login" : "...",
      "password" : "..."
    },
    "edate" : 12345,
    "editdo" : 12345,
    "category" : "...",
    "categorySortorder" : 12345,
    "parts" : [ {
      "name" : "...",
      "keyword" : "...",
      "hidden" : true,
      "editable" : true,
      "liveEditable" : true,
      "type" : "MULTISELECT",
      "id" : 12345,
      "globalId" : "...",
      "defaultProperty" : { }
    }, {
      "name" : "...",
      "keyword" : "...",
      "hidden" : true,
      "editable" : true,
      "liveEditable" : true,
      "type" : "FILE",
      "id" : 12345,
      "globalId" : "...",
      "defaultProperty" : { }
    } ],
    "visibleInMenu" : true
  }, {
    "keyword" : "...",
    "mayBeSubtag" : true,
    "mayContainSubtags" : true,
    "id" : 12345,
    "globalId" : "...",
    "name" : "...",
    "description" : "...",
    "icon" : "...",
    "creator" : {
      "id" : 12345,
      "firstName" : "...",
      "lastName" : "...",
      "description" : "...",
      "email" : "...",
      "groups" : [ { }, { } ],
      "login" : "...",
      "password" : "..."
    },
    "cdate" : 12345,
    "editor" : {
      "id" : 12345,
      "firstName" : "...",
      "lastName" : "...",
      "description" : "...",
      "email" : "...",
      "groups" : [ { }, { } ],
      "login" : "...",
      "password" : "..."
    },
    "edate" : 12345,
    "editdo" : 12345,
    "category" : "...",
    "categorySortorder" : 12345,
    "parts" : [ {
      "name" : "...",
      "keyword" : "...",
      "hidden" : true,
      "editable" : true,
      "liveEditable" : true,
      "type" : "BOOLEAN",
      "id" : 12345,
      "globalId" : "...",
      "defaultProperty" : { }
    }, {
      "name" : "...",
      "keyword" : "...",
      "hidden" : true,
      "editable" : true,
      "liveEditable" : true,
      "type" : "PAGE",
      "id" : 12345,
      "globalId" : "...",
      "defaultProperty" : { }
    } ],
    "visibleInMenu" : true
  } ],
  "hasMoreItems" : true,
  "numItems" : 12345,
  "messages" : [ {
    "fieldName" : "...",
    "message" : "...",
    "type" : "SUCCESS",
    "timestamp" : 12345,
    "image" : "...",
    "sender" : {
      "id" : 12345,
      "firstName" : "...",
      "lastName" : "...",
      "description" : "...",
      "email" : "...",
      "groups" : [ { }, { } ],
      "login" : "...",
      "password" : "..."
    },
    "id" : 12345
  }, {
    "fieldName" : "...",
    "message" : "...",
    "type" : "SUCCESS",
    "timestamp" : 12345,
    "image" : "...",
    "sender" : {
      "id" : 12345,
      "firstName" : "...",
      "lastName" : "...",
      "description" : "...",
      "email" : "...",
      "groups" : [ { }, { } ],
      "login" : "...",
      "password" : "..."
    },
    "id" : 12345
  } ],
  "responseInfo" : {
    "responseCode" : "AUTHREQUIRED",
    "responseMessage" : "...",
    "property" : "..."
  }
}