Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
xvantage-integration committed Sep 22, 2024
1 parent c99ee95 commit f811ecc
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 29 deletions.
11 changes: 0 additions & 11 deletions api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6966,17 +6966,6 @@ paths:
maxLength: 32
type: string
style: simple
- description: Environment name.
example: prodChicago
explode: false
in: header
name: IM-Environment
required: true
schema:
example: 20-222222
maxLength: 32
type: string
style: simple
- description: Unique deal ID.
explode: false
in: path
Expand Down
14 changes: 0 additions & 14 deletions api_deals.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 2 additions & 4 deletions docs/DealsAPI.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Method | HTTP request | Description

## GetResellersV6Dealsdetails

> DealsDetailsResponse GetResellersV6Dealsdetails(ctx, dealId).IMCustomerNumber(iMCustomerNumber).IMCountryCode(iMCountryCode).IMCorrelationID(iMCorrelationID).IMApplicationId(iMApplicationId).IMEnvironment(iMEnvironment).Execute()
> DealsDetailsResponse GetResellersV6Dealsdetails(ctx, dealId).IMCustomerNumber(iMCustomerNumber).IMCountryCode(iMCountryCode).IMCorrelationID(iMCorrelationID).IMApplicationId(iMApplicationId).Execute()
Deals Details

Expand All @@ -34,12 +34,11 @@ func main() {
iMCountryCode := "US" // string | Two-character ISO country code.
iMCorrelationID := "fbac82ba-cf0a-4bcf-fc03-0c5084" // string | Unique transaction number to identify each transaction across all the systems.
iMApplicationId := "MyCompany" // string | Unique value used to identify the sender of the transaction. Example: MyCompany
iMEnvironment := "prodChicago" // string | Environment name.
dealId := "12345678" // string | Unique deal ID.

configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.DealsAPI.GetResellersV6Dealsdetails(context.Background(), dealId).IMCustomerNumber(iMCustomerNumber).IMCountryCode(iMCountryCode).IMCorrelationID(iMCorrelationID).IMApplicationId(iMApplicationId).IMEnvironment(iMEnvironment).Execute()
resp, r, err := apiClient.DealsAPI.GetResellersV6Dealsdetails(context.Background(), dealId).IMCustomerNumber(iMCustomerNumber).IMCountryCode(iMCountryCode).IMCorrelationID(iMCorrelationID).IMApplicationId(iMApplicationId).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `DealsAPI.GetResellersV6Dealsdetails``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
Expand Down Expand Up @@ -68,7 +67,6 @@ Name | Type | Description | Notes
**iMCountryCode** | **string** | Two-character ISO country code. |
**iMCorrelationID** | **string** | Unique transaction number to identify each transaction across all the systems. |
**iMApplicationId** | **string** | Unique value used to identify the sender of the transaction. Example: MyCompany |
**iMEnvironment** | **string** | Environment name. |


### Return type
Expand Down

0 comments on commit f811ecc

Please sign in to comment.