{"type":"api","title":"Get TSP Codes","meta":{"id":"/apps/pubhub/media/smart-bonding-customer-api/86948e3642178a1353b37ed6873bafb57e6085fe/a5e66cda-6c1c-38fc-bdeb-5543a7993dce","info":{"title":"Smart Bonding TSP API","description":"This API is used to retrieve TSP (Technology, Sub-Technology, Problem Code) details to then be used in the ticketing messages.","version":"v1"},"security":[{"oAuth2ClientCredentials":[]}],"x-parser-conf":{"oAuth2":{"clientId":"","clientSecret":"","clientCredRequestParam":true,"proxyEnabled":false},"meta":{"useProxy":true}},"openapi":"3.0.0","servers":[{"url":"https://stage.sbnprd.xylem.cisco.com/{basePath}","variables":{"basePath":{"enum":["sb-partner-oauth-proxy-api/tsp/api/v1/xylem"],"default":"sb-partner-oauth-proxy-api/tsp/api/v1/xylem"}}},{"url":"https://sb.xylem.cisco.com/{basePath}","variables":{"basePath":{"enum":["sb-partner-oauth-proxy-api/tsp/api/v1/xylem"],"default":"sb-partner-oauth-proxy-api/tsp/api/v1/xylem"}}}],"securitySchemes":{"oAuth2ClientCredentials":{"type":"oauth2","flows":{"clientCredentials":{"tokenUrl":"https://cloudsso.cisco.com/as/token.oauth2","scopes":{}}}}}},"spec":{"operationId":"getTspCodes","summary":"Get TSP Codes","description":"This operation is used to get the list of all TSP Codes.","parameters":[{"name":"since_id","description":"Only retrieve records with `id` greater than `since_id`","in":"query","required":false,"schema":{"type":"integer"}},{"name":"max_id","description":"Only retrieve records with `id` up to `max_id`","in":"query","required":false,"schema":{"type":"integer"}},{"name":"limit","description":"Limit number of returned records. Only non-negative values allowed","in":"query","required":false,"schema":{"type":"integer"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object"},"example":{"tspCodes":[{"changeFlag":"","editTimeUtc":"","id":0,"problemCodeDescription":"","problemCodeName":"","subTechId":0,"subTechName":"","techId":0,"techName":""}]}}}},"400":{"description":"The server cannot process the request due to something that is perceived to be a client error (e.g., malformed request syntax, invalid request message framing, or deceptive request routing)."},"401":{"description":"The supplied credentials are invalid."},"403":{"description":"There is a problem with the credentials that were provided."},"404":{"description":"The server cannot find the requested resource."},"405":{"description":"A request was made of a resource using a request method not supported by that resource; for example, using GET on a form which requires data to be presented via POST, or using PUT on a read-only resource."},"406":{"description":"The target resource does not have a current representation that would be acceptable to the user agent."},"415":{"description":"The accept header specified an unsupported media type."},"500":{"description":"An internal processing error occurred while processing the API request."},"599":{"description":"System API timeout during dependent service invocation."}},"__originalOperationId":"getTspCodes","security":[{"oAuth2ClientCredentials":[]}],"method":"get","path":"/tspcodes"}}