public static MozuUrl getProductForIndexingUrl ( DateTime lastModifiedDate , String productCode , Long productVersion , String responseFields ) { UrlFormatter formatter = new UrlFormatter ( "/api/commerce/catalog/storefront/products/indexing/{productCode}?productVersion={productVersion}&lastModifiedDate={lastModifiedDate}&responseFields={responseFields}" ) ; formatter . formatUrl ( "lastModifiedDate" , lastModifiedDate ) ; formatter . formatUrl ( "productCode" , productCode ) ; formatter . formatUrl ( "productVersion" , productVersion ) ; formatter . formatUrl ( "responseFields" , responseFields ) ; return new MozuUrl ( formatter . getResourceUrl ( ) , MozuUrl . UrlLocation . TENANT_POD ) ; }
Get Resource Url for GetProductForIndexing