{"type":"api","title":"Get Comm Plans By Acct Id","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":["Secure Device Onboarding - Communication Plans"],"description":"Get communication plans by account Id","operationId":"getCommPlansByAcctId","parameters":[{"name":"accountId","in":"path","description":"Service User Account ID","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"required":["communicationPlans","pageNumber"],"type":"object","properties":{"commPlans":{"type":"array","writeOnly":true,"items":{"required":["apns","lteApns","lteEnabled","name"],"type":"object","properties":{"apns":{"type":"array","description":"List of APNs associated with the Comm Plan","example":"[{name:M2MTEST}]","items":{"required":["name"],"type":"object","properties":{"name":{"type":"string"}},"description":"List of APNs associated with the Comm Plan","example":"[{name:M2MTEST}]","$$ref":"#/components/schemas/Apn"}},"commPlanDescription":{"type":"string","description":"Description of the communication plan.","example":"sms data shared"},"commPlanName":{"type":"string","writeOnly":true},"lteApns":{"type":"array","description":"List of LTE APNs associated with the Comm Plan.Empty if lteEnabled is false ","example":[],"items":{"required":["name"],"type":"object","properties":{"name":{"type":"string"}},"description":"List of LTE APNs associated with the Comm Plan.Empty if lteEnabled is false ","example":[],"$$ref":"#/components/schemas/LteApn"}},"lteEnabled":{"type":"boolean","description":"Specifies whether the Comm Plan has LTE enabled","example":false},"name":{"type":"string","description":"Name of the communication plan.","example":"vm cp sms data share"}},"$$ref":"#/components/schemas/CommunicationPlan"}},"communicationPlans":{"type":"array","description":"List of communication plans.","example":"Refer to CommunicationPlan","items":{"required":["apns","lteApns","lteEnabled","name"],"type":"object","properties":{"apns":{"type":"array","description":"List of APNs associated with the Comm Plan","example":"[{name:M2MTEST}]","items":{"required":["name"],"type":"object","properties":{"name":{"type":"string"}},"description":"List of APNs associated with the Comm Plan","example":"[{name:M2MTEST}]","$$ref":"#/components/schemas/Apn"}},"commPlanDescription":{"type":"string","description":"Description of the communication plan.","example":"sms data shared"},"commPlanName":{"type":"string","writeOnly":true},"lteApns":{"type":"array","description":"List of LTE APNs associated with the Comm Plan.Empty if lteEnabled is false ","example":[],"items":{"required":["name"],"type":"object","properties":{"name":{"type":"string"}},"description":"List of LTE APNs associated with the Comm Plan.Empty if lteEnabled is false ","example":[],"$$ref":"#/components/schemas/LteApn"}},"lteEnabled":{"type":"boolean","description":"Specifies whether the Comm Plan has LTE enabled","example":false},"name":{"type":"string","description":"Name of the communication plan.","example":"vm cp sms data share"}},"$$ref":"#/components/schemas/CommunicationPlan"}},"pageNumber":{"type":"integer","description":"Page Number.","format":"int32","example":1}},"$$ref":"#/components/schemas/CommunicationPlansResponse"},"examples":{"Communication plans response example":{"description":"Communication plans response example","value":"[ \n {\n \"commPlanName\": \"vm cp sms data shared\",\n \"apns\":[{\"name\":\"M2MTEST\"}]\n \"lteApns\":[]\n \"lteEnabled\":false\n }\n ]"}}}}},"400":{"description":"Bad Request"},"403":{"description":"Forbidden"},"500":{"description":"Internal Server Error"}},"x-roles-required":"Secure Device Onboarding-read","method":"get","path":"/v1/securedeviceonboarding/{accountId}/commplans"}}