FormAuthDataAPI
All URIs are relative to https://use1-omada-northbound.tplinkcloud.com
| Method | HTTP request | Description |
|---|---|---|
| CreateAuthForm | Post /openapi/v1/{omadacId}/sites/{siteId}/hotspot/surveys | Create a new authentication survey |
| DeleteAuthForm | Delete /openapi/v1/{omadacId}/sites/{siteId}/hotspot/surveys/{surveyId} | Delete an existing authentication survey |
| DeleteFormAuthResult | Delete /openapi/v1/{omadacId}/sites/{siteId}/hotspot/surveys/auth-results/{surveyResultId} | Delete an authentication survey result for given surveyResultId |
| DeleteSelectedFormAuthResult | Post /openapi/v1/{omadacId}/sites/{siteId}/hotspot/surveys/{surveyId}/auth-results | Delete selected authentication survey results for given surveyId |
| ExportAuthForms | Get /openapi/v1/{omadacId}/sites/{siteId}/files/hotspot/form-auths/{formId}/export | Export the Form Authentication Result List |
| GetAuthForm | Get /openapi/v1/{omadacId}/sites/{siteId}/hotspot/surveys/{surveyId} | Get an authentication survey for given surveyId |
| GetAuthForms | Get /openapi/v1/{omadacId}/sites/{siteId}/hotspot/surveys | Get authentication survey list |
| GetFormAuthResult | Get /openapi/v1/{omadacId}/sites/{siteId}/hotspot/surveys/auth-results/{surveyResultId} | Get an authentication survey result for given surveyResultId |
| GetFormAuthResults | Get /openapi/v1/{omadacId}/sites/{siteId}/hotspot/surveys/{surveyId}/auth-results | Get authentication result lists for given survey |
| GetGridFormAuthResults | Get /openapi/v1/{omadacId}/sites/{siteId}/hotspot/form-auths/{formId}/auth-results | Get Form Authentication Result |
| ModifyAuthForm | Patch /openapi/v1/{omadacId}/sites/{siteId}/hotspot/surveys/{surveyId} | Modify an authentication survey for given surveyId |
CreateAuthForm
OperationResponseCreatedResIdOpenApiVO CreateAuthForm(ctx, omadacId, siteId).CreateFormAuthOpenApiVO(createFormAuthOpenApiVO).Execute()
Create a new authentication survey
Example
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/Tohaker/omada-go-sdk/omada"
)
func main() {
omadacId := "omadacId_example" // string | Omada ID
siteId := "siteId_example" // string | Site ID
createFormAuthOpenApiVO := *openapiclient.NewCreateFormAuthOpenApiVO(*openapiclient.NewAuthTimeOpenApiVO(int32(123)), []openapiclient.FormAuthCardOpenApiVO{*openapiclient.NewFormAuthCardOpenApiVO([]string{"Choices_example"}, false, "Title_example", int32(123))}, "Name_example", "Note_example", false, "Title_example") // CreateFormAuthOpenApiVO |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.FormAuthDataAPI.CreateAuthForm(context.Background(), omadacId, siteId).CreateFormAuthOpenApiVO(createFormAuthOpenApiVO).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `FormAuthDataAPI.CreateAuthForm``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `CreateAuthForm`: OperationResponseCreatedResIdOpenApiVO
fmt.Fprintf(os.Stdout, "Response from `FormAuthDataAPI.CreateAuthForm`: %v\n", resp)
}
Path Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
| omadacId | string | Omada ID | |
| siteId | string | Site ID |
Other Parameters
Other parameters are passed through a pointer to a apiCreateAuthFormRequest struct via the builder pattern
| Name | Type | Description | Notes |
|---|---|---|---|
createFormAuthOpenApiVO | CreateFormAuthOpenApiVO | |
Return type
OperationResponseCreatedResIdOpenApiVO
Authorization
HTTP request headers
- Content-Type: application/json
- Accept: /
[Back to top] [Back to API list] [Back to Model list] [Back to README]
DeleteAuthForm
OperationResponseWithoutResult DeleteAuthForm(ctx, omadacId, siteId, surveyId).Execute()
Delete an existing authentication survey
Example
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/Tohaker/omada-go-sdk/omada"
)
func main() {
omadacId := "omadacId_example" // string | Omada ID
siteId := "siteId_example" // string | Site ID
surveyId := "surveyId_example" // string | Auth survey ID
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.FormAuthDataAPI.DeleteAuthForm(context.Background(), omadacId, siteId, surveyId).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `FormAuthDataAPI.DeleteAuthForm``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `DeleteAuthForm`: OperationResponseWithoutResult
fmt.Fprintf(os.Stdout, "Response from `FormAuthDataAPI.DeleteAuthForm`: %v\n", resp)
}
Path Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
| omadacId | string | Omada ID | |
| siteId | string | Site ID | |
| surveyId | string | Auth survey ID |
Other Parameters
Other parameters are passed through a pointer to a apiDeleteAuthFormRequest struct via the builder pattern
| Name | Type | Description | Notes |
|---|---|---|---|
Return type
OperationResponseWithoutResult
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: /
[Back to top] [Back to API list] [Back to Model list] [Back to README]
DeleteFormAuthResult
OperationResponseWithoutResult DeleteFormAuthResult(ctx, omadacId, siteId, surveyResultId).Execute()
Delete an authentication survey result for given surveyResultId
Example
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/Tohaker/omada-go-sdk/omada"
)
func main() {
omadacId := "omadacId_example" // string | Omada ID
siteId := "siteId_example" // string | Site ID
surveyResultId := "surveyResultId_example" // string | Survey authentication result ID
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.FormAuthDataAPI.DeleteFormAuthResult(context.Background(), omadacId, siteId, surveyResultId).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `FormAuthDataAPI.DeleteFormAuthResult``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `DeleteFormAuthResult`: OperationResponseWithoutResult
fmt.Fprintf(os.Stdout, "Response from `FormAuthDataAPI.DeleteFormAuthResult`: %v\n", resp)
}
Path Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
| omadacId | string | Omada ID | |
| siteId | string | Site ID | |
| surveyResultId | string | Survey authentication result ID |
Other Parameters
Other parameters are passed through a pointer to a apiDeleteFormAuthResultRequest struct via the builder pattern
| Name | Type | Description | Notes |
|---|---|---|---|
Return type
OperationResponseWithoutResult
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: /
[Back to top] [Back to API list] [Back to Model list] [Back to README]
DeleteSelectedFormAuthResult
OperationResponseWithoutResult DeleteSelectedFormAuthResult(ctx, omadacId, siteId, surveyId).FormAuthResultSelector(formAuthResultSelector).Execute()
Delete selected authentication survey results for given surveyId
Example
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/Tohaker/omada-go-sdk/omada"
)
func main() {
omadacId := "omadacId_example" // string | Omada ID
siteId := "siteId_example" // string | Site ID
surveyId := "surveyId_example" // string | Survey authentication ID
formAuthResultSelector := *openapiclient.NewFormAuthResultSelector("Type_example") // FormAuthResultSelector |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.FormAuthDataAPI.DeleteSelectedFormAuthResult(context.Background(), omadacId, siteId, surveyId).FormAuthResultSelector(formAuthResultSelector).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `FormAuthDataAPI.DeleteSelectedFormAuthResult``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `DeleteSelectedFormAuthResult`: OperationResponseWithoutResult
fmt.Fprintf(os.Stdout, "Response from `FormAuthDataAPI.DeleteSelectedFormAuthResult`: %v\n", resp)
}
Path Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
| omadacId | string | Omada ID | |
| siteId | string | Site ID | |
| surveyId | string | Survey authentication ID |
Other Parameters
Other parameters are passed through a pointer to a apiDeleteSelectedFormAuthResultRequest struct via the builder pattern
| Name | Type | Description | Notes |
|---|---|---|---|
formAuthResultSelector | FormAuthResultSelector | |
Return type
OperationResponseWithoutResult
Authorization
HTTP request headers
- Content-Type: application/json
- Accept: /
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ExportAuthForms
map[string]interface{} ExportAuthForms(ctx, omadacId, siteId, formId).ExportFormVO(exportFormVO).Execute()
Export the Form Authentication Result List
Example
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/Tohaker/omada-go-sdk/omada"
)
func main() {
omadacId := "omadacId_example" // string | Omada ID
siteId := "siteId_example" // string | Site ID
formId := "formId_example" // string | Form auth Id.
exportFormVO := *openapiclient.NewExportFormOpenApiVO("Ids_example", "Type_example") // ExportFormOpenApiVO | Export Form Parameters
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.FormAuthDataAPI.ExportAuthForms(context.Background(), omadacId, siteId, formId).ExportFormVO(exportFormVO).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `FormAuthDataAPI.ExportAuthForms``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `ExportAuthForms`: map[string]interface{}
fmt.Fprintf(os.Stdout, "Response from `FormAuthDataAPI.ExportAuthForms`: %v\n", resp)
}
Path Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
| omadacId | string | Omada ID | |
| siteId | string | Site ID | |
| formId | string | Form auth Id. |
Other Parameters
Other parameters are passed through a pointer to a apiExportAuthFormsRequest struct via the builder pattern
| Name | Type | Description | Notes |
|---|---|---|---|
exportFormVO | ExportFormOpenApiVO | Export Form Parameters |
Return type
map[string]interface{}
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: /
[Back to top] [Back to API list] [Back to Model list] [Back to README]
GetAuthForm
OperationResponseFormAuthOpenApiVO GetAuthForm(ctx, omadacId, siteId, surveyId).Execute()
Get an authentication survey for given surveyId
Example
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/Tohaker/omada-go-sdk/omada"
)
func main() {
omadacId := "omadacId_example" // string | Omada ID
siteId := "siteId_example" // string | Site ID
surveyId := "surveyId_example" // string | Auth survey ID
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.FormAuthDataAPI.GetAuthForm(context.Background(), omadacId, siteId, surveyId).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `FormAuthDataAPI.GetAuthForm``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetAuthForm`: OperationResponseFormAuthOpenApiVO
fmt.Fprintf(os.Stdout, "Response from `FormAuthDataAPI.GetAuthForm`: %v\n", resp)
}
Path Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
| omadacId | string | Omada ID | |
| siteId | string | Site ID | |
| surveyId | string | Auth survey ID |
Other Parameters
Other parameters are passed through a pointer to a apiGetAuthFormRequest struct via the builder pattern
| Name | Type | Description | Notes |
|---|---|---|---|
Return type
OperationResponseFormAuthOpenApiVO
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: /
[Back to top] [Back to API list] [Back to Model list] [Back to README]
GetAuthForms
OperationResponseListFormAuthOpenApiVO GetAuthForms(ctx, omadacId, siteId).SortsName(sortsName).SortsCreateTime(sortsCreateTime).SortsAnswerNum(sortsAnswerNum).Execute()
Get authentication survey list
Example
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/Tohaker/omada-go-sdk/omada"
)
func main() {
omadacId := "omadacId_example" // string | Omada ID
siteId := "siteId_example" // string | Site ID
sortsName := "sortsName_example" // string | Sort parameter may be one of asc or desc. Optional parameter. If it is not carried, it means it is not sorted by this field. When there are more than one, the first one takes effect (optional)
sortsCreateTime := "sortsCreateTime_example" // string | Sort parameter may be one of asc or desc. Optional parameter. If it is not carried, it means it is not sorted by this field. When there are more than one, the first one takes effect (optional)
sortsAnswerNum := "sortsAnswerNum_example" // string | Sort parameter may be one of asc or desc. Optional parameter. If it is not carried, it means it is not sorted by this field. When there are more than one, the first one takes effect (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.FormAuthDataAPI.GetAuthForms(context.Background(), omadacId, siteId).SortsName(sortsName).SortsCreateTime(sortsCreateTime).SortsAnswerNum(sortsAnswerNum).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `FormAuthDataAPI.GetAuthForms``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetAuthForms`: OperationResponseListFormAuthOpenApiVO
fmt.Fprintf(os.Stdout, "Response from `FormAuthDataAPI.GetAuthForms`: %v\n", resp)
}
Path Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
| omadacId | string | Omada ID | |
| siteId | string | Site ID |
Other Parameters
Other parameters are passed through a pointer to a apiGetAuthFormsRequest struct via the builder pattern
| Name | Type | Description | Notes |
|---|---|---|---|
sortsName | string | Sort parameter may be one of asc or desc. Optional parameter. If it is not carried, it means it is not sorted by this field. When there are more than one, the first one takes effect | sortsCreateTime | string | Sort parameter may be one of asc or desc. Optional parameter. If it is not carried, it means it is not sorted by this field. When there are more than one, the first one takes effect | sortsAnswerNum | string | Sort parameter may be one of asc or desc. Optional parameter. If it is not carried, it means it is not sorted by this field. When there are more than one, the first one takes effect |
Return type
OperationResponseListFormAuthOpenApiVO
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: /
[Back to top] [Back to API list] [Back to Model list] [Back to README]
GetFormAuthResult
OperationResponseFormAuthResultOpenApiVO GetFormAuthResult(ctx, omadacId, siteId, surveyResultId).Execute()
Get an authentication survey result for given surveyResultId
Example
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/Tohaker/omada-go-sdk/omada"
)
func main() {
omadacId := "omadacId_example" // string | Omada ID
siteId := "siteId_example" // string | Site ID
surveyResultId := "surveyResultId_example" // string | Survey authentication result ID
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.FormAuthDataAPI.GetFormAuthResult(context.Background(), omadacId, siteId, surveyResultId).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `FormAuthDataAPI.GetFormAuthResult``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetFormAuthResult`: OperationResponseFormAuthResultOpenApiVO
fmt.Fprintf(os.Stdout, "Response from `FormAuthDataAPI.GetFormAuthResult`: %v\n", resp)
}
Path Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
| omadacId | string | Omada ID | |
| siteId | string | Site ID | |
| surveyResultId | string | Survey authentication result ID |
Other Parameters
Other parameters are passed through a pointer to a apiGetFormAuthResultRequest struct via the builder pattern
| Name | Type | Description | Notes |
|---|---|---|---|
Return type
OperationResponseFormAuthResultOpenApiVO
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: /
[Back to top] [Back to API list] [Back to Model list] [Back to README]
GetFormAuthResults
OperationResponseGridVOFormAuthResultOpenApiVO GetFormAuthResults(ctx, omadacId, siteId, surveyId).Page(page).PageSize(pageSize).SortsFormAuth(sortsFormAuth).Execute()
Get authentication result lists for given survey
Example
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/Tohaker/omada-go-sdk/omada"
)
func main() {
omadacId := "omadacId_example" // string | Omada ID
siteId := "siteId_example" // string | Site ID
surveyId := "surveyId_example" // string | Auth survey ID
page := int32(56) // int32 | Start page number. Start from 1.
pageSize := int32(56) // int32 | Number of entries per page. It should be within the range of 1–1000.
sortsFormAuth := "sortsFormAuth_example" // string | Sort parameter may be one of asc or desc. Optional parameter. If it is not carried, it means it is not sorted by this field. When there are more than one, the first one takes effect (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.FormAuthDataAPI.GetFormAuthResults(context.Background(), omadacId, siteId, surveyId).Page(page).PageSize(pageSize).SortsFormAuth(sortsFormAuth).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `FormAuthDataAPI.GetFormAuthResults``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetFormAuthResults`: OperationResponseGridVOFormAuthResultOpenApiVO
fmt.Fprintf(os.Stdout, "Response from `FormAuthDataAPI.GetFormAuthResults`: %v\n", resp)
}
Path Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
| omadacId | string | Omada ID | |
| siteId | string | Site ID | |
| surveyId | string | Auth survey ID |
Other Parameters
Other parameters are passed through a pointer to a apiGetFormAuthResultsRequest struct via the builder pattern
| Name | Type | Description | Notes |
|---|---|---|---|
page | int32 | Start page number. Start from 1. | pageSize | int32 | Number of entries per page. It should be within the range of 1–1000. | sortsFormAuth | string | Sort parameter may be one of asc or desc. Optional parameter. If it is not carried, it means it is not sorted by this field. When there are more than one, the first one takes effect |
Return type
OperationResponseGridVOFormAuthResultOpenApiVO
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: /
[Back to top] [Back to API list] [Back to Model list] [Back to README]
GetGridFormAuthResults
OperationResponse GetGridFormAuthResults(ctx, omadacId, siteId, formId).QueryDataVO(queryDataVO).Execute()
Get Form Authentication Result
Example
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/Tohaker/omada-go-sdk/omada"
)
func main() {
omadacId := "omadacId_example" // string | Omada ID
siteId := "siteId_example" // string | Site ID
formId := "formId_example" // string | Form auth Id.
queryDataVO := *openapiclient.NewOpenApiQueryDataVO(int32(123), int32(123)) // OpenApiQueryDataVO | Query Data
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.FormAuthDataAPI.GetGridFormAuthResults(context.Background(), omadacId, siteId, formId).QueryDataVO(queryDataVO).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `FormAuthDataAPI.GetGridFormAuthResults``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetGridFormAuthResults`: OperationResponse
fmt.Fprintf(os.Stdout, "Response from `FormAuthDataAPI.GetGridFormAuthResults`: %v\n", resp)
}
Path Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
| omadacId | string | Omada ID | |
| siteId | string | Site ID | |
| formId | string | Form auth Id. |
Other Parameters
Other parameters are passed through a pointer to a apiGetGridFormAuthResultsRequest struct via the builder pattern
| Name | Type | Description | Notes |
|---|---|---|---|
queryDataVO | OpenApiQueryDataVO | Query Data |
Return type
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: /
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ModifyAuthForm
OperationResponseWithoutResult ModifyAuthForm(ctx, omadacId, siteId, surveyId).CreateFormAuthOpenApiVO(createFormAuthOpenApiVO).Execute()
Modify an authentication survey for given surveyId
Example
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/Tohaker/omada-go-sdk/omada"
)
func main() {
omadacId := "omadacId_example" // string | Omada ID
siteId := "siteId_example" // string | Site ID
surveyId := "surveyId_example" // string | Survey authentication ID
createFormAuthOpenApiVO := *openapiclient.NewCreateFormAuthOpenApiVO(*openapiclient.NewAuthTimeOpenApiVO(int32(123)), []openapiclient.FormAuthCardOpenApiVO{*openapiclient.NewFormAuthCardOpenApiVO([]string{"Choices_example"}, false, "Title_example", int32(123))}, "Name_example", "Note_example", false, "Title_example") // CreateFormAuthOpenApiVO |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.FormAuthDataAPI.ModifyAuthForm(context.Background(), omadacId, siteId, surveyId).CreateFormAuthOpenApiVO(createFormAuthOpenApiVO).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `FormAuthDataAPI.ModifyAuthForm``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `ModifyAuthForm`: OperationResponseWithoutResult
fmt.Fprintf(os.Stdout, "Response from `FormAuthDataAPI.ModifyAuthForm`: %v\n", resp)
}
Path Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
| omadacId | string | Omada ID | |
| siteId | string | Site ID | |
| surveyId | string | Survey authentication ID |
Other Parameters
Other parameters are passed through a pointer to a apiModifyAuthFormRequest struct via the builder pattern
| Name | Type | Description | Notes |
|---|---|---|---|
createFormAuthOpenApiVO | CreateFormAuthOpenApiVO | |
Return type
OperationResponseWithoutResult
Authorization
HTTP request headers
- Content-Type: application/json
- Accept: /
[Back to top] [Back to API list] [Back to Model list] [Back to README]