All URIs are relative to http://localhost
Method | HTTP request | Description |
---|---|---|
ApiV3LocationsGet | Get /api/v3/locations | |
ApiV3LocationsIdentChangesHistoryGet | Get /api/v3/locations/{ident}/changes-history | |
ApiV3LocationsIdentDelete | Delete /api/v3/locations/{ident} | |
ApiV3LocationsIdentGet | Get /api/v3/locations/{ident} | |
ApiV3LocationsIdentPatch | Patch /api/v3/locations/{ident} | |
ApiV3LocationsPost | Post /api/v3/locations | |
ApiV3LocationsSavedsearchesGet | Get /api/v3/locations/savedsearches | |
ApiV3LocationsSavedsearchesIdentGet | Get /api/v3/locations/savedsearches/{ident} |
ApiV3LocationsGet(ctx).Limit(limit).Skip(skip).Sortby(sortby).Filter(filter).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
limit := "limit_example" // string | Limit records (optional)
skip := "skip_example" // string | Skip records (optional)
sortby := "sortby_example" // string | Order for results (optional)
filter := "filter_example" // string | Regular API v3 filter expression (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.LocationsApi.ApiV3LocationsGet(context.Background()).Limit(limit).Skip(skip).Sortby(sortby).Filter(filter).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `LocationsApi.ApiV3LocationsGet``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
Other parameters are passed through a pointer to a apiApiV3LocationsGetRequest struct via the builder pattern
Name | Type | Description | Notes |
---|---|---|---|
limit | string | Limit records | |
skip | string | Skip records | |
sortby | string | Order for results | |
filter | string | Regular API v3 filter expression |
(empty response body)
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ApiV3LocationsIdentChangesHistoryGet(ctx, ident).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
ident := "ident_example" // string | ID of system object (assets, locations, ...)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.LocationsApi.ApiV3LocationsIdentChangesHistoryGet(context.Background(), ident).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `LocationsApi.ApiV3LocationsIdentChangesHistoryGet``: %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. | |
ident | string | ID of system object (assets, locations, ...) |
Other parameters are passed through a pointer to a apiApiV3LocationsIdentChangesHistoryGetRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
(empty response body)
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ApiV3LocationsIdentDelete(ctx, ident).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
ident := "ident_example" // string | ID of system object (assets, locations, ...)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.LocationsApi.ApiV3LocationsIdentDelete(context.Background(), ident).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `LocationsApi.ApiV3LocationsIdentDelete``: %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. | |
ident | string | ID of system object (assets, locations, ...) |
Other parameters are passed through a pointer to a apiApiV3LocationsIdentDeleteRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
(empty response body)
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ApiV3LocationsIdentGet(ctx, ident).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
ident := "ident_example" // string | ID of system object (assets, locations, ...)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.LocationsApi.ApiV3LocationsIdentGet(context.Background(), ident).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `LocationsApi.ApiV3LocationsIdentGet``: %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. | |
ident | string | ID of system object (assets, locations, ...) |
Other parameters are passed through a pointer to a apiApiV3LocationsIdentGetRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
(empty response body)
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ApiV3LocationsIdentPatch(ctx, ident).OomnitzaIgnoreMetaRestriction(oomnitzaIgnoreMetaRestriction).Location(location).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
ident := "ident_example" // string | ID of system object (assets, locations, ...)
oomnitzaIgnoreMetaRestriction := "oomnitzaIgnoreMetaRestriction_example" // string | Used to allow the non-system edit-only field to be updated. Allowed values: 0, 1 (optional)
location := *openapiclient.NewLocation() // Location | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.LocationsApi.ApiV3LocationsIdentPatch(context.Background(), ident).OomnitzaIgnoreMetaRestriction(oomnitzaIgnoreMetaRestriction).Location(location).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `LocationsApi.ApiV3LocationsIdentPatch``: %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. | |
ident | string | ID of system object (assets, locations, ...) |
Other parameters are passed through a pointer to a apiApiV3LocationsIdentPatchRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
oomnitzaIgnoreMetaRestriction | string | Used to allow the non-system edit-only field to be updated. Allowed values: 0, 1 | location | Location | |
(empty response body)
- Content-Type: application/json
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ApiV3LocationsPost(ctx).OomnitzaIgnoreMetaRestriction(oomnitzaIgnoreMetaRestriction).Location(location).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
oomnitzaIgnoreMetaRestriction := "oomnitzaIgnoreMetaRestriction_example" // string | Used to allow the non-system edit-only field to be updated. Allowed values: 0, 1 (optional)
location := *openapiclient.NewLocation() // Location | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.LocationsApi.ApiV3LocationsPost(context.Background()).OomnitzaIgnoreMetaRestriction(oomnitzaIgnoreMetaRestriction).Location(location).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `LocationsApi.ApiV3LocationsPost``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
Other parameters are passed through a pointer to a apiApiV3LocationsPostRequest struct via the builder pattern
Name | Type | Description | Notes |
---|---|---|---|
oomnitzaIgnoreMetaRestriction | string | Used to allow the non-system edit-only field to be updated. Allowed values: 0, 1 | |
location | Location |
(empty response body)
- Content-Type: application/json
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ApiV3LocationsSavedsearchesGet(ctx).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.LocationsApi.ApiV3LocationsSavedsearchesGet(context.Background()).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `LocationsApi.ApiV3LocationsSavedsearchesGet``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
This endpoint does not need any parameter.
Other parameters are passed through a pointer to a apiApiV3LocationsSavedsearchesGetRequest struct via the builder pattern
(empty response body)
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ApiV3LocationsSavedsearchesIdentGet(ctx, ident).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
ident := "ident_example" // string | ID of system object (assets, locations, ...)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.LocationsApi.ApiV3LocationsSavedsearchesIdentGet(context.Background(), ident).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `LocationsApi.ApiV3LocationsSavedsearchesIdentGet``: %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. | |
ident | string | ID of system object (assets, locations, ...) |
Other parameters are passed through a pointer to a apiApiV3LocationsSavedsearchesIdentGetRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
(empty response body)
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]