Enterprise Administration > Windchill Data Loading > Loading Variant Specifications > Loading Variant Specifications Using an API
  
Loading Variant Specifications Using an API
You can load variant specifications using one of the following APIs provided out-of-the-box:
Java List API
public List<VariantSpecLoadOutputBean> loadVariantSpecs(List<VariantLoadNavCriteriaBean> navCriteriaBeans, List<VariantLoadPartConfigSpecBean> partconfigSpecBeans, List<VariantLoadATORuleConfigSpecBean> atoConfigSpecBeans) throws WTException, WTPropertyVetoException, Exception;
ArrayList API
publicList<VariantSpecLoadOutputBean> loadVariantSpecs(List<VariantSpecLoadOutputBean>variantSpecBeans) throws WTException, WTPropertyVetoException, Exception
It is recommended to use the Java List API. The ArrayList API provides a more granular access using objects.
* 
Creation of the variant specification using a user-defined variant specification number is not supported using the out-of-the-box API.