Skip to content

Latest commit

 

History

History
148 lines (93 loc) · 3.54 KB

SourcesAccountsApi.md

File metadata and controls

148 lines (93 loc) · 3.54 KB

\SourcesAccountsApi

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

ExportAccountFeed(ctx, id).Execute()

Export Account Feed

Example

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)
    }
}

Path Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
id string

Other Parameters

Other parameters are passed through a pointer to a apiExportAccountFeedRequest struct via the builder pattern

Name Type Description Notes

Return type

(empty response body)

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

GetSourceAccounts

GetSourceAccounts(ctx).Id(id).Start(start).Limit(limit).Sort(sort).Execute()

Get Source Accounts

Example

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)
    }
}

Path Parameters

Other Parameters

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

Return type

(empty response body)

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]