{"type":"api","title":"Get impacted services list for a subservice. ","meta":{"id":"/apps/pubhub/media/crosswork-network-controller-7-1/f445c17e25a1120e8fbde4bd413083d0fd88b2b3/0a9b2acc-7c69-3a2d-a85e-640d9a4fe06c","info":{"title":"Service Health Assurance Graph APIs","description":"APIs for requesting assurance-graph data stored in the Crosswork Service Health application.","termsOfService":"terms-of-service","contact":{"name":"Crosswork Team, Cisco","email":"support@cisco.com"},"license":{"name":"Cisco Software License Agreement","url":"http://www.cisco.com/public/sw-license-agreement.html"},"version":"7.1.0"},"security":[{"bearerAuth":[]}],"x-parser-conf":{"overview":{"markdownPath":"reference/ServiceHealth/sh_assurance_graph_overview.md"}},"openapi":"3.0.1","servers":[{"url":"/crosswork/aa/agmgr/v1/"}],"securitySchemes":{"bearerAuth":{"type":"apiKey","description":"Security token for authorizing requests for these APIs.","name":"Authorization","in":"header"}}},"spec":{"tags":["AaAssuranceGraph"],"summary":"Get impacted services list for a subservice. ","operationId":"AaAssuranceGraph_GetImpactedServices","requestBody":{"description":"The RequestImpactedServices parameter. ","content":{"application/json":{"schema":{"type":"object","description":"Request Impacted Services.","properties":{"subserviced":{"type":"string","description":"Request the services for a given subservice-id."}},"$$ref":"#/components/schemas/RequestImpactedServices"},"example":{"subservice_id":"ss-418316d7-fea9-4249-a476-333a658e6cb6"}}},"required":true},"responses":{"200":{"description":"OK. The request was successful. The result is contained in the response body.","content":{"application/json":{"schema":{"type":"object","description":"Response Impacted services.","properties":{"status":{"type":"string","description":"Response services details for a given subservice.","default":"UNKNOWN_STATUS","enum":["UNKNOWN_STATUS","SUCCESS","SUBSERVICE_DOESNT_EXIST","BAD_REQUEST_SCHEMA","ERROR"],"$$ref":"#/components/schemas/ResponseImpactedServicesStatus"},"services":{"type":"array","description":"There can be multiple services referring to a given subservice.","items":{"type":"object","properties":{"serviceId":{"type":"string","description":"Service id"},"serviceType":{"type":"string","description":"Service type"},"serviceName":{"type":"string","description":"Service name"}},"description":"Providing the service details like service type and name along with ID.","$$ref":"#/components/schemas/ResponseImpactedServicesServiceDetails"}},"error":{"type":"string","description":"Error details in case of any error condition."}},"$$ref":"#/components/schemas/ResponseImpactedServices"},"example":{"status":"SUCCESS","services":[{"service_id":"ietf-l2vpn-ntw:l2vpn-ntw/vpn-services/vpn-service=ETREE-IGP-1338-CL2-PE-A-CL2-PE-B","service_type":"ietf-l2vpn-ntw:l2vpn-ntw/vpn-services/vpn-service"}]}}}},"default":{"description":"An unexpected error response.","content":{"application/json":{"schema":{"type":"object","description":"GatewayruntimeError","properties":{"error":{"type":"string","description":"Error of GatewayruntimeError"},"code":{"type":"integer","description":"Code of GatewayruntimeError","format":"int32"},"message":{"type":"string","description":"Message of GatewayruntimeError"},"details":{"type":"array","description":"Details of GatewayruntimeError","items":{"type":"object","description":"ProtobufAny","properties":{"typeUrl":{"type":"string","description":"typeUrl of protobufAny"},"value":{"pattern":"^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$","type":"string","description":"Value of protobufAny","format":"byte"}},"$$ref":"#/components/schemas/protobufAny"}}},"$$ref":"#/components/schemas/GatewayruntimeError"},"example":{"data":[{"subservice_id":"ss-30503849-912b-478f-aa79-ae8df54f6726","status":"SUBxSERVICE_DOESNT_EXIST"}]}}}}},"x-codegen-request-body-name":"body","__originalOperationId":"AaAssuranceGraph_GetImpactedServices","security":[{"bearerAuth":[]}],"method":"post","path":"/impactedServices"}}