Get Mandatory Models
post
                    /rest/v19/config{prodFamVarName}.{prodLineVarName}.{modelVarName}/_mandatoryModels/actions/getMandatoryModels
This action retrieves the mandatory Models of the configuration. This action does not run recommended items rules.
                
                Request
Supported Media Types
                - application/json
Path Parameters
                - 
                    modelVarName(required): string
                    
                    The variable name of a Model
- 
                    prodFamVarName(required): string
                    
                    The variable name of a Product Family
- 
                    prodLineVarName(required): string
                    
                    The variable name of a Product Line
Root Schema : getMandatoryModelsRequest
    
      Type: 
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    Show Source
        object- 
            cacheInstanceId(required): 
            string
            Title:Cache Instance IdThe unique identifier for the entry of configuration data stored in the cache. This is obtained from actions that launch configuration and passed along in subsequent actions.
Response
Supported Media Types
                - application/json
Default Response
Root Schema : getMandatoryModelsResponse
    
      Type: 
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    Show Source
        object- 
            cacheInstanceId: 
            string
            Title:Cache Instance IdThe unique identifier for the entry of configuration data stored in the cache. This is obtained from actions that launch configuration and passed along in subsequent actions.
- 
            items: 
            array  items
            
            
Nested Schema : model
    
      Type: 
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    Show Source
        object- 
            comment: 
            string
            Title:CommentModel's comment.
- 
            description: 
            string
            Title:DescriptionDescription of the model.
- 
            id: 
            string
            Title:Model IdentifierIt uniquely idenitfies the model.
- 
            modelName: 
            string
            Title:Model NameModel display name.
- 
            modelVariableName: 
            string
            Title:Model Variable NameUniquely identifies the model.
- 
            price: 
            object  Price
            
            Title:PriceModel's price.
- 
            quantity: 
            integer
            Title:QuantityQuantity of model in the configuration.
- 
            selected: 
            string
            Title:SelectionIt represents selection of the item. Selection can be 'true', 'false' or 'missing'.
Examples
The following example shows how to retrieve the mandatory Models of a configuration by submitting a POST request to the REST resource using cURL.
curl -X POST -H "Authorization: Bearer <token>" -H "Accept: application/json" https://sitename.oracle.com/rest/v19/configvarioTablets.tablets.customTablet/_mandatoryModels/actions/getMandatoryModels
Request Body Sample
{
  "cacheInstanceId": "hzLOQoY2hFvGJccRd43b2mQQfYeQZizF0yp5JBnglukKILuFROAGzEWkCv12K0XrN"
}
         
                  
                  		Response Body Sample
The following example shows the contents of the response body in JSON format:
{
  "cacheInstanceId": "hzLOQoY2hFvGJccRd43b2mQQfYeQZizF0yp5JBnglukKILuFROAGzEWkCv12K0XrN",
  "items": [{
      "modelName": "Tablet Support Services",
      "comment": "System recommended item",
      "price": {
        "value": "200",
        "currency": "USD"
      },
      "modelVariableName": "tabletSupportServices",
      "quantity": 1,
      "description": "Tablet Support Services"
    }
  ]
}