From bb22cf021812ddd7e8dec8aae8d3fe4c7a98ea66 Mon Sep 17 00:00:00 2001 From: fmunoz Date: Tue, 24 Oct 2023 18:56:34 -0600 Subject: [PATCH] ## [5.0.16] - 2023-10-24 ### Changed - Add `BapiSyncResponse` to `ResponseTaskGetBusinessAPIExecutionDetails`. --- CHANGELOG.md | 9 +++++++-- sdk/task.go | 1 + 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0df2ccc..56d6438 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,9 +6,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [5.0.16] - 2023-10-24 +### Changed +- Add `BapiSyncResponse` to `ResponseTaskGetBusinessAPIExecutionDetails`. + ## [5.0.15] - 2023-10-24 ### Changed -Handle `200 code` with a `Rate Limit` error. +- Handle `200 code` with a `Rate Limit` error. ## [5.0.14] - 2023-10-12 ### Changed @@ -562,4 +566,5 @@ Services removed on Cisco DNA Center 2.3.3.0's API: [5.0.13]: https://github.com/cisco-en-programmability/dnacenter-go-sdk/compare/v5.0.12...v5.0.13 [5.0.14]: https://github.com/cisco-en-programmability/dnacenter-go-sdk/compare/v5.0.13...v5.0.14 [5.0.15]: https://github.com/cisco-en-programmability/dnacenter-go-sdk/compare/v5.0.14...v5.0.15 -[Unreleased]: https://github.com/cisco-en-programmability/dnacenter-go-sdk/compare/v5.0.15...main +[5.0.16]: https://github.com/cisco-en-programmability/dnacenter-go-sdk/compare/v5.0.14...v5.0.16 +[Unreleased]: https://github.com/cisco-en-programmability/dnacenter-go-sdk/compare/v5.0.16...main diff --git a/sdk/task.go b/sdk/task.go index d2fb34b..2b6c8d1 100644 --- a/sdk/task.go +++ b/sdk/task.go @@ -50,6 +50,7 @@ type ResponseTaskGetBusinessAPIExecutionDetails struct { TimeDuration *int `json:"timeDuration,omitempty"` // Time taken for Business API Execution (Milliseconds) Status string `json:"status,omitempty"` // Execution status of the Business API BapiError string `json:"bapiError,omitempty"` // Bapi Error + BapiSyncResponse string `json:"bapiSyncResponse,omitempty"` // Bapi Sync Response RuntimeInstanceID string `json:"runtimeInstanceId,omitempty"` // Pod Id in which the Business API is executed } type ResponseTaskGetTasks struct {