Use APIs to Manage Fields in a Test Data Model

This article explains with the help of an example about how test data engineers (TDEs) can use exposed CA TDM Portal APIs to manage fields in test data models after they create them.
tdm42
This article explains with the help of an example about how test data engineers (TDEs) can use exposed CA TDM Portal APIs to manage fields in test data models after they create them.
This article covers the following tasks. You perform all these tasks by using the APIs. You get the information about the available fields in a test data model. You then identify the fields that you want to update and delete.  
2
2
 
Note:
 For more information about test data model concepts, persona-based tasks, prerequisites, assumptions, and considerations, see Use APIs to Design and Consume Automated Test Data Services.
This page refers to the following API Services:
Update a Field in a Test Data Model
The process to update a field in a test data model is as follows:
You can update the following properties:
  • Display name of the field
  • Display type of the field
  • Display order of the field
  • Display values of the field
  • Whether to display the field
Get the Security Token 
Use the login API to log in and generate a security token. You use your CA TDM Portal login credentials to generate the security token. You can then use the same security token to perform all other operations. The security token remains valid for 24 hours.
Follow these steps:
  1. Access an application that allows you to encode your credentials to the Base64 format.
  2. Enter your CA TDM Portal login credentials (in the format 
    <user name>:<password>
    ) in the source field.
    Note:
     Ensure that the credentials have appropriate permissions to perform all the required operations.
  3. Click the option to encode the credentials. The encoded Base64 format for the example is displayed as follows:
    ZwRTaX5pc4SxYXSvcjptYXJtaXRl
  4. Copy the encoded value.
  5. Access the following CA TDM Portal API:
    POST https://<server>:<host>/TestDataManager/user/login
  6. Enter the encoded value in the 
    Authorization
     field, which is as follows for the example:
    Basic YWRtaW5pc3RyYXRvcjptYXJtaXRl
  7. Run the API to get a security token for your credentials.
  8. Note the value of the 
    token
     parameter in the response body, which is as follows for the example:
    eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJBZG1pbmlU0VSX0lEBTExfUFJPSkVDVFNcIjpbMTAwXX0ifQ.7T1CyH_xQK0vQcBB7dLojUxm8ENTeRRrdOa-RQ5l4Ro
    You have successfully generated a security token that you can use in all the subsequent operations explained in this article. 
Get the Project ID 
Get the project ID that includes the required test data model. Note the project ID, because you will be using it in all the subsequent operations.
Follow these steps:
  1. Access the following CA TDM Portal API:
    GET https://<server>:<host>/TDMProjectService/api/ca/v1/projects
  2. Enter the security token in the 
    Authorization
     field as follows:
    Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJBZG1pbmlU0VSX0lEBTExfUFJPSkVDVFNcIjpbMTAwXX0ifQ.7T1CyH_xQK0vQcBB7dLojUxm8ENTeRRrdOa-RQ5l4Ro
  3. Run the API and review the response body. The following example response is generated:
    {
    "name": "Order",
    "description": "This is Order Management project.",
    "dateOrder": "YMD",
    "id": 141357,
    "inheritTables": true,
    "timestampPrecision": 3,
    "type": "DB",
    "levels": [],
    "created": null,
    "updated": null,
    "versions": [],
    "grantedFunctions": []
    },
    {
    "name": "StoreFront - Example Project - Oracle",
    "description": "StoreFront - Oracle",
    "dateOrder": "YMD",
    "id": 1760,
    "inheritTables": true,
    "timestampPrecision": 6,
    "type": "DB",
    "levels": [],
    "created": null,
    "updated": null,
    "versions": [],
    "grantedFunctions": []
    },
    {
    "name": "StoreFront - Example Project - SQL Server",
    "description": "StoreFront - Example Project - SQL Server",
    "dateOrder": "YMD",
    "id": 2234,
    "inheritTables": true,
    "timestampPrecision": 3,
    "type": "DB",
    "levels": [],
    "created": null,
    "updated": null,
    "versions": [],
    "grantedFunctions": []
    },
    {
    "name": "TDMPublish_Centrica",
    "description": "TDMPublish_Centrica",
    "dateOrder": "YMD",
    "id": 7739,
    "inheritTables": true,
    "timestampPrecision": 3,
    "type": "DB",
    "levels": [],
    "created": null,
    "updated": null,
    "versions": [],
    "grantedFunctions": []
    }
    ]
  4. Identify the project and note the project ID. For this example, the project is Order with the ID 141357. 
