Model XML representation
In its request body, the Create Model operation requires the XML representation of the model to create in the root element <mdm:CreateModelRequest>. Similarly, the Update Model operation requires in its request body, in the root element <mdm:UpdateModelRequest>, the XML representation of the model upon completion of the update. Conversely, the Get Model operation returns in its response body, in the root element <mdm:GetModelResponse>, the XML representation of the model specified in the request by its system ID.
<mdm:CreateModelRequest>, <mdm:UpdateModelRequest>, and <mdm:GetModelResponse> have the following child elements:
-
<mdm:name>— name of the model, which contains a minimum of two characters and a maximum of 40
The <mdm:businessRule> element is common to the <mdm:sources>, <mdm:dataQualitySteps>, and <mdm:tags> element structures.
<mdm:GetModelResponse> has the following additional child elements:
-
<mdm:version>— model version number -
<mdm:id>— system ID of the model
Child elements are empty if the objects they represent are not defined in the model. For example, if the model does not have data quality steps, <mdm:dataQualitySteps> is empty.