Property | Description |
---|---|
Endpoint | /api/v1/integration/categories |
Method | POST |
Parameter | Description | Additional Information |
---|---|---|
name | Required. Enter a name for the category. | Ensure that you enter a unique value. Data Marketplace doesn't consider the letter case when it verifies the uniqueness of the name parameter's value. For example, if you try to name a category as "Retail Department" while a category called "Retail department" already exists, the API call fails. |
description | Required. Enter a description for the category. | - |
dataOwners | Optional. Enter the system generated unique identifier of the user account or user group that is assigned as a stakeholder on the category with the Category Owner stakeholder role. |
For example, in the URL /cloudUI/products/administer/main/usersAsset/0LH3xBJC9A6haZ26htGZyT, the system generated unique identifier is 0LH3xBJC9A6haZ26htGZyT. For example, in the URL /cloudUI/products/administer/main/userGroupsAsset/90uizkSWg0ycuu7hSNXSW4, the system generated unique identifier is 90uizkSWg0ycuu7hSNXSW4. |
Parameter | Description |
---|---|
index | The position of the category in the objects JSON array. This value does not impact how the category is used by a Data Marketplace user. |
id | System generated unique identifier of the category. |
refId | Reference identifier of the category. |
name | Name of the category. |
Property | Description |
---|---|
Endpoint | /api/v1/integration/categories |
Method | GET |
Parameter | Description | Additional Information |
---|---|---|
search | Optional. Enter the search term that you want to use to find a category. | Ensure that the search term that you enter don't contain an asterisk (*). |
fields | Optional. Enter the fields on which the search term applies. The terms that you entered in the search field parameter are used to search the fields that you specify here. | Enter the following values:
|
ids | Optional. Enter the system generated unique identifier of a category. | To get the system generated unique identifier of a category, open the category. The category page's URL contains the system generated unique identifier. For example, in the URL https://{{CDMP_URL}}/category/view?ac=67417f72-e5ab-44f0-add9-a1e412c1ce13&dtn=_AfterEBF%20may20, the system generated unique identifier is 67417f72-e5ab-44f0-add9-a1e412c1ce13. To enter more than one value, use the following format: ids=<value1>&ids=<value2> |
dataOwners | Optional. Enter the system generated unique identifier of the user account or user group that is assigned as a stakeholder on the category with the Category Owner stakeholder role. |
For example, in the URL /cloudUI/products/administer/main/usersAsset/0LH3xBJC9A6haZ26htGZyT, the system generated unique identifier is 0LH3xBJC9A6haZ26htGZyT. For example, in the URL /cloudUI/products/administer/main/userGroupsAsset/90uizkSWg0ycuu7hSNXSW4, the system generated unique identifier is 90uizkSWg0ycuu7hSNXSW4. |
status | Optional. Specify the status of the category. The status determines whether the category is available in Data Marketplace. | Enter one of the following values:
|
createdDateFrom | Optional. To find categories created between a date range, enter the starting date. | To specify a date, use the YYYY-MM-DD format. The value that you specify is automatically converted and stored in the Coordinated Universal Time (UTC) time standard. If you have specified a value for the createdDateFrom parameter, ensure that you also enter a value for the createdDateTo parameter. |
createdDateTo | Optional. To find categories created between a date range, enter the ending date. | To specify a date, use the YYYY-MM-DD format. The value that you specify is automatically converted and stored in the Coordinated Universal Time (UTC) time standard. If you have specified a value for the createdDateTo parameter, ensure that you also enter a value for the createdDateFrom parameter. |
modifiedDateFrom | Optional. To find categories modified between a date range, enter the starting date. | To specify a date, use the YYYY-MM-DD format. The value that you specify is automatically converted and stored in the Coordinated Universal Time (UTC) time standard. If you have specified a value for the modifiedDateFrom parameter, ensure that you also enter a value for the modifiedDateTo parameter. |
modifiedDateTo | Optional. To find categories modified between a date range, enter the ending date. | To specify a date, use the YYYY-MM-DD format. The value that you specify is automatically converted and stored in the Coordinated Universal Time (UTC) time standard. If you have specified a value for the modifiedDateTo parameter, ensure that you also enter a value for the modifiedDateFrom parameter. |
sortByField | Optional. Specify the parameters to sort the search results. | To sort the search results, enter one of the following values:
Default value is MODIFIED_ON. |
sort | Optional. Set the sorting order of the search results. | Enter one of the following values:
Default value is DESC. |
offset | Optional. Enter the starting index for the paginated results. | Default value is 0. |
limit | Optional. Enter the maximum number of results. | Default value is 50. Maximum value is 100. |
rootOnly | Optional. Specify whether to retrieve only the root category of a hierarchy. | Enter one of the following values:
Default value is false. |
Parameter | Description |
---|---|
offset | Starting index for paginated results. |
limit | Maximum number of results. |
totalCount | Number of categories retrieved. |
id | System generated unique identifier of the category. |
refId | Reference identifier of the category. |
parentId | System generated unique identifier of the parent category. |
name | Name of the category. |
description | Description of the category. |
status | Status of the category. A category can have one of the following statuses:
|
effectiveStatus | The effective status indicates whether the category is available in Data Marketplace. A category can have one of the following statuses:
|
hasChildCategory | This parameter indicates whether a category has subcategories. This parameter can have one of the following values:
|
dataOwners | Details of the stakeholder that is assigned the Category Owner stakeholder role on the category. |
dataOwners > displayName | Name of the stakeholder that is assigned the Category Owner stakeholder role on the category. |
dataOwners > id | System generated unique identifier of the user account or user group that is assigned as a stakeholder on the category with the Category Owner stakeholder role. |
dataOwners > name | Username of the stakeholder that is assigned the Category Owner stakeholder role on the category. |
dataOwners > email | Email address of the stakeholder that is assigned the Category Owner stakeholder role on the category. |
dataOwners > phone | Contact number of the stakeholder that is assigned the Category Owner stakeholder role on the category. |
dataOwners > status | The status indicates whether or not the Category Owner stakeholder user account or user group is active. A user account or user group can have one of the following statuses:
|
dataOwners > userInfo | Details retrieved from the My Data page of the stakeholder that is assigned the Category Owner stakeholder role on the category. |
dataOwners > isGroup | This parameter indicates whether the user account is part of a group. This parameter can have one of the following values:
|
createdBy | System generated identifier of the user account that created the category. |
createdOn | Date when the category was created. |
modifiedBy | System generated identifier of the latest user account that modified the category. |
modifiedOn | Latest date when the category was modified. |
Property | Description |
---|---|
Endpoint | /api/v1/integration/categories |
Method | PUT |
Parameter | Description | Additional Information |
---|---|---|
id | Required. The system generated unique identifier of the category that you want to modify. | For more information about how you can use an API to get the system generated unique identifier of a category, see Retrieve categories. To get the system generated unique identifier of a category from the Data Marketplace interface, open the category. The category page's URL contains the system generated unique identifier. For example, in the URL https://{{CDMP_URL}}/category/view?ac=67417f72-e5ab-44f0-add9-a1e412c1ce13&dtn=_AfterEBF%20may20, the system generated unique identifier is 67417f72-e5ab-44f0-add9-a1e412c1ce13. |
name | Required. Enter a name for the category. | Ensure that you enter a unique value. Data Marketplace doesn't consider the letter case when it verifies the uniqueness of the name parameter's value. For example, if you try to name a category as "Retail Department" while a category called "Retail department" already exists, the API call fails. |
description | Required. Enter a description for the category. | - |
dataOwners | Optional. Enter the system generated unique identifier of the user account or user group that is assigned as a stakeholder on the category with the Category Owner stakeholder role. |
For example, in the URL /cloudUI/products/administer/main/usersAsset/0LH3xBJC9A6haZ26htGZyT, the system generated unique identifier is 0LH3xBJC9A6haZ26htGZyT. For example, in the URL /cloudUI/products/administer/main/userGroupsAsset/90uizkSWg0ycuu7hSNXSW4, the system generated unique identifier is 90uizkSWg0ycuu7hSNXSW4. |
Parameter | Description |
---|---|
index | The position of the category in the objects JSON array. This value does not impact how the category is used by a Data Marketplace user. |
id | System generated unique identifier of the category. |
refId | Reference identifier of the category. |
name | Name of the category. |
Property | Description |
---|---|
Endpoint | /api/v1/integration/categories/<id> <id>: Required. Enter the system generated unique identifier of the category that you want to delete. To get the system generated unique identifier of a category, open the category. The category page's URL contains the system generated unique identifier. For example, in the URL https://{{CDMP_URL}}/category/view?ac=67417f72-e5ab-44f0-add9-a1e412c1ce13&dtn=_AfterEBF%20may20, the system generated unique identifier is 67417f72-e5ab-44f0-add9-a1e412c1ce13. For more information about how you can use an API to get the system generated unique identifier of a category, see Retrieve categories. |
Method | DELETE |