Get the Version ID 
After you get the project ID, you must get the associated version ID. Note the version ID, because you will be using it in all the subsequent operations.
Follow these steps:
  1. Access the following CA TDM Portal API:
    GET https://<server>:<host>/TDMProjectService/api/ca/v1/projects/{projectId}/versions
  2. Enter the security token in the 
    Authorization
     field as follows:
    Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJBZG1pbmlU0VSX0lEBTExfUFJPSkVDVFNcIjpbMTAwXX0ifQ.7T1CyH_xQK0vQcBB7dLojUxm8ENTeRRrdOa-RQ5l4Ro
  3. Enter the project ID as 141357 in the 
    projectId
     field. 
  4. Run the API and review the response body. The following example response is generated:
    [
    {
    "id": 141358,
    "name": "1.0",
    "created": "2017-03-07T07:28:09+0000",
    "description": "This is Order Management version 1.0.",
    "projectName": null,
    "levelDetails": null,
    "registeredObjectCount": 0,
    "tablesUsed": null,
    "isGeneric": false
    }
    ]
  5. Note the version ID, which is 141358 in this example.
Get the Test Data Model ID 
Get the list of test data models for your specific project and version. After you get the list, identify the test data model that includes the field that you want to update. Note the ID of the test data model. 
Follow these steps:
 
  1. Access the following CA TDM Portal API:
    GET https://<server>:<host>/TDMDataReservationService/api/ca/v1/testDataModels
  2. Enter the security token in the 
    Authorization
     field as follows:
    Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJBZG1pbmlU0VSX0lEBTExfUFJPSkVDVFNcIjpbMTAwXX0ifQ.7T1CyH_xQK0vQcBB7dLojUxm8ENTeRRrdOa-RQ5l4Ro
  3. Enter information in the following fields:
    • projectId
      Specifies the ID of the project for which you want to retrieve test data models. For this example, the value is 141357.
    • versionId
      Specifies the ID of the project version for which you want to retrieve test data models. For this example, the value is 141358.
  4. Run the API and review the response body. The following example response is generated:
    {
    "numberOfTestDataModels": 2,
    "totalNumberOfTestDataModels": 2,
    "testDataModelsList": [
    {
    "id": 2587,
    "name": "Orders",
    "description": "This test data model is for Orders Management application.",
    "visible": true,
    "projectId": 141357,
    "versionId": 141358
    },
    {
    "id": 410,
    "name": "Product_Purchase",
    "description": "This test data model is for the Purchase application.",
    "visible": true,
    "projectId": 141357,
    "versionId": 141358
    }
    ]
    }
    Note that the specified project and version include two test data models: Orders and Product_Purchase.
  5. Identify the test data model that includes the field; note the test data model ID. For this example, the test data model ID 2587 includes the field.
