Property | Description |
|---|---|
Endpoint | /api/v2/orders |
Method | POST |
Parameter | Description | Additional Information |
|---|---|---|
externalId | Optional. Enter a reference identifier for the order that you want to create. | If you don't specify a reference identifier, Data Marketplace automatically assigns a unique value to the item. 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. |
dataCollectionId | Required. Enter the system-generated unique identifier of the data collection for which you want to create the order. | For more information about how you can use an API to get the system-generated unique identifier of a data collection, see Retrieve all data collections. To get the system-generated unique identifier of a data collection from the Data Marketplace user interface, open the data collection. The data collection page's URL contains the unique identifier. For example, in the URL https://{{CDMP_URL}}/datacollection/25158afc-3dfb-44ef-8f3e-cec1e171d0f1?dtn=&tab=summary, the unique identifier is 25158afc-3dfb-44ef-8f3e-cec1e171d0f1. |
usageContextId | Optional. Enter the system-generated unique identifier of the usage type that you want to use to specify the context in which you intend to use the data after you receive access to the collection. | For more information about how you can use an API to get the system-generated unique identifier of a usage type, see Retrieve usage type. |
justification | Required. Enter a brief description of how you intend to use the data after you receive access to the collection. | - |
deliveryRequests | Optional. Enter any additional information that pertains to your order. For example, you can specify the urgency or the preferred delivery method in this field. | - |
requestedProvisionedTargetRef | Optional. Enter the system-generated unique identifier of the delivery target that you want a stakeholder to use to deliver the data. | For more information about how you can use an API to get the system-generated unique identifier of a delivery target, see Retrieve all delivery targets. If you don't specify a value for the requestedProvisionedTargetRef parameter, the order is created without a specific delivery target but rather uses the default delivery template. For more information about how you can use an API to get the system-generated unique identifier of a delivery template, see Retrieve delivery templates. |
costCenter | Optional. Enter your cost center. | - |
customAttributes | Specify the custom attribute values for the order. | Whether you must enter a value in a custom attribute or not is determined by how the custom attribute was defined by your administrator in Metadata Command Center. Custom attributes are additional properties for Data Marketplace items that are defined by your administrator in Metadata Command Center. For more information about custom attributes, see the Create custom attributes for items topic in the Set Up Data Marketplace help. |
customAttributes > value | Enter a value for the custom attribute. | - |
customAttributes > id | Enter the system-generated unique identifier of the custom attribute. | For more information about how you can retrieve the system-generated unique identifier of a custom attribute, see Retrieve custom attributes. |
Parameter | Description |
|---|---|
id | System-generated unique identifier of the order. |
externalId | Reference identifier of the order. |
justification | The reason provided at the time of order for requesting access to the data. |
deliveryRequests | Additional information that pertains to the order. |
requestedProvisionedTargetRef | The delivery target requested by the Data User. |
costCenter | Cost center of the Data User that ordered the data collection. |
status | Status of the order. An order can have one of the following statuses:
An order that requires manual approval and fulfillment by a stakeholder is created with PENDING status. |
assetGroups | Details of the asset group that is assigned to the category that contains the ordered data collection. |
assetGroups > id | System-generated identifier of the asset group. |
assetGroups > name | Name of the asset group. |
assetGroups > isInherited | Indicates whether the asset group is directly assigned to the category or if the asset group is inherited from the category hierarchy. This parameter can have one of the following values:
|
Parameter | Description |
|---|---|
id | System-generated unique identifier of the order. |
externalId | Reference identifier of the order. |
justification | The reason provided at the time of order for requesting access to the data. |
deliveryRequests | Additional information that pertains to the order. |
requestedProvisionedTargetRef | The delivery target requested by the Data User. |
costCenter | Cost center of the Data User that ordered the data collection. |
status | Status of the order. An order can have one of the following statuses:
An order for which the approval and fulfillment is automated is created with COMPLETE status. |
assetGroups | Details of the asset group that is assigned to the category that contains the ordered data collection. |
assetGroups > id | System-generated identifier of the asset group. |
assetGroups > name | Name of the asset group. |
assetGroups > isInherited | Indicates whether the asset group is directly assigned to the category or if the asset group is inherited from the category hierarchy. This parameter can have one of the following values:
|
consumerAccess | Details of the consumer access that is created after the order is fulfilled. |
Property | Description |
|---|---|
Endpoint | /api/v2/orders/<orderId> <orderId>: Required. Enter the system-generated identifier of the order for which you want to retrieve the details. For more information about how you can use an API to get the system-generated unique identifier of an order, see Retrieve all orders. To get the system-generated unique identifier of a order from the Data Marketplace user interface, open the order. The order page's URL contains the unique identifier. For example, in the URL https://{{CDMP_URL}}/order/3d48daf6-5e75-4e1a-848c-b6821fc33f74?dtn=Order~579b, the unique identifier is 3d48daf6-5e75-4e1a-848c-b6821fc33f74. |
Method | GET |
Parameter | Description | Additional Information |
|---|---|---|
segments | Optional. Specify the type of details that you want the API request to return. Enter one or more of the following values:
| By default, the parameter is assigned no value and the API response includes only the basic information about the order such as the ordered data collection, business justification and so on. |
Parameter | Description |
|---|---|
externalId | Reference identifier of the order. |
dataCollectionId | System-generated unique identifier of the ordered data collection. |
justification | The reason provided at the time of order for requesting access to the data. |
deliveryRequests | Additional information that pertains to the order. |
requestedProvisionedTargetRef | The delivery target requested by the Data User. |
costCenter | Cost center of the Data User that ordered the data collection. |
status | Status of the order. An order can have one of the following statuses:
|
assetGroups | Details of the asset group that is assigned to the category that contains the ordered data collection. |
assetGroups > id | System-generated identifier of the asset group. |
assetGroups > name | Name of the asset group. |
assetGroups > isInherited | Indicates whether the asset group is directly assigned to the category or if the asset group is inherited from the category hierarchy. This parameter can have one of the following values:
|
Property | Description |
|---|---|
Endpoint | /api/v2/orders/ |
Method | GET |
Parameter | Description | Additional Information |
|---|---|---|
segments | Optional. Specify the type of details that you want the API request to return. Enter one or more of the following values:
| By default, the parameter is assigned no value and the API response includes only the basic information about the order such as the ordered data collection, business justification and so on. |
offset | Optional. Specify the starting index for the paginated results. | Default value is 0. |
limit | Optional. Specify the maximum number of results that are displayed on a page. | Default value is 20. Maximum value is 200. |
sortby | Optional. Specify the parameters to sort the search results. Enter one of the following values:
| Default value is modifiedOn. |
sortOrder | Optional. Set the sorting order of the search results. Enter one of the following values:
| Default value is desc. |
Parameter | Description |
|---|---|
pageInfo > offset | Starting index of the paginated results. |
pageInfo > limit | The maximum number of results that are displayed on a page. |
pageInfo > totalCount | Number of orders retrieved. |
links > self > href | The API that was invoked to generate this response. |
links > first > href | The API endpoint that you can use to retrieve the search results that are displayed on the first page. |
links > next > href | The API endpoint that you can use to retrieve the search results from the page following the one you currently have open. |
links > previous > href | The API endpoint that you can use to retrieve the search results from the page prior to the one you currently have open. |
links > last > href | The API endpoint that you can use to retrieve the search results that are displayed on the last page. |
externalId | Reference identifier of the order. |
dataCollectionId | System-generated unique identifier of the ordered data collection. |
justification | The reason provided at the time of order for requesting access to the data. |
deliveryRequests | Additional information that pertains to the order. |
requestedProvisionedTargetRef | The delivery target requested by the Data User. |
costCenter | Cost center of the Data User that ordered the data collection. |
status | Status of the order. An order can have one of the following statuses:
|
assetGroups | Details of the asset group that is assigned to the category that contains the ordered data collection. |
assetGroups > id | System-generated identifier of the asset group. |
assetGroups > name | Name of the asset group. |
assetGroups > isInherited | Indicates whether the asset group is directly assigned to the category or if the asset group is inherited from the category hierarchy. This parameter can have one of the following values:
|
Property | Description |
|---|---|
Endpoint | /api/v2/orders/<orderId>/approve <orderId>: Required. Enter the system-generated identifier of the order that you want to approve. For more information about how you can use an API to get the system-generated unique identifier of an order, see Retrieve all orders. To get the system-generated unique identifier of a order from the Data Marketplace user interface, open the order. The order page's URL contains the unique identifier. For example, in the URL https://{{CDMP_URL}}/order/3d48daf6-5e75-4e1a-848c-b6821fc33f74?dtn=Order~579b, the unique identifier is 3d48daf6-5e75-4e1a-848c-b6821fc33f74. |
Method | PATCH |
Parameter | Description | Additional Information |
|---|---|---|
comment | Optional. Enter a comment about the action taken. | - |
costCenter | Optional. Specify the cost center of the Data User that placed the order or modify the cost center value specified by the Data User. | - |
customAttributes | Specify the custom attribute values for the order or modify the custom attribute values specified by the Data User at the time of order. | Whether you must enter a value in a custom attribute or not is determined by how the custom attribute was defined by your administrator in Metadata Command Center. Custom attributes are additional properties for Data Marketplace items that are defined by your administrator in Metadata Command Center. For more information about custom attributes, see the Create custom attributes for items topic in the Set Up Data Marketplace help. |
customAttributes > value | Enter the updated value for the custom attribute. | - |
customFields > id | Enter the system-generated unique identifier of the custom attribute that you want to modify. | For more information about how you can retrieve the system-generated unique identifier of a custom attribute, see Retrieve custom attributes. |
Property | Description |
|---|---|
Endpoint | /api/v2/orders/<orderId>/fulfill <orderId>: Required. Enter the system-generated identifier of the order that you want to mark as fulfilled. For more information about how you can use an API to get the system-generated unique identifier of an order, see Retrieve all orders. To get the system-generated unique identifier of a order from the Data Marketplace user interface, open the order. The order page's URL contains the unique identifier. For example, in the URL https://{{CDMP_URL}}/order/3d48daf6-5e75-4e1a-848c-b6821fc33f74?dtn=Order~579b, the unique identifier is 3d48daf6-5e75-4e1a-848c-b6821fc33f74. |
Method | PATCH |
Parameter | Description | Additional Information |
|---|---|---|
comment | Optional. Enter a comment about the action taken. | - |
deliveryTargetId | Required. Enter the system generated unique identifier of the delivery target that you want to use to deliver the data. | For more information about how you can use an API to get the system-generated unique identifier of a delivery target, see Retrieve all delivery targets. |
costCenter | Optional. Specify the cost center of the Data User that placed the order or modify the cost center value specified by the Data User. | - |
customAttributes | Specify the custom attribute values for the order or modify the custom attribute values specified by the Data User at the time of order. | Whether you must enter a value in a custom attribute or not is determined by how the custom attribute was defined by your administrator in Metadata Command Center. Custom attributes are additional properties for Data Marketplace items that are defined by your administrator in Metadata Command Center. For more information about custom attributes, see the Create custom attributes for items topic in the Set Up Data Marketplace help. |
customAttributes > value | Enter the updated value for the custom attribute. | - |
customFields > id | Enter the system-generated unique identifier of the custom attribute that you want to modify. | For more information about how you can retrieve the system-generated unique identifier of a custom attribute, see Retrieve custom attributes. |
Parameter | Description |
|---|---|
id | System-generated unique identifier of the consumer access that is created upon order fulfillment. |
externalId | Reference identifier of the consumer access. |
costCenter | Cost center of the Data User that was granted access to the data collection. |
status | Status of the consumer access. A consumer access can have the following statuses:
|
accessGrantedOn | Date on which the Data User was granted access to the data collection. |
consumer | Details about the Data User that was granted access to the data collection. |
assetGroups | Details of the asset group that is assigned to the category that contains the data collection that is associated with consumer access. |
assetGroups > id | System-generated identifier of the asset group. |
assetGroups > name | Name of the asset group. |
assetGroups > isInherited | Indicates whether the asset group is directly assigned to the category or if the asset group is inherited from the category hierarchy. This parameter can have one of the following values:
|
Property | Description |
|---|---|
Endpoint | /api/v2/orders/<orderId>/cancel <orderId>: Required. Enter the system-generated identifier of the order that you want to cancel. For more information about how you can use an API to get the system-generated unique identifier of an order, see Retrieve all orders. To get the system-generated unique identifier of a order from the Data Marketplace user interface, open the order. The order page's URL contains the unique identifier. For example, in the URL https://{{CDMP_URL}}/order/3d48daf6-5e75-4e1a-848c-b6821fc33f74?dtn=Order~579b, the unique identifier is 3d48daf6-5e75-4e1a-848c-b6821fc33f74. |
Method | PATCH |
Parameter | Description |
|---|---|
comment | Optional. Enter a comment about the action taken. |
Property | Description |
|---|---|
Endpoint | /api/v2/orders/<orderId>/reject <orderId>: Required. Enter the system-generated identifier of the order that you want to reject. For more information about how you can use an API to get the system-generated unique identifier of an order, see Retrieve all orders. To get the system-generated unique identifier of a order from the Data Marketplace user interface, open the order. The order page's URL contains the unique identifier. For example, in the URL https://{{CDMP_URL}}/order/3d48daf6-5e75-4e1a-848c-b6821fc33f74?dtn=Order~579b, the unique identifier is 3d48daf6-5e75-4e1a-848c-b6821fc33f74. |
Method | PATCH |
Parameter | Description |
|---|---|
comment | Optional. Enter a comment about the action taken. |
Property | Description |
|---|---|
Endpoint | /api/v2/orders/<orderId> <orderId>: Required. Enter the system-generated identifier of the order that you want to delete. For more information about how you can use an API to get the system-generated unique identifier of an order, see Retrieve all orders. To get the system-generated unique identifier of a order from the Data Marketplace user interface, open the order. The order page's URL contains the unique identifier. For example, in the URL https://{{CDMP_URL}}/order/3d48daf6-5e75-4e1a-848c-b6821fc33f74?dtn=Order~579b, the unique identifier is 3d48daf6-5e75-4e1a-848c-b6821fc33f74. |
Method | DELETE |