{"type":"api","title":"License","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":["SmartLicensing - Sync Licenses"],"description":"Get licenses from vManage db","operationId":"license","parameters":[{"name":"virtual_account_id","in":"query","description":"virtual_account_id","required":true,"schema":{"type":"string"},"example":702544},{"name":"licenseType","in":"query","description":"License type 'prepaid' or 'postpaid'","required":true,"schema":{"type":"string"},"example":"prepaid"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"array","properties":{"empty":{"type":"boolean"}},"items":{"type":"object","properties":{"billing_model":{"type":"string","example":"UNCOMMITTED"},"billing_type":{"type":"string","example":"USAGE"},"licenses":{"type":"array","items":{"type":"object","properties":{"Available":{"type":"string","example":"0"},"Purchased":{"type":"integer","format":"int64"},"billing_model":{"type":"string","example":"UNCOMMITTED"},"billing_type":{"type":"string","example":"USAGE"},"display_name":{"type":"string","example":"Routing DNA Essentials: Tier 1"},"inUse":{"type":"string","example":"1"},"quantity":{"type":"string","example":"1"},"tag":{"type":"string","example":"regid.2020-10.com.cisco.DSTACK_T1_E,1.0_e3ff4086-b5f3-4845-b0ac-7a23d3b4a139"}},"$$ref":"#/components/schemas/LicenseInfo"}},"subscription_id":{"type":"string","example":"32BJDSLL789AF"}},"$$ref":"#/components/schemas/GetLicenseResponseInner"},"$$ref":"#/components/schemas/GetLicenseResponse"}}}},"400":{"description":"Bad Request"},"403":{"description":"Forbidden"},"500":{"description":"Internal Server Error"}},"method":"get","path":"/v1/smart-licensing/license"}}