Get All Fields in the Identified Test Data Model
Get all the fields that are related to a specific test data model. After you get the list, identify the field that you want to update. 
Follow these steps:
 
  1. Access the following CA TDM Portal API:
    GET https://<server>:<host>/TDMDataReservationService/api/ca/v1/testDataModels/{testDataModelId}/fields
  2. Enter the security token in the 
    Authorization
     field as follows:
    Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJBZG1pbmlU0VSX0lEBTExfUFJPSkVDVFNcIjpbMTAwXX0ifQ.7T1CyH_xQK0vQcBB7dLojUxm8ENTeRRrdOa-RQ5l4Ro
  3. Enter information in the following fields:
    • projectId
      Specifies the ID of the project that includes the test data model for which you want to get the fields. For this example, the value is 141357.
    • versionId
      Specifies the ID of the project version that includes the test data model for which you want to get the fields. For this example, the value is 141358.
    • testDataModelId
      Specifies the ID of the test data model for which you want to get the associations. For this example, the value is 2587.
  4. Run the API and review the response body. The following example response that includes all the fields for the selected test data model is generated:
    {
    "totalNoOfFields": 3,
    "fields": [
    {
    "associationId": null,
    "name": "OrderID",
    "displayName": "OrderID_MK_Display",
    "displayOrder": 1,
    "isVisible": true,
    "displayType": "TextBox",
    "dataType": "int",
    "displayValues": [],
    "id": 2589,
    "projectId": 141357,
    "versionId": 141358
    },
    {
    "associationId": 2594,
    "name": "UnitPrice",
    "displayName": "UnitPrice_DE_Display",
    "displayOrder": 1,
    "isVisible": true,
    "displayType": "TextBox",
    "dataType": "money",
    "displayValues": [],
    "id": 2595,
    "projectId": 141357,
    "versionId": 141358
    },
    {
    "associationId": 2591,
    "name": "Quantity",
    "displayName": "Quantity_DE_Display",
    "displayOrder": 1,
    "isVisible": true,
    "displayType": "TextBox",
    "dataType": "smallint",
    "displayValues": [],
    "id": 2592,
    "projectId": 141357,
    "versionId": 141358
    }
    ],
    "noOfFields": 3
    }
    Note that the response includes three fields with IDs 2589, 2595, and 2592 for the test data model (2587).
  5. Identify the field that you want to update and note its ID. For this example, the filed with the ID 2592 is chosen for the update.
Get Details of the Identified Field 
After you note the field ID that you want to update, you can retrieve its details to review the information in more detail. 
Follow these steps:
 
  1. Access the following CA TDM Portal API:
    GET https://<server>:<host>/TDMDataReservationService/api/ca/v1/testDataModels/{testDataModelId}/fields/{fieldId}
  2. Enter the security token in the 
    Authorization
     field as follows:
    Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJBZG1pbmlU0VSX0lEBTExfUFJPSkVDVFNcIjpbMTAwXX0ifQ.7T1CyH_xQK0vQcBB7dLojUxm8ENTeRRrdOa-RQ5l4Ro
  3. Enter information in the following fields as follows:
    • projectId
      Specifies the ID of the project related to the test data model that includes the field for which you want to get the details. For this example, the project ID value is 141357.
    • versionId
      Specifies the ID of the project version related to the test data model that includes the field for which you want to get the details. For this example, the value of the version ID is 141358.
    • testDataModelId
      Specifies the ID of the test data model that includes the field for which you want to get the details. For this example, the value of the test data model ID is 2587.
    • field
      Specifies the ID of the field for which you want to get the details. For this example, the value of the association ID is 2592.
  4. Run the API and review the response body. The following example response is generated for the field ID 2592:
    {
    "associationId": 2591,
    "name": "Quantity",
    "displayName": "Quantity_DE_Display",
    "displayOrder": 1,
    "isVisible": true,
    "displayType": "TextBox",
    "dataType": "smallint",
    "displayValues": [],
    "id": 2592,
    "projectId": 141357,
    "versionId": 141358
    }
  5. Review the properties that you want to update. For this example, the display name (Quantity_DE_Display) of the field is selected to be changed to Quantity_Display.
