Property | Description |
---|---|
Endpoint | /api/v1/integration/termsOfUse |
Method | POST |
Parameter | Description | Additional Information |
---|---|---|
refId | Optional. Enter a reference identifier for the terms of use. | If you don't specify a reference identifier, Data Marketplace automatically assigns a unique value to the object. The reference identifier that Data Marketplace automatically generates contains a prefix. The Administrator can specify the prefix of the automatically generated reference identifier in Metadata Command Center. If you want to specify a reference identifier, ensure that you enter a unique value. Ensure that you don't use the prefix value that is configured in Metadata Command Center. |
name | Required. Enter a name for the terms of use. | 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 the terms of use as "Internal Use Only" while a terms of use called "Internal use only" already exists, the API call fails. |
description | Required. Enter a description for the terms of use. | - |
type | Required. Specify a type for the terms of use. | Enter one of the following values:
|
status | Required. Specify a status for the terms of use. The status determines whether the terms of use are available to be added to data collections. | Enter one of the following values:
|
acknowledgement | Required. Configure whether you want the Data User to acknowledge the terms of use when they place an order. | Enter one of the following values:
|
referenceLink | Optional. Enter the uniform resource identifier of the resource or location where the data is stored or maintained. | - |
Parameter | Description |
---|---|
index | The position of the terms of use in the objects JSON array. This value does not impact how the terms of use is used by a Data Marketplace user. |
id | System generated unique identifier of the terms of use. |
refId | Reference identifier of the terms of use. |
name | Name of the terms of use. |
Property | Description |
---|---|
Endpoint | /api/v1/integration/termsOfUse |
Method | GET |
Parameter | Description | Additional Information |
---|---|---|
ids | Optional. Enter the system generated unique identifier of a terms of use. | To enter more than one value, use the following format: ids=<value1>&ids=<value2> |
search | Optional. Enter the search term that you want to use to find a terms of use. | 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:
|
createdDateFrom | Optional. To find terms of use that were created between a date range, enter the initial date when the terms of use were created. | 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 terms of use that were created between a date range, enter the latest date when the terms of use were created. | 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 terms of use that were modified between a date range, enter the initial date when the terms of use were modified. | 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 terms of use that were modified between a date range, enter the latest date when the terms of use were modified. | 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. |
status | Optional. Specify the status of the terms of use. The status indicates whether the terms of use are available to be added to data collections. | Enter one of the following values:
|
type | Optional. Specify the type of the terms of use. | Enter one of the following types:
|
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. | You can sort the search results in the following order:
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. |
Parameter | Description |
---|---|
offset | Starting index for the paginated results. |
limit | Maximum number of results. |
totalCount | Number of terms of use retrieved. |
id | System generated unique identifier of the terms of use. |
refId | Reference identifier of the terms of use. |
name | Name of the terms of use. |
description | Description of the terms of use. |
type | Type of the terms of use that apply to the ordered data collection. A terms of use can have one of the following types:
|
status | The status indicates whether the terms of use are available to be added to data collections. A terms of use can have one of the following statuses:
|
acknowledgement | This parameter indicates whether the Data User is required to acknowledge the terms of use when they place an order. The parameter can be one of the following values:
|
referenceLink | Uniform resource identifier of the terms of use. |
Property | Description |
---|---|
Endpoint | /api/v1/integration/termsOfUse |
Method | PUT |
Parameter | Description | Additional Information |
---|---|---|
id | Required. Enter the system generated unique identifier of the terms of use that you want to modify. | For more information about how you can use an API to get the system generated unique identifier of a terms of use, see Retrieve terms of use. |
refId | Optional. Enter a reference identifier for the terms of use. | If you don't specify a reference identifier, Data Marketplace automatically assigns a unique value to the object. The reference identifier that Data Marketplace automatically generates contains a prefix. The Administrator can specify the prefix of the automatically generated reference identifier in Metadata Command Center. If you want to specify a reference identifier, ensure that you enter a unique value. Ensure that you don't use the prefix value that is configured in Metadata Command Center. |
name | Required. Enter a name for the terms of use. | 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 the terms of use as "Internal Use Only" while a terms of use called "Internal use only" already exists, the API call fails. |
description | Required. Enter a description for the terms of use. | - |
type | Required. Specify a type for the terms of use. | Enter one of the following values:
|
status | Required. Specify a status for the terms of use. The status determines whether the terms of use are available to be added to data collections. | Enter one of the following values:
|
type | Required. Specify a type for the terms of use. | Enter one of the following values:
|
acknowledgement | Required. Configure whether you want the Data User to acknowledge the terms of use when they place an order. | Enter one of the following values:
|
referenceLink | Optional. Enter the uniform resource identifier of the resource or location where the data is stored or maintained. | - |
Parameter | Description |
---|---|
index | The position of the terms of use in the objects JSON array. This value does not impact how the terms of use is used by a Data Marketplace user. |
id | System generated unique identifier of the terms of use. |
refId | Reference identifier of the terms of use. |
name | Name of the terms of use. |
Property | Description |
---|---|
Endpoint | /api/v1/integration/termsOfUse/status |
Method | PATCH |
Parameter | Description | Additional Information |
---|---|---|
id | Required. Enter the system generated unique identifier of the terms of use. | For more information about how you can use an API to get the unique identifier of a terms of use, see Retrieve terms of use. |
status | Required. Specify a status for the terms of use. The status determines whether the terms of use are available to be added to data collections. | Enter one of the following values:
|