{"type":"api","title":"Apply recommendation to a centralized policy","meta":{"id":"/apps/pubhub/media/cisco-catalyst-sd-wan-api-guide-20-18/1c4807bcb76af36988ebb37dc2e455b1787a155e/744a8207-9965-344e-aed3-d3ef846a4950","info":{"title":"Others","description":"Other APIs\n- Include APIs that do not belong to other categories\n","contact":{"email":"vmanage@cisco.com"},"version":"20.18 - 2025-08-15"},"openapi":"3.1.0","servers":[{"url":"/dataservice"}]},"spec":{"tags":["Wani Recommendations"],"summary":"Apply recommendation to a centralized policy","description":"Applies recommendations to a centralized policy ","operationId":"applyWaniRecommendation","parameters":[{"name":"key","in":"query","description":"Key from vAnalytics to retrieve recommendation json","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"required":["notValidRecommendationIds","notValidSites","processId","waniPolicyId"],"type":"object","properties":{"notValidRecommendationIds":{"type":"string","example":"abc, xyz"},"notValidSites":{"type":"string","example":"200"},"processId":{"type":"string","example":"vsmart_policy_config-8978b772-183d-424e-b9ac-e633b8ffe516"},"waniPolicyId":{"type":"string","format":"uuid","example":"083b83e4-165d-45a8-947e-ba141d9129a2"}},"$$ref":"#/components/schemas/ApplyRecommendationRes"}}}},"400":{"description":"bad input parameter"},"403":{"description":"Forbidden"},"500":{"description":"Internal Server Error"}},"method":"post","path":"/policy/wani/recommendation/process"}}