Update the Identified Field
After you review and identify the field property that you want to update, you can use the update field API to do the update. 
Follow these steps:
 
  1. Access the following CA TDM Portal API:
    PUT https://<server>:<host>/TDMDataReservationService/api/ca/v1/testDataModels/{testDataModelId}/fields/{fieldId}
  2. Enter the security token in the 
    Authorization
     field as follows:
    Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJBZG1pbmlU0VSX0lEBTExfUFJPSkVDVFNcIjpbMTAwXX0ifQ.7T1CyH_xQK0vQcBB7dLojUxm8ENTeRRrdOa-RQ5l4Ro
  3. Enter information in the following fields as follows:
    • projectId
      Specifies the ID of the project related to the test data model that includes the field you want to update. For this example, the value is 141357.
    • versionId
      Specifies the ID of the project version related to the test data model that includes the field you want to update. For this example, the value is 141358.
    • testDataModelId
      Specifies the ID of the test data model that includes the field you want to update. For this example, the value is 386.
    • fieldId
      Specifies the ID of the field that you want to update. For this example, the value of the association ID is 2592.
    • field
      Specifies the payload that includes the field parameters. Specify the parameter values that you want to update. This payload includes the following parameters:
      • associationId
        Specifies the ID of the association that is related to the field you want to update. For this example, the value is 2591.
      • displayName
        Specifies the display name of the field that you want to update. For this example, the value is Quantity_DE_Display.
      • displayOrder
        Specifies the order in which you want to display this field (in the form) to testers. For this example, the value is 1.
      • displayType 
        Specifies the display type of the field. For this example, the value is TextBox.
      • displayValues
        Specifies the default value for the field. For this example, no display values are used.
      • isVisible 
        Specifies whether you want to display this field to testers. If yes, set the value to true; otherwise, set the value to false. For this example, the value is set to true.
      • name
        Specifies the name of the field. For this example, the value is Quantity.
      For this example, the association update payload is as follows. Note that the display name of the field is selected for the update:
      {
      "associationId": 2591,
      "displayName": "
      Quantity_Display
      ",
      "displayOrder": 1,
      "displayType": "TextBox",
      "displayValues": [],
      "isVisible": true,
      "name": "Quantity"
      }
  4. Run the API and review the response body. The following example response is generated:
    {
    "associationId": 2591,
    "name": "Quantity",
    "displayName": "
    Quantity_Display
    ",
    "displayOrder": 1,
    "isVisible": true,
    "displayType": "TextBox",
    "dataType": "smallint",
    "displayValues": [],
    "id": 2592,
    "projectId": 141357,
    "versionId": 141358
    }
  5. Review that the response includes the updated property. In this case, the display name of the field is changed to Quantity_Display. 
You have successfully updated a field in a test data model. 
Delete a Field in a Test Data Model
The process to delete a field in a test data model is as follows:
Get the Security Token  
Use the login API to log in and generate a security token. You use your CA TDM Portal login credentials to generate the security token. You can then use the same security token to perform all other operations. The security token remains valid for 24 hours. To get the security token and log into the CA TDM Portal, follow the instructions in the corresponding section in Update a Test Data Model.
Get the Project ID
Get the project ID that includes the required test data model. Note the project ID, because you will be using it in all the subsequent operations. To get the project ID, follow the detailed instructions in the corresponding section in Update a Field in a Test Data Model.
Summary of the example value used in this API is as follows:
  • Authorization:
    Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJBZG1pbmlU0VSX0lEBTExfUFJPSkVDVFNcIjpbMTAwXX0ifQ.7T1CyH_xQK0vQcBB7dLojUxm8ENTeRRrdOa-RQ5l4Ro
The following response is generated, note the project ID (141357):
{
"name": "Order",
"description": "This is Order Management project.",
"dateOrder": "YMD",
"id": 141357,
"inheritTables": true,
"timestampPrecision": 3,
"type": "DB",
"levels": [],
"created": null,
"updated": null,
"versions": [],
"grantedFunctions": []
},
{
"name": "StoreFront - Example Project - Oracle",
"description": "StoreFront - Oracle",
"dateOrder": "YMD",
"id": 1760,
"inheritTables": true,
"timestampPrecision": 6,
"type": "DB",
"levels": [],
"created": null,
"updated": null,
"versions": [],
"grantedFunctions": []
},
{
"name": "StoreFront - Example Project - SQL Server",
"description": "StoreFront - Example Project - SQL Server",
"dateOrder": "YMD",
"id": 2234,
"inheritTables": true,
"timestampPrecision": 3,
"type": "DB",
"levels": [],
"created": null,
"updated": null,
"versions": [],
"grantedFunctions": []
},
{
"name": "TDMPublish_Centrica",
"description": "TDMPublish_Centrica",
"dateOrder": "YMD",
"id": 7739,
"inheritTables": true,
"timestampPrecision": 3,
"type": "DB",
"levels": [],
"created": null,
"updated": null,
"versions": [],
"grantedFunctions": []
}
]
Get the Version ID 
After you get the project ID, you must get the associated version ID. Note the version ID, because you will be using it in all the subsequent operations. To get the version ID associated with the retrieved project ID, follow the detailed instructions in the corresponding section in Update a Field in a Test Data Model.
Summary of the example values used in this API is as follows:
  • Authorization:
     Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJBZG1pbmlU0VSX0lEBTExfUFJPSkVDVFNcIjpbMTAwXX0ifQ.7T1CyH_xQK0vQcBB7dLojUxm8ENTeRRrdOa-RQ5l4Ro
  • projectId: 
    141357 
