All URIs are relative to http://localhost:5516
Method | HTTP request | Description |
---|---|---|
CompleteStage | Post /api/v1/deliveries/{stageId}/complete | |
CompleteTrackedItem | Put /api/v1/deliveries/{stageId}/{itemId}/complete | |
CompleteTransition | Post /api/v1/deliveries/{transitionId}/complete | |
CreateTrackedItemInDelivery | Post /api/v1/deliveries/{deliveryId}/tracked-items | |
DeleteDelivery | Delete /api/v1/deliveries/{deliveryId} | |
DeleteTrackedItemDelivery | Delete /api/v1/deliveries/{itemId} | |
DescopeTrackedItem | Put /api/v1/deliveries/{itemId}/descope | |
GetDelivery | Get /api/v1/deliveries/{deliveryId} | |
GetDeliveryTimeline | Get /api/v1/deliveries/{deliveryId}/timeline | |
GetReleasesForDelivery | Get /api/v1/deliveries/{deliveryId}/releases | |
GetStagesInDelivery | Get /api/v1/deliveries/{deliveryId}/stages | |
GetTrackedItemsinDelivery | Get /api/v1/deliveries/{deliveryId}/tracked-items | |
ReopenStage | Post /api/v1/deliveries/{stageId}/reopen | |
RescopeTrackedItem | Put /api/v1/deliveries/{itemId}/rescope | |
ResetTrackedItem | Put /api/v1/deliveries/{stageId}/{itemId}/reset | |
SearchDeliveries | Post /api/v1/deliveries/search | |
SkipTrackedItem | Put /api/v1/deliveries/{stageId}/{itemId}/skip | |
UpdateDelivery | Put /api/v1/deliveries/{deliveryId} | |
UpdateStageInDelivery | Put /api/v1/deliveries/{stageId} | |
UpdateTrackedItemInDelivery | Put /api/v1/deliveries/{itemId} | |
UpdateTransitionInDelivery | Put /api/v1/deliveries/{transitionId} |
CompleteStage(ctx, stageId).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/GIT_USER_ID/GIT_REPO_ID"
)
func main() {
stageId := "stageId_example" // string |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
r, err := apiClient.DeliveryApi.CompleteStage(context.Background(), stageId).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `DeliveryApi.CompleteStage``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
stageId | string |
Other parameters are passed through a pointer to a apiCompleteStageRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
(empty response body)
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
CompleteTrackedItem(ctx, itemId, stageId).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/GIT_USER_ID/GIT_REPO_ID"
)
func main() {
itemId := "itemId_example" // string |
stageId := "stageId_example" // string |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
r, err := apiClient.DeliveryApi.CompleteTrackedItem(context.Background(), itemId, stageId).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `DeliveryApi.CompleteTrackedItem``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
itemId | string | ||
stageId | string |
Other parameters are passed through a pointer to a apiCompleteTrackedItemRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
(empty response body)
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
CompleteTransition(ctx, transitionId).CompleteTransition(completeTransition).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/GIT_USER_ID/GIT_REPO_ID"
)
func main() {
transitionId := "transitionId_example" // string |
completeTransition := *openapiclient.NewCompleteTransition() // CompleteTransition | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
r, err := apiClient.DeliveryApi.CompleteTransition(context.Background(), transitionId).CompleteTransition(completeTransition).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `DeliveryApi.CompleteTransition``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
transitionId | string |
Other parameters are passed through a pointer to a apiCompleteTransitionRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
completeTransition | CompleteTransition | |
(empty response body)
- Content-Type: application/json
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
TrackedItem CreateTrackedItemInDelivery(ctx, deliveryId).TrackedItem(trackedItem).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/GIT_USER_ID/GIT_REPO_ID"
)
func main() {
deliveryId := "deliveryId_example" // string |
trackedItem := *openapiclient.NewTrackedItem() // TrackedItem | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.DeliveryApi.CreateTrackedItemInDelivery(context.Background(), deliveryId).TrackedItem(trackedItem).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `DeliveryApi.CreateTrackedItemInDelivery``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `CreateTrackedItemInDelivery`: TrackedItem
fmt.Fprintf(os.Stdout, "Response from `DeliveryApi.CreateTrackedItemInDelivery`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
deliveryId | string |
Other parameters are passed through a pointer to a apiCreateTrackedItemInDeliveryRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
trackedItem | TrackedItem | |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
DeleteDelivery(ctx, deliveryId).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/GIT_USER_ID/GIT_REPO_ID"
)
func main() {
deliveryId := "deliveryId_example" // string |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
r, err := apiClient.DeliveryApi.DeleteDelivery(context.Background(), deliveryId).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `DeliveryApi.DeleteDelivery``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
deliveryId | string |
Other parameters are passed through a pointer to a apiDeleteDeliveryRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
(empty response body)
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
DeleteTrackedItemDelivery(ctx, itemId).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/GIT_USER_ID/GIT_REPO_ID"
)
func main() {
itemId := "itemId_example" // string |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
r, err := apiClient.DeliveryApi.DeleteTrackedItemDelivery(context.Background(), itemId).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `DeliveryApi.DeleteTrackedItemDelivery``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
itemId | string |
Other parameters are passed through a pointer to a apiDeleteTrackedItemDeliveryRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
(empty response body)
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
DescopeTrackedItem(ctx, itemId).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/GIT_USER_ID/GIT_REPO_ID"
)
func main() {
itemId := "itemId_example" // string |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
r, err := apiClient.DeliveryApi.DescopeTrackedItem(context.Background(), itemId).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `DeliveryApi.DescopeTrackedItem``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
itemId | string |
Other parameters are passed through a pointer to a apiDescopeTrackedItemRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
(empty response body)
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Delivery GetDelivery(ctx, deliveryId).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/GIT_USER_ID/GIT_REPO_ID"
)
func main() {
deliveryId := "deliveryId_example" // string |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.DeliveryApi.GetDelivery(context.Background(), deliveryId).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `DeliveryApi.GetDelivery``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetDelivery`: Delivery
fmt.Fprintf(os.Stdout, "Response from `DeliveryApi.GetDelivery`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
deliveryId | string |
Other parameters are passed through a pointer to a apiGetDeliveryRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
DeliveryTimeline GetDeliveryTimeline(ctx, deliveryId).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/GIT_USER_ID/GIT_REPO_ID"
)
func main() {
deliveryId := "deliveryId_example" // string |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.DeliveryApi.GetDeliveryTimeline(context.Background(), deliveryId).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `DeliveryApi.GetDeliveryTimeline``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetDeliveryTimeline`: DeliveryTimeline
fmt.Fprintf(os.Stdout, "Response from `DeliveryApi.GetDeliveryTimeline`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
deliveryId | string |
Other parameters are passed through a pointer to a apiGetDeliveryTimelineRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
[]DeliveryFlowReleaseInfo GetReleasesForDelivery(ctx, deliveryId).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/GIT_USER_ID/GIT_REPO_ID"
)
func main() {
deliveryId := "deliveryId_example" // string |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.DeliveryApi.GetReleasesForDelivery(context.Background(), deliveryId).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `DeliveryApi.GetReleasesForDelivery``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetReleasesForDelivery`: []DeliveryFlowReleaseInfo
fmt.Fprintf(os.Stdout, "Response from `DeliveryApi.GetReleasesForDelivery`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
deliveryId | string |
Other parameters are passed through a pointer to a apiGetReleasesForDeliveryRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
[]Stage GetStagesInDelivery(ctx, deliveryId).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/GIT_USER_ID/GIT_REPO_ID"
)
func main() {
deliveryId := "deliveryId_example" // string |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.DeliveryApi.GetStagesInDelivery(context.Background(), deliveryId).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `DeliveryApi.GetStagesInDelivery``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetStagesInDelivery`: []Stage
fmt.Fprintf(os.Stdout, "Response from `DeliveryApi.GetStagesInDelivery`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
deliveryId | string |
Other parameters are passed through a pointer to a apiGetStagesInDeliveryRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
[]TrackedItem GetTrackedItemsinDelivery(ctx, deliveryId).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/GIT_USER_ID/GIT_REPO_ID"
)
func main() {
deliveryId := "deliveryId_example" // string |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.DeliveryApi.GetTrackedItemsinDelivery(context.Background(), deliveryId).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `DeliveryApi.GetTrackedItemsinDelivery``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetTrackedItemsinDelivery`: []TrackedItem
fmt.Fprintf(os.Stdout, "Response from `DeliveryApi.GetTrackedItemsinDelivery`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
deliveryId | string |
Other parameters are passed through a pointer to a apiGetTrackedItemsinDeliveryRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ReopenStage(ctx, stageId).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/GIT_USER_ID/GIT_REPO_ID"
)
func main() {
stageId := "stageId_example" // string |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
r, err := apiClient.DeliveryApi.ReopenStage(context.Background(), stageId).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `DeliveryApi.ReopenStage``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
stageId | string |
Other parameters are passed through a pointer to a apiReopenStageRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
(empty response body)
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
RescopeTrackedItem(ctx, itemId).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/GIT_USER_ID/GIT_REPO_ID"
)
func main() {
itemId := "itemId_example" // string |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
r, err := apiClient.DeliveryApi.RescopeTrackedItem(context.Background(), itemId).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `DeliveryApi.RescopeTrackedItem``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
itemId | string |
Other parameters are passed through a pointer to a apiRescopeTrackedItemRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
(empty response body)
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ResetTrackedItem(ctx, itemId, stageId).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/GIT_USER_ID/GIT_REPO_ID"
)
func main() {
itemId := "itemId_example" // string |
stageId := "stageId_example" // string |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
r, err := apiClient.DeliveryApi.ResetTrackedItem(context.Background(), itemId, stageId).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `DeliveryApi.ResetTrackedItem``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
itemId | string | ||
stageId | string |
Other parameters are passed through a pointer to a apiResetTrackedItemRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
(empty response body)
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
[]Delivery SearchDeliveries(ctx).OrderBy(orderBy).Page(page).ResultsPerPage(resultsPerPage).DeliveryFilters(deliveryFilters).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/GIT_USER_ID/GIT_REPO_ID"
)
func main() {
orderBy := openapiclient.DeliveryOrderMode("START_DATE") // DeliveryOrderMode | (optional)
page := int64(789) // int64 | (optional) (default to 0)
resultsPerPage := int64(789) // int64 | (optional) (default to 100)
deliveryFilters := *openapiclient.NewDeliveryFilters() // DeliveryFilters | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.DeliveryApi.SearchDeliveries(context.Background()).OrderBy(orderBy).Page(page).ResultsPerPage(resultsPerPage).DeliveryFilters(deliveryFilters).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `DeliveryApi.SearchDeliveries``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `SearchDeliveries`: []Delivery
fmt.Fprintf(os.Stdout, "Response from `DeliveryApi.SearchDeliveries`: %v\n", resp)
}
Other parameters are passed through a pointer to a apiSearchDeliveriesRequest struct via the builder pattern
Name | Type | Description | Notes |
---|---|---|---|
orderBy | DeliveryOrderMode | ||
page | int64 | [default to 0] | |
resultsPerPage | int64 | [default to 100] | |
deliveryFilters | DeliveryFilters |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
SkipTrackedItem(ctx, itemId, stageId).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/GIT_USER_ID/GIT_REPO_ID"
)
func main() {
itemId := "itemId_example" // string |
stageId := "stageId_example" // string |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
r, err := apiClient.DeliveryApi.SkipTrackedItem(context.Background(), itemId, stageId).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `DeliveryApi.SkipTrackedItem``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
itemId | string | ||
stageId | string |
Other parameters are passed through a pointer to a apiSkipTrackedItemRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
(empty response body)
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Delivery UpdateDelivery(ctx, deliveryId).Delivery(delivery).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/GIT_USER_ID/GIT_REPO_ID"
)
func main() {
deliveryId := "deliveryId_example" // string |
delivery := *openapiclient.NewDelivery() // Delivery | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.DeliveryApi.UpdateDelivery(context.Background(), deliveryId).Delivery(delivery).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `DeliveryApi.UpdateDelivery``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `UpdateDelivery`: Delivery
fmt.Fprintf(os.Stdout, "Response from `DeliveryApi.UpdateDelivery`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
deliveryId | string |
Other parameters are passed through a pointer to a apiUpdateDeliveryRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
delivery | Delivery | |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Stage UpdateStageInDelivery(ctx, stageId).Stage(stage).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/GIT_USER_ID/GIT_REPO_ID"
)
func main() {
stageId := "stageId_example" // string |
stage := *openapiclient.NewStage() // Stage | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.DeliveryApi.UpdateStageInDelivery(context.Background(), stageId).Stage(stage).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `DeliveryApi.UpdateStageInDelivery``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `UpdateStageInDelivery`: Stage
fmt.Fprintf(os.Stdout, "Response from `DeliveryApi.UpdateStageInDelivery`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
stageId | string |
Other parameters are passed through a pointer to a apiUpdateStageInDeliveryRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
stage | Stage | |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
TrackedItem UpdateTrackedItemInDelivery(ctx, itemId).TrackedItem(trackedItem).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/GIT_USER_ID/GIT_REPO_ID"
)
func main() {
itemId := "itemId_example" // string |
trackedItem := *openapiclient.NewTrackedItem() // TrackedItem | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.DeliveryApi.UpdateTrackedItemInDelivery(context.Background(), itemId).TrackedItem(trackedItem).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `DeliveryApi.UpdateTrackedItemInDelivery``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `UpdateTrackedItemInDelivery`: TrackedItem
fmt.Fprintf(os.Stdout, "Response from `DeliveryApi.UpdateTrackedItemInDelivery`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
itemId | string |
Other parameters are passed through a pointer to a apiUpdateTrackedItemInDeliveryRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
trackedItem | TrackedItem | |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Transition UpdateTransitionInDelivery(ctx, transitionId).Transition(transition).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/GIT_USER_ID/GIT_REPO_ID"
)
func main() {
transitionId := "transitionId_example" // string |
transition := *openapiclient.NewTransition() // Transition | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.DeliveryApi.UpdateTransitionInDelivery(context.Background(), transitionId).Transition(transition).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `DeliveryApi.UpdateTransitionInDelivery``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `UpdateTransitionInDelivery`: Transition
fmt.Fprintf(os.Stdout, "Response from `DeliveryApi.UpdateTransitionInDelivery`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
transitionId | string |
Other parameters are passed through a pointer to a apiUpdateTransitionInDeliveryRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
transition | Transition | |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]