B3 Tesouro Direto APIs

Treasury Direct platform APIs - the Bonds API serves reference data for Brazilian public bonds (name, maturity, Selic code, platform identifiers), Positions serves investor position balances, and Orders covers operations on the Tesouro Direto platform.

OpenAPI Specification

b3-exchange-tesouro-direto-bonds-openapi.json Raw ↑
{"id":"e867cca2-a0c7-497e-8d36-a5e23b3e0c83","description":"<details><summary><b>Vis\u00e3o Geral<\/b><\/summary><br\/><p>\r\n\r\nA API oferece funcionalidades para consulta de informa\u00e7\u00f5es e caracter\u00edsticas dos t\u00edtulos p\u00fablicos oferecidos na plataforma do Tesouro Direto. Informa\u00e7\u00f5es como: nome, data de vencimento, identificador \u00fanico na plataforma, c\u00f3digo Selic etc, al\u00e9m de permitir customiza\u00e7\u00e3o de resultados baseados em filtro de informa\u00e7\u00f5es.\r\n\r\n**Importante:** A API est\u00e1 em constante atualiza\u00e7\u00e3o, expandindo seu conjunto de funcionalidades dispon\u00edveis conforme an\u00e1lise e prioriza\u00e7\u00e3o de demandas.\r\n\r\n**Funcionalidades dispon\u00edveis**  \r\nAcesse aba \"M\u00e9todos\" para obter detalhes dos m\u00e9todos dispon\u00edveis.\r\n\r\n<\/p><\/details><br\/>\r\n\r\n\r\n<details><summary><b>Host<\/b><\/summary><br\/><p>\r\n\r\n**Acesso por meio da Internet:**\r\n- Certifica\u00e7\u00e3o: https:\/\/api-tesourodireto.cert.netb3.com.br\/ \r\n- Produ\u00e7\u00e3o: https:\/\/api-tesourodireto.netb3.com.br\/.\r\n\r\n<\/p><\/details><br\/>\r\n\r\n<details><summary><b>Modelo de Autentica\u00e7\u00e3o<\/b><\/summary><br\/><p>\r\n\r\n[Clique aqui](\/index.php?option=com_content&view=article&id=43) para mais informa\u00e7\u00f5es sobre o Modelo de Autentica\u00e7\u00e3o utilizado.\r\n\r\n<\/p><\/details><br\/>\r\n\r\n\r\n\r\n","deprecated":false,"apiVersion":"1.1.0-rc2","swaggerVersion":"1.1","basePath":"https:\/\/developers.b3.com.br:8065","resourcePath":"\/homebroker\/api\/bonds\/v1","models":{"TreasuryBondsRspGet":{"type":"object","required":["data","links"],"properties":{"data":{"$ref":"#\/definitions\/TreasuryBondsGet"},"meta":{"$ref":"#\/definitions\/Meta"},"links":{"$ref":"#\/definitions\/Link"}}},"Meta":{"type":"object","required":["totalPages","totalRecords"],"properties":{"totalRecords":{"type":"integer","format":"int32","example":2147483647,"description":"Total number of records","minimum":-2147483648,"maximum":2147483647},"totalPages":{"type":"integer","format":"int32","example":2147483647,"description":"Total number of pages","minimum":-2147483648,"maximum":2147483647}}},"BondsTypesRspGet":{"type":"object","required":["links"],"properties":{"data":{"type":"array","items":{"$ref":"#\/definitions\/BondsTypesGet"}},"meta":{"$ref":"#\/definitions\/Meta"},"links":{"$ref":"#\/definitions\/Link"}}},"IndexTypesGet":{"type":"object","required":["indexerTypeCode","indexerTypeName"],"properties":{"indexerTypeCode":{"type":"integer","format":"int32","example":2147483647,"description":"Unique identifier of an indexer","minimum":-2147483648,"maximum":2147483647},"indexerTypeName":{"type":"string","example":"rem","description":"Representative name of the indexer","maxLength":20}}},"EnumsBusinesssegments1RspGet":{"type":"object","required":["data","links"],"properties":{"data":{"type":"array","items":{"$ref":"#\/definitions\/Data1"}},"links":{"$ref":"#\/definitions\/Link"}}},"Error":{"type":"object","required":["code","detail","title"],"properties":{"code":{"type":"string","example":"corrupti","description":"C\u00f3digo do erro.","maxLength":10},"title":{"type":"string","example":"numquam","description":"Mensagem do erro.","maxLength":100},"detail":{"type":"string","example":"deserunt","description":"Informa\u00e7\u00f5es complementares sobre o erro.","maxLength":2000}}},"BondsGet":{"type":"object","required":["indexerTypeCode","isinCode","maturityDate","removalDate","selicCode","treasuryBondCode","treasuryBondName","treasuryBondTypeCode"],"properties":{"treasuryBondCode":{"type":"integer","format":"int32","example":2147483647,"description":"Defines the Bond code.","minimum":-2147483648,"maximum":2147483647},"treasuryBondName":{"type":"string","example":"maxime","description":"Treasury bond name","maxLength":200},"selicCode":{"type":"string","example":"sit","description":"Code that identifies the title in SELIC (Special System of Clearance and Custody).  The SELIC is the central depository of securities issued by the Treasury and the Central Bank of Braziland under that condition, processes the issue, redemption, payment of interest and custody of securities.","maxLength":6},"isinCode":{"type":"string","example":"commodi","description":"INTERNATIONAL SECURITIES IDENTIFICATION NUMBER \u2013 \u00c9 uma padroniza\u00e7\u00e3o internacional na codifica\u00e7\u00e3o de t\u00edtulos financeiros, atribuindo a cada ativo um c\u00f3digo \u00fanico de identifica\u00e7\u00e3o. O c\u00f3digo para os t\u00edtulos e valores mobili\u00e1rios brasileiros apresenta a estrutura BR AAAA BBB CC 7, onde a) os dois primeiros caracteres (BR) identificam o c\u00f3digo do BRASIL; b) os quatro caracteres (AAAA) s\u00e3o alfanum\u00e9ricos e identificam o emissor; c) os tr\u00eas caracteres (BBB) s\u00e3o alfanum\u00e9ricos e identificam o tipo de ativo, podendo ter sequ\u00eancia autom\u00e1tica na segunda posi\u00e7\u00e3o (sequ\u00eancia 1) e na terceira posi\u00e7\u00e3o (sequ\u00eancia 2) ou n\u00e3o ter qualquer sequ\u00eancia; d) os dois caracteres (CC) s\u00e3o alfanum\u00e9ricos e identificam a esp\u00e9cie, quando se tratar de a\u00e7\u00f5es, ou representam uma sequ\u00eancia autom\u00e1tica, para identificar cada emiss\u00e3o de t\u00edtulo e valor mobili\u00e1rio, quando se tratar de outras categorias; e e) o \u00faltimo caractere (7) \u00e9 o d\u00edgito de controle. ","maxLength":12},"treasuryBondTypeCode":{"type":"integer","format":"int32","example":2147483647,"description":"Treasury bond type code Domain values 1-LTN 2-NTN-C 3-NTN-B 4-LFT 9-NTN-F 10-NTNB PRINC","minimum":-2147483648,"maximum":2147483647,"enum":[1,2,3,4,9,10]},"indexerTypeCode":{"type":"integer","format":"int32","example":2147483647,"description":"Unique identifier of an indexer","minimum":-2147483648,"maximum":2147483647},"maturityDate":{"type":"string","format":"date","example":"2020-07-21","description":"Data de Vencimento."},"issueDate":{"type":"string","format":"date","example":"2020-07-21","description":"Data de Emiss\u00e3o."},"baseDate":{"type":"string","format":"date","example":"2020-07-21","description":"Base date of treasury bond."},"removalDate":{"type":"string","format":"date","example":"2020-07-21","description":"Removal date od treasury bond."},"conversionDate":{"type":"string","format":"date","example":"2020-07-21","description":"Conversion date for specific groups of treasury bills that pay amortizations until their maturity date"},"businessSegmentCode":{"type":"integer","format":"int32","example":2147483647,"description":"Unique identifier for a treasury bond business segment","minimum":-2147483648,"maximum":2147483647},"gracePeriodValue":{"type":"integer","format":"int32","example":2147483647,"description":"Period (in days) to start paying custodian fees over specific groups of treasury bond","minimum":-2147483648,"maximum":2147483647},"depreciationPeriodValue":{"type":"integer","format":"int32","example":2147483647,"description":"Period (in months) when will be paid amortisations for specific groups of treasury bond","minimum":-2147483648,"maximum":2147483647},"baseDateNominalValue":{"type":"number","format":"double","example":"-148082555687872340G22","description":"Nominal value on the base date"}}},"IndexTypesRspGet":{"type":"object","required":["links"],"properties":{"data":{"type":"array","items":{"$ref":"#\/definitions\/IndexTypesGet"}},"meta":{"$ref":"#\/definitions\/Meta"},"links":{"$ref":"#\/definitions\/Link"}}},"Data1":{"type":"object","required":["businessSegmentCode","businessSegmentName"],"properties":{"businessSegmentCode":{"type":"integer","format":"int32","example":2147483647,"description":"Unique identifier for a treasury bond business segment","minimum":-2147483648,"maximum":2147483647},"businessSegmentName":{"type":"string","example":"mollitia","description":"Name of a treasury bond business segment","maxLength":100}}},"TreasuryBondsGet":{"type":"object","required":["indexerTypeCode","isinCode","maturityDate","removalDate","selicCode","treasuryBondCode","treasuryBondName","treasuryBondTypeCode"],"properties":{"treasuryBondCode":{"type":"integer","format":"int32","example":2147483647,"description":"Defines the Bond code.","minimum":-2147483648,"maximum":2147483647},"treasuryBondName":{"type":"string","example":"aut","description":"Treasury bond name","maxLength":200},"selicCode":{"type":"string","example":"minus","description":"Code that identifies the title in SELIC (Special System of Clearance and Custody).  The SELIC is the central depository of securities issued by the Treasury and the Central Bank of Braziland under that condition, processes the issue, redemption, payment of interest and custody of securities.","maxLength":6},"isinCode":{"type":"string","example":"eius","description":"INTERNATIONAL SECURITIES IDENTIFICATION NUMBER \u2013 \u00c9 uma padroniza\u00e7\u00e3o internacional na codifica\u00e7\u00e3o de t\u00edtulos financeiros, atribuindo a cada ativo um c\u00f3digo \u00fanico de identifica\u00e7\u00e3o. O c\u00f3digo para os t\u00edtulos e valores mobili\u00e1rios brasileiros apresenta a estrutura BR AAAA BBB CC 7, onde a) os dois primeiros caracteres (BR) identificam o c\u00f3digo do BRASIL; b) os quatro caracteres (AAAA) s\u00e3o alfanum\u00e9ricos e identificam o emissor; c) os tr\u00eas caracteres (BBB) s\u00e3o alfanum\u00e9ricos e identificam o tipo de ativo, podendo ter sequ\u00eancia autom\u00e1tica na segunda posi\u00e7\u00e3o (sequ\u00eancia 1) e na terceira posi\u00e7\u00e3o (sequ\u00eancia 2) ou n\u00e3o ter qualquer sequ\u00eancia; d) os dois caracteres (CC) s\u00e3o alfanum\u00e9ricos e identificam a esp\u00e9cie, quando se tratar de a\u00e7\u00f5es, ou representam uma sequ\u00eancia autom\u00e1tica, para identificar cada emiss\u00e3o de t\u00edtulo e valor mobili\u00e1rio, quando se tratar de outras categorias; e e) o \u00faltimo caractere (7) \u00e9 o d\u00edgito de controle. ","maxLength":12},"treasuryBondTypeCode":{"type":"integer","format":"int32","example":2147483647,"description":"Treasury bond type code","minimum":-2147483648,"maximum":2147483647},"indexerTypeCode":{"type":"integer","format":"int32","example":2147483647,"description":"Unique identifier of an indexer","minimum":-2147483648,"maximum":2147483647},"maturityDate":{"type":"string","format":"date","example":"2020-07-21","description":"Data de Vencimento."},"issueDate":{"type":"string","format":"date","example":"2020-07-21","description":"Data de Emiss\u00e3o."},"baseDate":{"type":"string","format":"date","example":"2020-07-21","description":"Base date of treasury bond."},"removalDate":{"type":"string","format":"date","example":"2020-07-21","description":"Removal date od treasury bond."},"conversionDate":{"type":"string","format":"date","example":"2020-07-21","description":"Conversion date for specific groups of treasury bills that pay amortizations until their maturity date"},"businessSegmentCode":{"type":"integer","format":"int32","example":2147483647,"description":"Unique identifier for a treasury bond business segment","minimum":-2147483648,"maximum":2147483647},"gracePeriodValue":{"type":"integer","format":"int32","example":2147483647,"description":"Period (in days) to start paying custodian fees over specific groups of treasury bond","minimum":-2147483648,"maximum":2147483647},"depreciationPeriodValue":{"type":"integer","format":"int32","example":2147483647,"description":"Period (in months) when will be paid amortisations for specific groups of treasury bond","minimum":-2147483648,"maximum":2147483647},"baseDateNominalValue":{"type":"number","format":"double","example":8.962866684224913e+20,"description":"Nominal value on the base date"}}},"BondsTypesGet":{"type":"object","required":["treasuryBondTypeCode","treasuryBondTypeName"],"properties":{"treasuryBondTypeCode":{"type":"integer","format":"int32","example":2147483647,"description":"Treasury bond type code","minimum":-2147483648,"maximum":2147483647},"treasuryBondTypeName":{"type":"string","example":"omnis","description":"Name representing the type of title.","maxLength":20}}},"BondsRspGet":{"type":"object","required":["links"],"properties":{"data":{"type":"array","items":{"$ref":"#\/definitions\/BondsGet"}},"meta":{"$ref":"#\/definitions\/Meta"},"links":{"$ref":"#\/definitions\/Link"}}},"Link":{"type":"object","required":["self"],"properties":{"self":{"type":"string","example":"aperiam","description":"Current page link","maxLength":2000},"first":{"type":"string","example":"illo","description":"First page link","maxLength":2000},"prev":{"type":"string","example":"deserunt","description":"Next page link","maxLength":2000},"next":{"type":"string","example":"facere","description":"Next page link","maxLength":2000},"last":{"type":"string","example":"excepturi","description":"Last page link","maxLength":2000}}},"errors":{"type":"object","properties":{"errors":{"type":"array","items":{"$ref":"#\/definitions\/Error"}}}}},"consumes":[],"produces":[],"authorizations":{"_default":{"scopes":[{"scope":"resource.WRITE"},{"scope":"resource.READ"}],"grantTypes":{"clientCredentials":{"url":"https:\/\/localhost:8089\/api\/oauth\/token","tokenName":"access_token"}},"type":"oauth2"}},"name":"Bonds","summary":"Essa api tem funcionalidades de consulta de informa\u00e7\u00f5es de t\u00edtulos p\u00fablicos geridos pela plataforma do Tesouro Direto.","securityProfile":{"devices":[{"type":"oauth","typeDisplayName":"OAuth 2.0","name":"OAuth","order":1,"scopes":["resource.WRITE","resource.READ"],"scopesMatching":"Any","accessTokenLocation":"HEADER","authorizationHeaderPrefix":"Bearer","accessTokenLocationQueryString":"","clientCredentialsGrantTokenName":"access_token","clientCredentialsGrantTokenEndpointUrl":"https:\/\/localhost:8089\/api\/oauth\/token"}]},"basePaths":["https:\/\/developers.b3.com.br:8065"],"state":"published","cors":true,"expired":false,"retirementDate":0,"retired":false,"tags":{"Tipo":["PUBLICA"],"Grupo":["TESOURODIRETO"]},"availableApiDefinitions":{"Swagger 1.1":"\/discovery\/swagger\/api\/id\/e867cca2-a0c7-497e-8d36-a5e23b3e0c83?swaggerVersion=1.1&filename=Bonds.json","Swagger 2.0":"\/discovery\/swagger\/api\/id\/e867cca2-a0c7-497e-8d36-a5e23b3e0c83?swaggerVersion=2.0&filename=Bonds.json"},"availableSDK":{"ios-swift":"\/discovery\/sdk\/e867cca2-a0c7-497e-8d36-a5e23b3e0c83\/ios-swift","android":"\/discovery\/sdk\/e867cca2-a0c7-497e-8d36-a5e23b3e0c83\/android","nodejs":"\/discovery\/sdk\/e867cca2-a0c7-497e-8d36-a5e23b3e0c83\/nodejs"},"apis":[{"path":"\/homebroker\/api\/bonds\/v1\/{treasuryBondCode}","name":"\/{treasuryBondCode}","operations":[{"id":"126713d2-17db-4d1a-a6c0-aa5c3e644b37","description":"","httpMethod":"GET","nickname":"TreasuryBondsGet","summary":"Obtain information about a public security. ","responseClass":"TreasuryBondsRspGet","errorResponses":[{"code":200,"reason":"Ok"},{"code":400,"reason":"Bad Request"},{"code":401,"reason":"Unauthorized"},{"code":403,"reason":"Forbidden"},{"code":404,"reason":"Not Found"},{"code":405,"reason":"Method Not Allowed"},{"code":422,"reason":"Business Error"}],"consumes":[],"produces":["application\/json"],"tags":{},"securityProfile":{"devices":[{"type":"oauth","typeDisplayName":"OAuth 2.0","name":"OAuth","order":1,"scopes":["resource.READ","resource.WRITE"],"scopesMatching":"Any","accessTokenLocation":"HEADER","authorizationHeaderPrefix":"Bearer","accessTokenLocationQueryString":"","clientCredentialsGrantTokenName":"access_token","clientCredentialsGrantTokenEndpointUrl":"https:\/\/localhost:8089\/api\/oauth\/token"}]},"cors":true,"parameters":[{"description":"Defines the Bond code.","format":"int32","required":true,"name":"treasuryBondCode","dataType":"int","paramType":"path","allowMultiple":false}]}]},{"path":"\/homebroker\/api\/bonds\/v1\/enums\/businesssegments","name":"\/enums\/businesssegments","operations":[{"id":"fd425a5f-8409-478a-aef1-7fada4238f2d","description":"","httpMethod":"GET","nickname":"EnumsBusinesssegments1ReqGet","summary":"Return list of enumerations that define types of business segment for government securities traded in the Direct Treasury markets","responseClass":"EnumsBusinesssegments1RspGet","errorResponses":[{"code":200,"reason":"Ok"},{"code":400,"reason":"Bad Request"},{"code":401,"reason":"Unauthorized"},{"code":403,"reason":"Forbidden"},{"code":404,"reason":"Not Found"},{"code":422,"reason":"Business Error"},{"code":429,"reason":"Too Many Requests"},{"code":500,"reason":"Internal Server Error"},{"code":503,"reason":"Service Unavailable"},{"code":504,"reason":"Gateway Timeout"}],"consumes":[],"produces":["application\/json"],"tags":{},"securityProfile":{"devices":[{"type":"oauth","typeDisplayName":"OAuth 2.0","name":"OAuth","order":1,"scopes":["resource.READ","resource.WRITE"],"scopesMatching":"Any","accessTokenLocation":"HEADER","authorizationHeaderPrefix":"Bearer","accessTokenLocationQueryString":"","clientCredentialsGrantTokenName":"access_token","clientCredentialsGrantTokenEndpointUrl":"https:\/\/localhost:8089\/api\/oauth\/token"}]},"cors":true,"parameters":[]}]},{"path":"\/homebroker\/api\/bonds\/v1\/enums\/indexertypes","name":"\/enums\/indexertypes","operations":[{"id":"3c374711-0f0a-4405-961f-b12cc34ad907","description":"","httpMethod":"GET","nickname":"IndextypesGet","summary":"Return list of enumerations that define indexers related to government bonds. ","responseClass":"IndexTypesRspGet","errorResponses":[{"code":200,"reason":"Ok"},{"code":400,"reason":"Bad Request"},{"code":401,"reason":"Unauthorized"},{"code":403,"reason":"Forbidden"},{"code":404,"reason":"Not Found"},{"code":405,"reason":"Method Not Allowed"},{"code":422,"reason":"Business Error"}],"consumes":[],"produces":["application\/json"],"tags":{},"securityProfile":{"devices":[{"type":"oauth","typeDisplayName":"OAuth 2.0","name":"OAuth","order":1,"scopes":["resource.WRITE","resource.READ"],"scopesMatching":"Any","accessTokenLocation":"HEADER","authorizationHeaderPrefix":"Bearer","accessTokenLocationQueryString":"","clientCredentialsGrantTokenName":"access_token","clientCredentialsGrantTokenEndpointUrl":"https:\/\/localhost:8089\/api\/oauth\/token"}]},"cors":true,"parameters":[]}]},{"path":"\/homebroker\/api\/bonds\/v1\/","name":"\/","operations":[{"id":"50ea1b45-b301-4e52-b161-db8b7b3de2ac","description":"","httpMethod":"GET","nickname":"BondsGet","summary":"Obtain information about a public security.","responseClass":"BondsRspGet","errorResponses":[{"code":200,"reason":"Ok"},{"code":400,"reason":"Bad Request"},{"code":401,"reason":"Unauthorized"},{"code":403,"reason":"Forbidden"},{"code":404,"reason":"Not Found"},{"code":405,"reason":"Method Not Allowed"},{"code":422,"reason":"Business Error"}],"consumes":[],"produces":["application\/json"],"tags":{},"securityProfile":{"devices":[{"type":"oauth","typeDisplayName":"OAuth 2.0","name":"OAuth","order":1,"scopes":["resource.WRITE","resource.READ"],"scopesMatching":"Any","accessTokenLocation":"HEADER","authorizationHeaderPrefix":"Bearer","accessTokenLocationQueryString":"","clientCredentialsGrantTokenName":"access_token","clientCredentialsGrantTokenEndpointUrl":"https:\/\/localhost:8089\/api\/oauth\/token"}]},"cors":true,"parameters":[{"description":"Treasury bond name","required":false,"maxLength":200,"name":"treasuryBondName","dataType":"string","paramType":"query","allowMultiple":false},{"description":"Code that identifies the title in SELIC (Special System of Clearance and Custody).  The SELIC is the central depository of securities issued by the Treasury and the Central Bank of Braziland under that condition, processes the issue, redemption, payment of interest and custody of securities.","required":false,"maxLength":6,"name":"selicCode","dataType":"string","paramType":"query","allowMultiple":false},{"description":"INTERNATIONAL SECURITIES IDENTIFICATION NUMBER \u2013 \u00c9 uma padroniza\u00e7\u00e3o internacional na codifica\u00e7\u00e3o de t\u00edtulos financeiros, atribuindo a cada ativo um c\u00f3digo \u00fanico de identifica\u00e7\u00e3o. O c\u00f3digo para os t\u00edtulos e valores mobili\u00e1rios brasileiros apresenta a estrutura BR AAAA BBB CC 7, onde a) os dois primeiros caracteres (BR) identificam o c\u00f3digo do BRASIL; b) os quatro caracteres (AAAA) s\u00e3o alfanum\u00e9ricos e identificam o emissor; c) os tr\u00eas caracteres (BBB) s\u00e3o alfanum\u00e9ricos e identificam o tipo de ativo, podendo ter sequ\u00eancia autom\u00e1tica na segunda posi\u00e7\u00e3o (sequ\u00eancia 1) e na terceira posi\u00e7\u00e3o (sequ\u00eancia 2) ou n\u00e3o ter qualquer sequ\u00eancia; d) os dois caracteres (CC) s\u00e3o alfanum\u00e9ricos e identificam a esp\u00e9cie, quando se tratar de a\u00e7\u00f5es, ou representam uma sequ\u00eancia autom\u00e1tica, para identificar cada emiss\u00e3o de t\u00edtulo e valor mobili\u00e1rio, quando se tratar de outras categorias; e e) o \u00faltimo caractere (7) \u00e9 o d\u00edgito de controle. ","required":false,"maxLength":12,"name":"isinCode","dataType":"string","paramType":"query","allowMultiple":false},{"description":"Treasury bond type code","format":"int32","required":false,"name":"treasuryBondTypeCode","dataType":"int","paramType":"query","allowMultiple":false},{"description":"Unique identifier of an indexer","format":"int32","required":false,"name":"indexerTypeCode","dataType":"int","paramType":"query","allowMultiple":false},{"description":"Unique identifier for a treasury bond business segment","format":"int32","required":false,"name":"businessSegmentCode","dataType":"int","paramType":"query","allowMultiple":false}]}]},{"path":"\/homebroker\/api\/bonds\/v1\/enums\/bondtypes","name":"\/enums\/bondtypes","operations":[{"id":"422904fa-8db9-4a6b-9694-527da9c277a5","description":"","httpMethod":"GET","nickname":"BondsTypesGet","summary":"Return list of enumerations that define a public title type.","responseClass":"BondsTypesRspGet","errorResponses":[{"code":200,"reason":"Ok"},{"code":400,"reason":"Bad Request"},{"code":401,"reason":"Unauthorized"},{"code":403,"reason":"Forbidden"},{"code":404,"reason":"Not Found"},{"code":405,"reason":"Method Not Allowed"},{"code":422,"reason":"Business Error"}],"consumes":[],"produces":["application\/json"],"tags":{},"securityProfile":{"devices":[{"type":"oauth","typeDisplayName":"OAuth 2.0","name":"OAuth","order":1,"scopes":["resource.READ","resource.WRITE"],"scopesMatching":"Any","accessTokenLocation":"HEADER","authorizationHeaderPrefix":"Bearer","accessTokenLocationQueryString":"","clientCredentialsGrantTokenName":"access_token","clientCredentialsGrantTokenEndpointUrl":"https:\/\/localhost:8089\/api\/oauth\/token"}]},"cors":true,"parameters":[]}]}],"createDate":1718988495932,"accessGrantedDate":1718988497629,"type":"rest","enableInlineTryIt":true}