The following example response is generated; note the version ID (141358):
[
{
"id": 141358,
"name": "1.0",
"created": "2017-03-07T07:28:09+0000",
"description": "This is Order Management version 1.0.",
"projectName": null,
"levelDetails": null,
"registeredObjectCount": 0,
"tablesUsed": null,
"isGeneric": false
}
]
Get the Test Data Model ID 
Get the list of test data models for your specific project and version. After you get the list, identify the test data model that includes the field that you want to delete. Note the ID of the test data model. To get the ID, follow the detailed instructions in the corresponding section in Update a Field in a Test Data Model.
Summary of the example values used in this API is as follows: 
  • Authorization: 
    Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJBZG1pbmlU0VSX0lEBTExfUFJPSkVDVFNcIjpbMTAwXX0ifQ.7T1CyH_xQK0vQcBB7dLojUxm8ENTeRRrdOa-RQ5l4Ro
  • projectId: 
    141357
  • versionId: 
    141358 
The following example response is generated. Note that the specified project and version include two test data models: Orders and Product_Purchase. Identify the test data model that includes the field; note the test data model ID. For this example, the test data model ID 2587 includes the field. 
{
"numberOfTestDataModels": 2,
"totalNumberOfTestDataModels": 2,
"testDataModelsList": [
{
"id": 2587,
"name": "Orders",
"description": "This test data model is for Orders Management application.",
"visible": true,
"projectId": 141357,
"versionId": 141358
},
{
"id": 410,
"name": "Product_Purchase",
"description": "This test data model is for the Purchase application.",
"visible": true,
"projectId": 141357,
"versionId": 141358
}
]
}
Get All Fields in the Identified Test Data Model
Get all the fields that are related to the selected test data model. After you get the list, identify the field that you want to delete. To get list of fields in a test data model, follow the detailed instructions in the corresponding section in Update a Field in a Test Data Model.
Summary of the example values used in this API are as follows:
  • Authorization:
     Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJBZG1pbmlU0VSX0lEBTExfUFJPSkVDVFNcIjpbMTAwXX0ifQ.7T1CyH_xQK0vQcBB7dLojUxm8ENTeRRrdOa-RQ5l4Ro
  • projectId:
     141357
  • versionId:
     141358
  • testDataModelId:
     2587
The following example response is generated. Note that the response includes three fields with IDs 2589, 2595, and 2592 for the test data model (2587). Also, note that the field 2592 now shows the updated display name Quantity_Display, which you updated in the previous section. Identify the field that you want to delete and note its ID. For this example, the filed with the ID 2592 is chosen for the delete operation: 
{
"totalNoOfFields": 3,
"fields": [
{
"associationId": null,
"name": "OrderID",
"displayName": "OrderID_MK_Display",
"displayOrder": 1,
"isVisible": true,
"displayType": "TextBox",
"dataType": "int",
"displayValues": [],
"id": 2589,
"projectId": 141357,
"versionId": 141358
},
{
"associationId": 2594,
"name": "UnitPrice",
"displayName": "UnitPrice_DE_Display",
"displayOrder": 1,
"isVisible": true,
"displayType": "TextBox",
"dataType": "money",
"displayValues": [],
"id": 2595,
"projectId": 141357,
"versionId": 141358
},
{
"associationId": 2591,
"name": "Quantity",
"displayName": "
Quantity_Display
",
"displayOrder": 1,
"isVisible": true,
"displayType": "TextBox",
"dataType": "smallint",
"displayValues": [],
"id":
2592
,
"projectId": 141357,
"versionId": 141358
}
],
"noOfFields": 3
}
Get Details of the Identified Field  
After you note the field ID that you want to delete, you can retrieve its details to review the information in more detail. To get details of a specific field, follow the detailed instructions in the corresponding section in Update a Field in a Test Data Model.
Summary of the example values used in this API are as follows:
  • Authorization:
     Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJBZG1pbmlU0VSX0lEBTExfUFJPSkVDVFNcIjpbMTAwXX0ifQ.7T1CyH_xQK0vQcBB7dLojUxm8ENTeRRrdOa-RQ5l4Ro
  • projectId:
     141357
  • versionId:
     141358
  • testDataModelId:
     2587
  • fieldId:
     2592
