Property | Description |
---|---|
Endpoint | /api/v1/integration/costCenters |
Method | POST |
Parameter | Description | Additional Information |
---|---|---|
name | Required. Enter a name for the cost center. | 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 cost center as "MKT010" while a cost center called "mkt0101" already exists, the API call fails. |
description | Optional. Enter a description for the cost center. | - |
Parameter | Description |
---|---|
index | The position of the cost center in the objects JSON array. This value does not impact how the cost center is used by a Data Marketplace user. |
id | System generated unique identifier of the cost center. |
refId | Reference identifier of the cost center. |
name | Name of the cost center. |
Property | Description |
---|---|
Endpoint | /api/v1/integration/costCenters |
Method | GET |
Parameter | Description | Additional Information |
---|---|---|
ids | Optional. Enter the system generated unique identifier of a cost center. | 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 cost center. | 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 cost centers that were created between a date range, enter the initial date when the cost center 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 cost centers that were created between a date range, enter the latest date when the cost center 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 cost centers that were modified between a date range, enter the initial date when the cost center 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 cost centers that were modified between a date range, enter the latest date when the cost center 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. |
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. |
Parameter | Description |
---|---|
offset | Starting index for the paginated results. |
limit | Maximum number of results. |
totalCount | Number of cost centers retrieved. |
id | System generated unique identifier of the cost center. |
name | Name of the cost center. |
description | Description of the cost center. |
createdBy | System generated unique identifier of the user account that created the cost center. |
createdOn | Date when the cost center was created. |
modifiedBy | System generated unique identifier of the latest user account that modified the cost center. |
modifiedOn | Latest date when the cost center was modified. |
Property | Description |
---|---|
Endpoint | /api/v1/integration/costCenters |
Method | PUT |
Parameter | Description | Additional Information |
---|---|---|
id | Required. Enter the system generated unique identifier of the cost center that you want to modify. | For more information about how you can use an API to get the system generated unique identifier of a cost center, see Retrieve cost centers. |
name | Required. Enter a name for the cost center. | 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 cost center as "MKT010" while a cost center called "mkt010" already exists, the API call fails. |
description | Optional. Enter a description for the cost center. | - |
Parameter | Description |
---|---|
index | The position of the cost center in the objects JSON array. This value does not impact how the cost center is used by a Data Marketplace user. |
id | System generated unique identifier of the cost center. |
refId | Reference identifier of the cost center. |
name | Name of the cost center. |