All URIs are relative to https://yasm.prodyna.com:443/api/graph/v1
Method | HTTP request | Description |
---|---|---|
AddPersonCertification | Post /persons/{personId}/certifications/{certificationId} | Add Certification to a Person |
AddSkillToCertification | Post /certifications/{certificationId}/skills/{skillId} | |
CreateCertification | Post /certifications | Create a Certification in an Organization |
DeleteCertification | Delete /certifications/{certificationId} | Delete a Certification |
DeletePersonCertification | Delete /persons/{personId}/certifications/{certificationId} | Remove an Interest to a Person |
DeleteSkillFromCertification | Delete /certifications/{certificationId}/skills/{skillId} | |
GetCertification | Get /certifications/{certificationId} | Get details about a Certification |
MoveCertification | Put /certifications/{certificationId}/organizations/{organizationId} | Move a Certification to an Organization |
SearchCertifications | Post /certifications/search | Search over certifications |
UpdateCertification | Put /certifications/{certificationId} | Update a Certification |
UpdatePersonCertification | Put /persons/{personId}/certifications/{certificationId} | Update a Certification of a Person |
UpdateSkillInCertification | Put /certifications/{certificationId}/skills/{skillId} |
PersonDetails AddPersonCertification(ctx, personId, certificationId).Body(body).Execute()
Add Certification to a Person
package main
import (
"context"
"fmt"
"os"
"time"
openapiclient "github.com/prodyna-yasm/yasm-api-go"
)
func main() {
personId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string |
certificationId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string |
body := time.Now() // string |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.CertificationAPI.AddPersonCertification(context.Background(), personId, certificationId).Body(body).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `CertificationAPI.AddPersonCertification``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `AddPersonCertification`: PersonDetails
fmt.Fprintf(os.Stdout, "Response from `CertificationAPI.AddPersonCertification`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
personId | string | ||
certificationId | string |
Other parameters are passed through a pointer to a apiAddPersonCertificationRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
body | string | |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
CertificationDetails AddSkillToCertification(ctx, certificationId, skillId).Level(level).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/prodyna-yasm/yasm-api-go"
)
func main() {
certificationId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string |
skillId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string |
level := *openapiclient.NewLevel() // Level |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.CertificationAPI.AddSkillToCertification(context.Background(), certificationId, skillId).Level(level).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `CertificationAPI.AddSkillToCertification``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `AddSkillToCertification`: CertificationDetails
fmt.Fprintf(os.Stdout, "Response from `CertificationAPI.AddSkillToCertification`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
certificationId | string | ||
skillId | string |
Other parameters are passed through a pointer to a apiAddSkillToCertificationRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
level | Level | |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
CertificationDetails CreateCertification(ctx).OrganizationId(organizationId).Certification(certification).Execute()
Create a Certification in an Organization
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/prodyna-yasm/yasm-api-go"
)
func main() {
organizationId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | The ID of the organization
certification := *openapiclient.NewCertification("Id_example", "Name_example") // Certification |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.CertificationAPI.CreateCertification(context.Background()).OrganizationId(organizationId).Certification(certification).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `CertificationAPI.CreateCertification``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `CreateCertification`: CertificationDetails
fmt.Fprintf(os.Stdout, "Response from `CertificationAPI.CreateCertification`: %v\n", resp)
}
Other parameters are passed through a pointer to a apiCreateCertificationRequest struct via the builder pattern
Name | Type | Description | Notes |
---|---|---|---|
organizationId | string | The ID of the organization | |
certification | Certification |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Status DeleteCertification(ctx, certificationId).Execute()
Delete a Certification
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/prodyna-yasm/yasm-api-go"
)
func main() {
certificationId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.CertificationAPI.DeleteCertification(context.Background(), certificationId).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `CertificationAPI.DeleteCertification``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `DeleteCertification`: Status
fmt.Fprintf(os.Stdout, "Response from `CertificationAPI.DeleteCertification`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
certificationId | string |
Other parameters are passed through a pointer to a apiDeleteCertificationRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
PersonDetails DeletePersonCertification(ctx, personId, certificationId).Execute()
Remove an Interest to a Person
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/prodyna-yasm/yasm-api-go"
)
func main() {
personId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string |
certificationId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.CertificationAPI.DeletePersonCertification(context.Background(), personId, certificationId).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `CertificationAPI.DeletePersonCertification``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `DeletePersonCertification`: PersonDetails
fmt.Fprintf(os.Stdout, "Response from `CertificationAPI.DeletePersonCertification`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
personId | string | ||
certificationId | string |
Other parameters are passed through a pointer to a apiDeletePersonCertificationRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
CertificationDetails DeleteSkillFromCertification(ctx, certificationId, skillId).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/prodyna-yasm/yasm-api-go"
)
func main() {
certificationId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string |
skillId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.CertificationAPI.DeleteSkillFromCertification(context.Background(), certificationId, skillId).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `CertificationAPI.DeleteSkillFromCertification``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `DeleteSkillFromCertification`: CertificationDetails
fmt.Fprintf(os.Stdout, "Response from `CertificationAPI.DeleteSkillFromCertification`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
certificationId | string | ||
skillId | string |
Other parameters are passed through a pointer to a apiDeleteSkillFromCertificationRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
CertificationDetails GetCertification(ctx, certificationId).Execute()
Get details about a Certification
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/prodyna-yasm/yasm-api-go"
)
func main() {
certificationId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.CertificationAPI.GetCertification(context.Background(), certificationId).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `CertificationAPI.GetCertification``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetCertification`: CertificationDetails
fmt.Fprintf(os.Stdout, "Response from `CertificationAPI.GetCertification`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
certificationId | string |
Other parameters are passed through a pointer to a apiGetCertificationRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
CertificationDetails MoveCertification(ctx, certificationId, organizationId).Execute()
Move a Certification to an Organization
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/prodyna-yasm/yasm-api-go"
)
func main() {
certificationId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string |
organizationId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.CertificationAPI.MoveCertification(context.Background(), certificationId, organizationId).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `CertificationAPI.MoveCertification``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `MoveCertification`: CertificationDetails
fmt.Fprintf(os.Stdout, "Response from `CertificationAPI.MoveCertification`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
certificationId | string | ||
organizationId | string |
Other parameters are passed through a pointer to a apiMoveCertificationRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
PagedCertifications SearchCertifications(ctx).CertificationSearch(certificationSearch).Execute()
Search over certifications
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/prodyna-yasm/yasm-api-go"
)
func main() {
certificationSearch := *openapiclient.NewCertificationSearch(int32(123), int32(123)) // CertificationSearch | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.CertificationAPI.SearchCertifications(context.Background()).CertificationSearch(certificationSearch).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `CertificationAPI.SearchCertifications``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `SearchCertifications`: PagedCertifications
fmt.Fprintf(os.Stdout, "Response from `CertificationAPI.SearchCertifications`: %v\n", resp)
}
Other parameters are passed through a pointer to a apiSearchCertificationsRequest struct via the builder pattern
Name | Type | Description | Notes |
---|---|---|---|
certificationSearch | CertificationSearch |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
CertificationDetails UpdateCertification(ctx, certificationId).Certification(certification).Execute()
Update a Certification
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/prodyna-yasm/yasm-api-go"
)
func main() {
certificationId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string |
certification := *openapiclient.NewCertification("Id_example", "Name_example") // Certification |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.CertificationAPI.UpdateCertification(context.Background(), certificationId).Certification(certification).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `CertificationAPI.UpdateCertification``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `UpdateCertification`: CertificationDetails
fmt.Fprintf(os.Stdout, "Response from `CertificationAPI.UpdateCertification`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
certificationId | string |
Other parameters are passed through a pointer to a apiUpdateCertificationRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
certification | Certification | |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
PersonDetails UpdatePersonCertification(ctx, personId, certificationId).Body(body).Execute()
Update a Certification of a Person
package main
import (
"context"
"fmt"
"os"
"time"
openapiclient "github.com/prodyna-yasm/yasm-api-go"
)
func main() {
personId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string |
certificationId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string |
body := time.Now() // string |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.CertificationAPI.UpdatePersonCertification(context.Background(), personId, certificationId).Body(body).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `CertificationAPI.UpdatePersonCertification``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `UpdatePersonCertification`: PersonDetails
fmt.Fprintf(os.Stdout, "Response from `CertificationAPI.UpdatePersonCertification`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
personId | string | ||
certificationId | string |
Other parameters are passed through a pointer to a apiUpdatePersonCertificationRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
body | string | |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
CertificationDetails UpdateSkillInCertification(ctx, certificationId, skillId).Level(level).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/prodyna-yasm/yasm-api-go"
)
func main() {
certificationId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string |
skillId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string |
level := *openapiclient.NewLevel() // Level |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.CertificationAPI.UpdateSkillInCertification(context.Background(), certificationId, skillId).Level(level).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `CertificationAPI.UpdateSkillInCertification``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `UpdateSkillInCertification`: CertificationDetails
fmt.Fprintf(os.Stdout, "Response from `CertificationAPI.UpdateSkillInCertification`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
certificationId | string | ||
skillId | string |
Other parameters are passed through a pointer to a apiUpdateSkillInCertificationRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
level | Level | |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]