The following example response is generated for the field ID 2592. Review the properties to verify that you want to delete this field:
{
"associationId": 2591,
"name": "Quantity",
"displayName": "Quantity_Display",
"displayOrder": 1,
"isVisible": true,
"displayType": "TextBox",
"dataType": "smallint",
"displayValues": [],
"id": 2592,
"projectId": 141357,
"versionId": 141358
}
Delete the Identified Field
After you identify and confirm the appropriate field in a test data model, you can go ahead and delete it. 
Follows these steps:
 
  1. Access the following CA TDM Portal API:
    DELETE https://<server>:<host>/TDMDataReservationService/api/ca/v1/testDataModels/{testDataModelId}/fields/{fieldId}
  2. Enter the security token in the 
    Authorization
     field as follows:
    Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJBZG1pbmlU0VSX0lEBTExfUFJPSkVDVFNcIjpbMTAwXX0ifQ.7T1CyH_xQK0vQcBB7dLojUxm8ENTeRRrdOa-RQ5l4Ro
  3. Enter information in the following fields as follows:
    • projectId
      Specifies the ID of the project that includes the test data model from which you want to delete the field. For this example, the value of the project ID is 141357.
    • versionId
      Specifies the ID of the project version that includes the test data model from which you want to delete the field. For this example, the value of the version ID is 141358.
    • testDataModelId
      Specifies the ID of the test data model from which you want to delete the field. For this example, the value of the test data model ID is 2587.
    • fieldId
      Specifies the ID of the field you want to delete. For this example, the value of the field ID is 2592.
  4. Run the API and review the response body:
    {
    "message": "Field is deleted successfully."
    }
  5. Review that the response includes a message that states that the field has been deleted successfully.
Verify the Deletion
After you run the delete field API to delete the field, you can verify whether the field is appearing in the test data model.
Follow these steps:
  1. Access the following CA TDM Portal API:
    GET https://<server>:<host>/TDMDataReservationService/api/ca/v1/testDataModels/{testDataModelId}/fields
  2. Enter the security token in the 
    Authorization
     field as follows:
    Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJBZG1pbmlU0VSX0lEBTExfUFJPSkVDVFNcIjpbMTAwXX0ifQ.7T1CyH_xQK0vQcBB7dLojUxm8ENTeRRrdOa-RQ5l4Ro
  3. Enter information in the following fields:
    • projectId
      Specifies the ID of the project that includes the test data model for which you want to get the fields. For this example, the value is 141357.
    • versionId
      Specifies the ID of the project version that includes the test data model for which you want to get the fields. For this example, the value is 141358.
    • testDataModelId
      Specifies the ID of the test data model for which you want to get the associations. For this example, the value is 2587.
  4. Run the API and review the response body. The following example response that includes all the fields for the selected test data model is generated:
    {
    "totalNoOfFields": 2,
    "fields": [
    {
    "associationId": null,
    "name": "OrderID",
    "displayName": "OrderID_MK_Display",
    "displayOrder": 1,
    "isVisible": true,
    "displayType": "TextBox",
    "dataType": "int",
    "displayValues": [],
    "id": 2589,
    "projectId": 141357,
    "versionId": 141358
    },
    {
    "associationId": 2594,
    "name": "UnitPrice",
    "displayName": "UnitPrice_DE_Display",
    "displayOrder": 1,
    "isVisible": true,
    "displayType": "TextBox",
    "dataType": "money",
    "displayValues": [],
    "id": 2595,
    "projectId": 141357,
    "versionId": 141358
    }
    ],
    "noOfFields": 2
    }
  5. Note that the response no longer includes the field 2592. The response now includes only two remaining fields with IDs 2589 and 2595 for the test data model 2587.
You have successfully deleted a field in a test data model.