All URIs are relative to https://sailpoint.api.identitynow.com
Method | HTTP request | Description |
---|---|---|
ExportAccountFeed | Get /cc/api/source/exportAccountFeed/{id} | Export Account Feed |
GetSourceAccounts | Get /cc/api/source/getAccounts/ | Get Source Accounts |
ExportAccountFeed(ctx, id).Execute()
Export Account Feed
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
id := "id_example" // string |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.SourcesAccountsApi.ExportAccountFeed(context.Background(), id).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `SourcesAccountsApi.ExportAccountFeed``: %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. | |
id | string |
Other parameters are passed through a pointer to a apiExportAccountFeedRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
(empty response body)
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
GetSourceAccounts(ctx).Id(id).Start(start).Limit(limit).Sort(sort).Execute()
Get Source Accounts
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
id := "{id}" // string | (optional)
start := int32(0) // int32 | (optional)
limit := int32(250) // int32 | (optional)
sort := "%5B%7B%22property%22%3A%22identityName%22%2C%22direction%22%3A%22ASC%22%7D%5D" // string | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.SourcesAccountsApi.GetSourceAccounts(context.Background()).Id(id).Start(start).Limit(limit).Sort(sort).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `SourcesAccountsApi.GetSourceAccounts``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
Other parameters are passed through a pointer to a apiGetSourceAccountsRequest struct via the builder pattern
Name | Type | Description | Notes |
---|---|---|---|
id | string | ||
start | int32 | ||
limit | int32 | ||
sort | string |
(empty response body)
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]