Skip to content

Commit

Permalink
Replace openapiclient with Ingrammicroresellerapi
Browse files Browse the repository at this point in the history
  • Loading branch information
xvantage-integration committed Apr 8, 2024
1 parent 1276ac6 commit 31c21c4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docs/AsyncOrderCreateAPI.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ func main() {
iMSenderID := "MyCompany" // string | Unique value used to identify the sender of the transaction. (optional)

<<<<<<< HEAD:docs/AsyncOrderCreateAPI.md
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
configuration := xi_sdk_resellers.NewConfiguration()
apiClient := xi_sdk_resellers.NewAPIClient(configuration)
resp, r, err := apiClient.AsyncOrderCreateAPI.PostAsyncOrderCreateV7(context.Background()).IMCustomerNumber(iMCustomerNumber).IMCountryCode(iMCountryCode).IMCorrelationID(iMCorrelationID).AsyncOrderCreateDTO(asyncOrderCreateDTO).IMSenderID(iMSenderID).Execute()
=======
configuration := xi_sdk_resellers.NewConfiguration()
Expand Down
4 changes: 2 additions & 2 deletions docs/DealsAPI.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,8 +120,8 @@ func main() {
size := int32(56) // int32 | The number of records required in the call - max records 100 per page. (optional)
page := int32(56) // int32 | The page number reference. (optional)

configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
configuration := xi_sdk_resellers.NewConfiguration()
apiClient := xi_sdk_resellers.NewAPIClient(configuration)
resp, r, err := apiClient.DealsAPI.GetResellersV6Dealssearch(context.Background()).IMCustomerNumber(iMCustomerNumber).IMCountryCode(iMCountryCode).IMCorrelationID(iMCorrelationID).IMSenderID(iMSenderID).EndUser(endUser).Vendor(vendor).DealId(dealId).Size(size).Page(page).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `DealsAPI.GetResellersV6Dealssearch``: %v\n", err)
Expand Down

0 comments on commit 31c21c4

Please sign in to comment.