All URIs are relative to https://yasm.prodyna.com:443/api/graph/v1
| Method | HTTP request | Description |
|---|---|---|
| ProfileStatistics | Post /statistics/profile | Profiles statistics over regions (country, office) |
| SkillsEvaluation | Post /statistics/skill | Percentage skills evaluation |
[]ProfileStatistic ProfileStatistics(ctx).Execute()
Profiles statistics over regions (country, office)
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/prodyna-yasm/yasm-api-go"
)
func main() {
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.StatisticAPI.ProfileStatistics(context.Background()).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `StatisticAPI.ProfileStatistics``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `ProfileStatistics`: []ProfileStatistic
fmt.Fprintf(os.Stdout, "Response from `StatisticAPI.ProfileStatistics`: %v\n", resp)
}This endpoint does not need any parameter.
Other parameters are passed through a pointer to a apiProfileStatisticsRequest struct via the builder pattern
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
[]SkillPercentageDetail SkillsEvaluation(ctx).SkillEvaluationFilter(skillEvaluationFilter).Execute()
Percentage skills evaluation
package main
import (
"context"
"fmt"
"os"
"time"
openapiclient "github.com/prodyna-yasm/yasm-api-go"
)
func main() {
skillEvaluationFilter := *openapiclient.NewSkillEvaluationFilter(time.Now(), time.Now()) // SkillEvaluationFilter | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.StatisticAPI.SkillsEvaluation(context.Background()).SkillEvaluationFilter(skillEvaluationFilter).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `StatisticAPI.SkillsEvaluation``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `SkillsEvaluation`: []SkillPercentageDetail
fmt.Fprintf(os.Stdout, "Response from `StatisticAPI.SkillsEvaluation`: %v\n", resp)
}Other parameters are passed through a pointer to a apiSkillsEvaluationRequest struct via the builder pattern
| Name | Type | Description | Notes |
|---|---|---|---|
| skillEvaluationFilter | SkillEvaluationFilter |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]