All URIs are relative to https://sailpoint.api.identitynow.com
Method | HTTP request | Description |
---|---|---|
LoadAccounts | Post /cc/api/source/loadAccounts/{id} | Account Aggregation (File) |
LoadEntitlements | Post /cc/api/source/loadEntitlements/{id} | Account Aggregation (File) |
map[string]interface{} LoadAccounts(ctx, id).ContentType(contentType).DisableOptimization(disableOptimization).File(file).Execute()
Account Aggregation (File)
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
id := "id_example" // string |
contentType := "application/x-www-form-urlencoded" // string | (optional)
disableOptimization := true // bool | (optional)
file := os.NewFile(1234, "some_file") // *os.File | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.SourcesAggregationApi.LoadAccounts(context.Background(), id).ContentType(contentType).DisableOptimization(disableOptimization).File(file).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `SourcesAggregationApi.LoadAccounts``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `LoadAccounts`: map[string]interface{}
fmt.Fprintf(os.Stdout, "Response from `SourcesAggregationApi.LoadAccounts`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
id | string |
Other parameters are passed through a pointer to a apiLoadAccountsRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
contentType | string | | disableOptimization | bool | | file | *os.File | |
map[string]interface{}
UserContextAuth, UserContextAuth
- Content-Type: multipart/form-data
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
map[string]interface{} LoadEntitlements(ctx, id).ContentType(contentType).File(file).Execute()
Account Aggregation (File)
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
id := "id_example" // string |
contentType := "application/x-www-form-urlencoded" // string | (optional)
file := os.NewFile(1234, "some_file") // *os.File | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.SourcesAggregationApi.LoadEntitlements(context.Background(), id).ContentType(contentType).File(file).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `SourcesAggregationApi.LoadEntitlements``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `LoadEntitlements`: map[string]interface{}
fmt.Fprintf(os.Stdout, "Response from `SourcesAggregationApi.LoadEntitlements`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
id | string |
Other parameters are passed through a pointer to a apiLoadEntitlementsRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
contentType | string | | file | *os.File | |
map[string]interface{}
UserContextAuth, UserContextAuth
- Content-Type: multipart/form-data
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]