Get All Data Store Attributes

get

/rest/v16/extract/dataStores/{dataStoreName}/attributes

Use this endpoint to return the list of data store attributes available for extract.

Request

Path Parameters
Back to Top

Response

Supported Media Types

Default Response

Returns a list of datas store attributess available for extract
Body ()
Root Schema : extractData_DataStoreAttributesListResponse
Type: object
Show Source
Nested Schema : additional
Type: object
Additional Properties Allowed
Show Source
Nested Schema : items
Type: array
Show Source
Nested Schema : ExtractDataStoreAttributeMetadata
Type: object
Show Source
Nested Schema : additional
Type: object
Additional Properties Allowed
Show Source
Nested Schema : ParentStoreMapping
Type: object
Show Source
Nested Schema : LookupMetadataModel
Type: object
Show Source
Back to Top

Examples

The following example shows how to return the list of data store attributes available for extract by submitting a GET request to the REST resource using cURL. For more information about cURL, see Use cURL.

curl - X GET - i - H "Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQg" - H "Content-type: application/json"
https://sitename.oracle.com/rest/v16/extract/dataStores/oraclecpqo-transaction-DOCUMENT/attributes

Response Body Sample

{
  "items": [{
      "id": 36893314,
      "attributeVarName": "_document_number",
      "label": "Document Number",
      "description": "Unique doc number to be used as document identifier in a process",
      "isPrimaryKey": "true",
      "type": {
        "lookupCode": "CmTextAttribute",
        "displayValue": "Text"
      },
      "additional": {
        "isStandardComponent": "true"
      }
    }, {
      "id": 36894810,
      "attributeVarName": "annualValue_l",
      "label": "Annual Value (Net)",
      "description": "The annual contract value of the recurring charges on this line.",
      "type": {
        "lookupCode": "CmCurrencyAttribute",
        "displayValue": "Currency"
      },
      "additional": {
        "isStandardComponent": "true"
      }
    }, {
      "id": 36893336,
      "attributeVarName": "_price_book_var_name",
      "label": "Price Book Variable Name",
      "description": "Variable Name of the Price Book used to get the price for this line item",
      "type": {
        "lookupCode": "CmTextAttribute",
        "displayValue": "Text"
      },
      "additional": {
        "isStandardComponent": "true"
      }
    }, {
      "id": 36894832,
      "attributeVarName": "cancelReason_l",
      "label": "Cancel Reason",
      "description": "The reason why the customer canceled this line.",
      "type": {
        "lookupCode": "CmMenuAttribute",
        "displayValue": "Menu"
      },
      "additional": {
        "isStandardComponent": "true"
      }
    }, {
    ...
	}, {
      "id": -1,
      "attributeVarName": "_bs_id",
      "label": "BsId",
      "description": "BsId",
      "isPrimaryKey": "true",
      "type": {
        "lookupCode": "CmNumberAttribute",
        "displayValue": "Integer"
      },
      "additional": {
        "isStandardComponent": "true"
      }
    }
  ],
  "additional": {
    "dataStoreName": "oraclecpqo-transactionLine-DOCUMENT"
  }
}
Back to Top