4 operation(s). Part of the API index.
Call these as client.<Service>.<Method>(ctx).Execute(). <service> is the client field for this
group — the README lists the field name for every service.
These pages group operations the way the OpenAPI specification tags them, which
is not always one field per page.
GET /customobject
Retrieve Custom Object data by pagination
Retrieves Custom Object data based on specified pagination parameters.
func callGetAllCustomObjectsByQuery(ctx context.Context, client *Client) {
customobject := "<customobject>" //Optional
region := "<region>" //Optional
next := "<next>" //Optional
resp, _, err := client.CustomObjects.GetAllCustomObjectsByQuery(ctx).Customobject(customobject).Region(region).Next(next).Execute()
if err != nil {
var lrErr *Error
if errors.As(err, &lrErr) {
fmt.Println(lrErr.Description)
}
return
}
fmt.Println(resp)
}| Name | In | Type | Required | Description |
|---|---|---|---|---|
customobject |
query | string | no | Custom Object identifier for filtering results. This parameter allows you to specify a Custom Object to filter the results returned by the API. |
region |
query | string | no | The region to filter results by. |
next |
query | string | no | Scroll or pagination token for fetching the next set of results. This token is used to retrieve the next page of results in a paginated response. If not provided, the API will return the first page of results. |
UserProfileNextResponse
GET /identity/customobject
Retrieve User's and Custom Object data by pagination
Retrieves User's and Custom Object data per User based on the pagination parameters.
func callGetCustomObjectByQuery(ctx context.Context, client *Client) {
region := "<region>" //Optional
customobject := "<customobject>" //Optional
next := "<next>" //Optional
resp, _, err := client.CustomObjects.GetCustomObjectByQuery(ctx).Region(region).Customobject(customobject).Next(next).Execute()
if err != nil {
var lrErr *Error
if errors.As(err, &lrErr) {
fmt.Println(lrErr.Description)
}
return
}
fmt.Println(resp)
}| Name | In | Type | Required | Description |
|---|---|---|---|---|
region |
query | string | no | The region to filter results by. |
customobject |
query | string | no | Custom Object identifier for filtering results. This parameter allows you to specify a Custom Object to filter the results returned by the API. |
next |
query | string | no | Scroll or pagination token for fetching the next set of results. This token is used to retrieve the next page of results in a paginated response. If not provided, the API will return the first page of results. |
userProfileNextResponseWithCustomObject
POST /customobject
Retrieve Custom Object data by query
Retrieves Custom Object data based on specified query filters.
func callPostAllCustomObjectsByQuery(ctx context.Context, client *Client) {
customobject := "<customobject>" //Optional
region := "<region>" //Optional
userProfileRequestBody := UserProfileRequestBody{} //Required
userProfileRequestBody.SetFrom("<from>")
userProfileRequestBody.SetTo("<to>")
userProfileRequestBody.SetSize(0)
resp, _, err := client.CustomObjects.PostAllCustomObjectsByQuery(ctx).Customobject(customobject).Region(region).UserProfileRequestBody(userProfileRequestBody).Execute()
if err != nil {
var lrErr *Error
if errors.As(err, &lrErr) {
fmt.Println(lrErr.Description)
}
return
}
fmt.Println(resp)
}| Name | In | Type | Required | Description |
|---|---|---|---|---|
customobject |
query | string | no | Custom Object identifier for filtering results. This parameter allows you to specify a Custom Object to filter the results returned by the API. |
region |
query | string | no | The region to filter results by. |
UserProfileRequestBody as application/json.
UserProfileScrollResponse
POST /identity/customobject
Retrieve User's and Custom Object data by query
Retrieves User's and Custom Objects data per User based on the query.
func callPostCustomObjectByQuery(ctx context.Context, client *Client) {
region := "<region>" //Optional
customobject := "<customobject>" //Optional
userProfileRequestBody := UserProfileRequestBody{} //Required
userProfileRequestBody.SetFrom("<from>")
userProfileRequestBody.SetTo("<to>")
userProfileRequestBody.SetSize(0)
resp, _, err := client.CustomObjects.PostCustomObjectByQuery(ctx).Region(region).Customobject(customobject).UserProfileRequestBody(userProfileRequestBody).Execute()
if err != nil {
var lrErr *Error
if errors.As(err, &lrErr) {
fmt.Println(lrErr.Description)
}
return
}
fmt.Println(resp)
}| Name | In | Type | Required | Description |
|---|---|---|---|---|
region |
query | string | no | The region to filter results by. |
customobject |
query | string | no | Custom Object identifier for filtering results. This parameter allows you to specify a Custom Object to filter the results returned by the API. |
UserProfileRequestBody as application/json.
userProfileScrollResponseWithCustomObject