Get All Prices for Part
get
                    /rest/v19/partSetups/{id}/prices
Use this endpoint to retrieve all prices for the specified CPQ part.
                
                Request
Supported Media Types
                - application/json
Path Parameters
                - 
                    id(required): integer
                    
                    The unique identifier for the part.
Query Parameters
                - 
                        fields: string
                        
                        Restrict which fields shall be returned. The value is a comma delimited string and each token is a field name.
- 
                        limit: integer
                        
                        The requested page size, which limits the number of elements the collection should max return.
- 
                        offset: integer
                        
                        The offset of the page. By default, offset is 0, which means first page will be returned.
- 
                        orderby: string
                        
                        Specifies a comma-separated list of pairs to order the response by.
- 
                        q: string
                        
                        Allows to specify one or more filtering criteria. By default, no filtering is applied.
- 
                        totalResults: boolean
                        
                        Specifies that the total count of records should be included in the response when doing pagination.
Response
Supported Media Types
                - application/json
Default Response
Root Schema : Part Price Collection Definitions
    
      Type: 
      
    
    
    
    objectTitle: 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    Show Source
        Part Price Collection Definitions- 
            count: 
            integer
            The number of resource instances returned in the current range.
- 
            hasMore: 
            boolean
            Returns true if more resources are available on the server than the subset returned in current page.
- 
            items: 
            array  items
            
            
- 
            limit: 
            integer
            The actual paging size used by the server.
- 
            offset: 
            integer
            The offset used in the current page.
- 
            totalResults: 
            integer
            Capture the total count of the resource instances, which not only includes the instances in the current range, but all instances on the server that satisfy the request.
Nested Schema : items
    
      
      Type: 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
        Show Source
        array- 
            Array of: 
                object  Part Price Setup Children Instance Definitions
            
            Title:Part Price Setup Children Instance Definitions
Nested Schema : Part Price Setup Children Instance Definitions
    
      Type: 
      
    
    
    
    objectTitle: 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    Show Source
        Part Price Setup Children Instance Definitions- 
            dateAdded: 
            string
            Title:Date AddedSystem field indicating the date on which the Resource was created.
- 
            dateModified: 
            string
            Title:Date ModifiedSystem field indicating the date on which the Resource was last modified.
- 
            id: 
            integer
            Title:IdPrimary Key of the Resource
- 
            price: 
            object  Price
            
            Title:PricePrice of the part.
Nested Schema : Price
    
      Type: 
      
    
    
    
    objectTitle: 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    PricePrice of the part.
    
    
    
    
    Show Source
        - 
            currency: 
            string
            Title:currency
- 
            value: 
            number
            Title:value
Examples
The following example shows how to retrieve all prices for the specified CPQ part by submitting a GET request to the REST resource using cURL. For more information about cURL, see Use cURL.
curl - X GET -H "Authorization: Bearer <token>" - H "Content-type: application/json" http://sitename.oracle.com/rest/v19/partSetups/38644116/prices
Response Body
{
  "hasMore": false,
  "links": [{
      "rel": "self",
      "href": "https://sitename.oracle.com/rest/v19/partSetups/38644116/prices"
    }
  ],
  "items": [{
      "price": {
        "value": 125.0,
        "currency": "USD"
      },
      "dateModified": "2023-03-07T18:21:22.000Z",
      "id": 38852302,
      "dateAdded": "2023-03-07T18:21:22.000Z",
      "links": [{
          "rel": "self",
          "href": "https://sitename.oracle.com/rest/v19/partSetups/38644116/prices/38852302"
        }, {
          "rel": "parent",
          "href": "https://sitename.oracle.com/rest/v19/partSetups/38644116"
        }
      ]
    }, {
      "price": {
        "value": 11800.0,
        "currency": "EUR"
      },
      "dateModified": "2023-03-07T18:21:22.000Z",
      "id": 38852300,
      "dateAdded": "2023-03-07T18:21:22.000Z",
      "links": [{
          "rel": "self",
          "href": "https://sitename.oracle.com/rest/v19/partSetups/38644116/prices/38852300"
        }, {
          "rel": "parent",
          "href": "https://sitename.oracle.com/rest/v19/partSetups/38644116"
        }
      ]
    }, {
      "price": {
        "value": 105.0,
        "currency": "GBP"
      },
      "dateModified": "2023-03-07T18:21:22.000Z",
      "id": 38852301,
      "dateAdded": "2023-03-07T18:21:22.000Z",
      "links": [{
          "rel": "self",
          "href": "https://sitename.oracle.com/rest/v19/partSetups/38644116/prices/38852301"
        }, {
          "rel": "parent",
          "href": "https://sitename.oracle.com/rest/v19/partSetups/38644116"
        }
      ]
    }
  ]
}