All URIs are relative to https://yasm.prodyna.com:443/api/graph/v1
Method | HTTP request | Description |
---|---|---|
AddPersonAward | Post /persons/{personId}/awards/{awardId} | Add an award to a Person |
AddPersonCertification | Post /persons/{personId}/certifications/{certificationId} | Add Certification to a Person |
AddPersonInterest | Post /persons/{personId}/interests/skills/{skillId} | Add an Interest to a Person |
AddPersonLanguage | Post /persons/{personId}/languages/{languageId} | Assign a language to the person |
AddPersonProfile | Post /persons/{personId}/profiles/{profileId} | Add a Profile to a Person |
AddPersonSkillExperience | Post /persons/{personId}/experiences/skills/{skillId} | Add an Skill experience to a Person |
AddPersonSkillExperiences | Post /persons/{personId}/experiences | Add an Skill experience to a Person (bulk) |
AddProjectParticipation | Post /project-participations | Add Project to a Person |
AddSkillConfirmation | Post /project-participations/{projectParticipationId}/skills/{skillId}/confirmation/{confirmingPersonId} | Confirm Skill |
CreateAvailability | Post /persons/{personId}/availabilities | Create a availability for a person |
CreatePdfProfile | Post /pdf-profile/create | Generate a PDF profile from a Person |
CreatePerson | Post /persons | Create a new Person |
CreateSkillsProfileForPerson | Post /persons/{personId}/skills-profiles | Create a SkillsProfile |
DeleteAvailability | Delete /persons/{personId}/availabilities/{availabilityId} | Delete a person availability |
DeleteOfficeCountry | Delete /offices/{officeId}/countries/{countryId} | Delete the office from a Person |
DeletePerson | Delete /persons/{personId} | Delete an existing Person |
DeletePersonAward | Delete /persons/{personId}/awards/{awardId} | Remove an Award from a Person |
DeletePersonCertification | Delete /persons/{personId}/certifications/{certificationId} | Remove an Interest to a Person |
DeletePersonInterest | Delete /persons/{personId}/interests/skills/{skillId} | Remove an Interest to a Person |
DeletePersonOffice | Delete /persons/{personId}/offices/{officeId} | Delete the office from a Person |
DeletePersonPicture | Delete /persons/{personId}/picture | Delete person image |
DeletePersonProfile | Delete /persons/{personId}/profiles/{profileId} | Remove a Profile from a Person |
DeletePersonSkillExperience | Delete /persons/{personId}/experiences/skills/{skillId} | Remove an Skill Experience to a Person |
DeletePersonSkillExperiences | Delete /persons/{personId}/experiences | Remove an Skill Experience to a Person |
DeleteProjectParticipation | Delete /project-participations/{projectParticipationId} | Remove an Project from a Person |
GetAvailabilities | Get /persons/{personId}/availabilities | Get a list of all activities for a person |
GetPerson | Get /persons/{personId} | Get basic info about a person |
GetPersonSkillsProfiles | Get /persons/{personId}/skills-profiles | Get all SkillsProfiles of a single person |
GetPersonsForSkillInProject | Get /projects/{projectId}/skills/{skillId}/persons | Get all persons that use a certain skill in a certain project |
GetProjectsOfPersonWithSkill | Get /persons/{personId}/skills/{skillId}/projects | Get all projects where a certain skill was used by a certain person |
PublishPdfProfile | Post /pdf-profile/publish | Generate a PDF profile from a Person |
ReadPersonPicture | Get /persons/{personId}/picture | Read person image |
ReadPersonProjectParticipation | Get /persons/{personId}/project-participation | Get a Project Participation of a Person |
ReadPersonSkillStatistics | Get /persons/{personId}/skill-statistic/{skillId} | Show detailed statistics of a skill for a person |
ReadProjectParticipation | Get /project-participations/{projectParticipationId} | Get a project participation |
RemoveManager | Delete /persons/{personId}/manager | Remove a manager from a person |
RemoveOrganizationServiceManager | Delete /organizations/{organizationId}/service-manager/{personId} | Remove service manager from an Organization |
RemovePersonLanguage | Delete /persons/{personId}/languages/{languageId} | Remove a language from a person |
RemoveSkillConfirmation | Delete /project-participations/{projectParticipationId}/skills/{skillId}/confirmation/{confirmingPersonId} | Remove a confirmation |
SearchPersons | Post /persons/search | Search over persons |
SearchPersonsStats | Post /persons/search/stats | Provides search stats (e.g., direct hits) across all persons, ignoring pagination. |
SearchProjectParticipations | Post /project-participations/search | Search over project participations |
SetManager | Put /persons/{personId}/manager/{managerId} | Set a manager for a person |
UpdateAvailability | Put /persons/{personId}/availabilities/{availabilityId} | Update a person availability |
UpdateOrganizationServiceManager | Put /organizations/{organizationId}/service-manager/{personId} | Update service manager of an Organization |
UpdatePerson | Put /persons/{personId} | Update an existing Person |
UpdatePersonAward | Put /persons/{personId}/awards/{awardId} | Update an Award of a Person |
UpdatePersonCertification | Put /persons/{personId}/certifications/{certificationId} | Update a Certification of a Person |
UpdatePersonLanguage | Put /persons/{personId}/languages/{languageId} | Update a language of a person |
UpdatePersonOffice | Put /persons/{personId}/offices/{officeId} | Assign a person to an office |
UpdatePersonPicture | Put /persons/{personId}/picture | Update person image |
UpdatePersonSkillExperience | Put /persons/{personId}/experiences/skills/{skillId} | Edit an Skill experience to a Person |
UpdatePersonSkillExperiences | Put /persons/{personId}/experiences | Edit an Skill experience to a Person |
UpdateProjectParticipation | Put /project-participations/{projectParticipationId} | Update a Project of a Person |
PersonDetails AddPersonAward(ctx, personId, awardId).Body(body).Execute()
Add an award 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 |
awardId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string |
body := time.Now() // string |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.PersonAPI.AddPersonAward(context.Background(), personId, awardId).Body(body).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `PersonAPI.AddPersonAward``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `AddPersonAward`: PersonDetails
fmt.Fprintf(os.Stdout, "Response from `PersonAPI.AddPersonAward`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
personId | string | ||
awardId | string |
Other parameters are passed through a pointer to a apiAddPersonAwardRequest 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]
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.PersonAPI.AddPersonCertification(context.Background(), personId, certificationId).Body(body).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `PersonAPI.AddPersonCertification``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `AddPersonCertification`: PersonDetails
fmt.Fprintf(os.Stdout, "Response from `PersonAPI.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]
PersonDetails AddPersonInterest(ctx, personId, skillId).Execute()
Add 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 |
skillId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.PersonAPI.AddPersonInterest(context.Background(), personId, skillId).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `PersonAPI.AddPersonInterest``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `AddPersonInterest`: PersonDetails
fmt.Fprintf(os.Stdout, "Response from `PersonAPI.AddPersonInterest`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
personId | string | ||
skillId | string |
Other parameters are passed through a pointer to a apiAddPersonInterestRequest 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 AddPersonLanguage(ctx, personId, languageId).Level(level).Execute()
Assign a language to the person
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/prodyna-yasm/yasm-api-go"
)
func main() {
personId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string |
languageId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string |
level := *openapiclient.NewLevel() // Level |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.PersonAPI.AddPersonLanguage(context.Background(), personId, languageId).Level(level).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `PersonAPI.AddPersonLanguage``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `AddPersonLanguage`: PersonDetails
fmt.Fprintf(os.Stdout, "Response from `PersonAPI.AddPersonLanguage`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
personId | string | ||
languageId | string |
Other parameters are passed through a pointer to a apiAddPersonLanguageRequest 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]
PersonDetails AddPersonProfile(ctx, personId, profileId).Execute()
Add a Profile 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 |
profileId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.PersonAPI.AddPersonProfile(context.Background(), personId, profileId).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `PersonAPI.AddPersonProfile``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `AddPersonProfile`: PersonDetails
fmt.Fprintf(os.Stdout, "Response from `PersonAPI.AddPersonProfile`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
personId | string | ||
profileId | string |
Other parameters are passed through a pointer to a apiAddPersonProfileRequest 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 AddPersonSkillExperience(ctx, personId, skillId).Level(level).Execute()
Add an Skill experience 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 |
skillId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string |
level := *openapiclient.NewLevel() // Level |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.PersonAPI.AddPersonSkillExperience(context.Background(), personId, skillId).Level(level).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `PersonAPI.AddPersonSkillExperience``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `AddPersonSkillExperience`: PersonDetails
fmt.Fprintf(os.Stdout, "Response from `PersonAPI.AddPersonSkillExperience`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
personId | string | ||
skillId | string |
Other parameters are passed through a pointer to a apiAddPersonSkillExperienceRequest 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]
PersonDetails AddPersonSkillExperiences(ctx, personId).SkillLevelUpdate(skillLevelUpdate).Execute()
Add an Skill experience to a Person (bulk)
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/prodyna-yasm/yasm-api-go"
)
func main() {
personId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string |
skillLevelUpdate := []openapiclient.SkillLevelUpdate{*openapiclient.NewSkillLevelUpdate()} // []SkillLevelUpdate |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.PersonAPI.AddPersonSkillExperiences(context.Background(), personId).SkillLevelUpdate(skillLevelUpdate).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `PersonAPI.AddPersonSkillExperiences``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `AddPersonSkillExperiences`: PersonDetails
fmt.Fprintf(os.Stdout, "Response from `PersonAPI.AddPersonSkillExperiences`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
personId | string |
Other parameters are passed through a pointer to a apiAddPersonSkillExperiencesRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
skillLevelUpdate | []SkillLevelUpdate | |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ProjectParticipationDetails AddProjectParticipation(ctx).ProjectParticipationCreate(projectParticipationCreate).Execute()
Add Project to a Person
package main
import (
"context"
"fmt"
"os"
"time"
openapiclient "github.com/prodyna-yasm/yasm-api-go"
)
func main() {
projectParticipationCreate := *openapiclient.NewProjectParticipationCreate(*openapiclient.NewTimeframed(time.Now()), "Id_example", "ProjectId_example", "PersonId_example") // ProjectParticipationCreate | List of Skills with level and timeframe
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.PersonAPI.AddProjectParticipation(context.Background()).ProjectParticipationCreate(projectParticipationCreate).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `PersonAPI.AddProjectParticipation``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `AddProjectParticipation`: ProjectParticipationDetails
fmt.Fprintf(os.Stdout, "Response from `PersonAPI.AddProjectParticipation`: %v\n", resp)
}
Other parameters are passed through a pointer to a apiAddProjectParticipationRequest struct via the builder pattern
Name | Type | Description | Notes |
---|---|---|---|
projectParticipationCreate | ProjectParticipationCreate | List of Skills with level and timeframe |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ProjectParticipationDetails AddSkillConfirmation(ctx, projectParticipationId, skillId, confirmingPersonId).Execute()
Confirm Skill
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/prodyna-yasm/yasm-api-go"
)
func main() {
projectParticipationId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string |
skillId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string |
confirmingPersonId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.PersonAPI.AddSkillConfirmation(context.Background(), projectParticipationId, skillId, confirmingPersonId).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `PersonAPI.AddSkillConfirmation``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `AddSkillConfirmation`: ProjectParticipationDetails
fmt.Fprintf(os.Stdout, "Response from `PersonAPI.AddSkillConfirmation`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
projectParticipationId | string | ||
skillId | string | ||
confirmingPersonId | string |
Other parameters are passed through a pointer to a apiAddSkillConfirmationRequest 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]
AvailabilityDetail CreateAvailability(ctx, personId).Availability(availability).Execute()
Create a availability for 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 |
availability := *openapiclient.NewAvailability(time.Now(), float32(38.5), float32(22.5), "Id_example", "Name_example") // Availability | The availability
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.PersonAPI.CreateAvailability(context.Background(), personId).Availability(availability).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `PersonAPI.CreateAvailability``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `CreateAvailability`: AvailabilityDetail
fmt.Fprintf(os.Stdout, "Response from `PersonAPI.CreateAvailability`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
personId | string |
Other parameters are passed through a pointer to a apiCreateAvailabilityRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
availability | Availability | The availability |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
*os.File CreatePdfProfile(ctx).ProfileRequest(profileRequest).Execute()
Generate a PDF profile from a Person
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/prodyna-yasm/yasm-api-go"
)
func main() {
profileRequest := *openapiclient.NewProfileRequest() // ProfileRequest |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.PersonAPI.CreatePdfProfile(context.Background()).ProfileRequest(profileRequest).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `PersonAPI.CreatePdfProfile``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `CreatePdfProfile`: *os.File
fmt.Fprintf(os.Stdout, "Response from `PersonAPI.CreatePdfProfile`: %v\n", resp)
}
Other parameters are passed through a pointer to a apiCreatePdfProfileRequest struct via the builder pattern
Name | Type | Description | Notes |
---|---|---|---|
profileRequest | ProfileRequest |
- Content-Type: application/json
- Accept: application/pdf, application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
PersonDetails CreatePerson(ctx).Person(person).Execute()
Create a new Person
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/prodyna-yasm/yasm-api-go"
)
func main() {
person := *openapiclient.NewPerson("Id_example", "Name_example") // Person |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.PersonAPI.CreatePerson(context.Background()).Person(person).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `PersonAPI.CreatePerson``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `CreatePerson`: PersonDetails
fmt.Fprintf(os.Stdout, "Response from `PersonAPI.CreatePerson`: %v\n", resp)
}
Other parameters are passed through a pointer to a apiCreatePersonRequest struct via the builder pattern
Name | Type | Description | Notes |
---|---|---|---|
person | Person |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
SkillsProfileDetails CreateSkillsProfileForPerson(ctx, personId).SkillsProfileRequest(skillsProfileRequest).Execute()
Create a SkillsProfile
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/prodyna-yasm/yasm-api-go"
)
func main() {
personId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string |
skillsProfileRequest := *openapiclient.NewSkillsProfileRequest() // SkillsProfileRequest |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.PersonAPI.CreateSkillsProfileForPerson(context.Background(), personId).SkillsProfileRequest(skillsProfileRequest).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `PersonAPI.CreateSkillsProfileForPerson``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `CreateSkillsProfileForPerson`: SkillsProfileDetails
fmt.Fprintf(os.Stdout, "Response from `PersonAPI.CreateSkillsProfileForPerson`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
personId | string |
Other parameters are passed through a pointer to a apiCreateSkillsProfileForPersonRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
skillsProfileRequest | SkillsProfileRequest | |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Status DeleteAvailability(ctx, personId, availabilityId).Execute()
Delete a person availability
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/prodyna-yasm/yasm-api-go"
)
func main() {
personId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string |
availabilityId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.PersonAPI.DeleteAvailability(context.Background(), personId, availabilityId).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `PersonAPI.DeleteAvailability``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `DeleteAvailability`: Status
fmt.Fprintf(os.Stdout, "Response from `PersonAPI.DeleteAvailability`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
personId | string | ||
availabilityId | string |
Other parameters are passed through a pointer to a apiDeleteAvailabilityRequest 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]
OfficeDetails DeleteOfficeCountry(ctx, officeId, countryId).Execute()
Delete the office from a Person
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/prodyna-yasm/yasm-api-go"
)
func main() {
officeId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string |
countryId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.PersonAPI.DeleteOfficeCountry(context.Background(), officeId, countryId).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `PersonAPI.DeleteOfficeCountry``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `DeleteOfficeCountry`: OfficeDetails
fmt.Fprintf(os.Stdout, "Response from `PersonAPI.DeleteOfficeCountry`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
officeId | string | ||
countryId | string |
Other parameters are passed through a pointer to a apiDeleteOfficeCountryRequest 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]
Status DeletePerson(ctx, personId).Execute()
Delete an existing Person
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/prodyna-yasm/yasm-api-go"
)
func main() {
personId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.PersonAPI.DeletePerson(context.Background(), personId).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `PersonAPI.DeletePerson``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `DeletePerson`: Status
fmt.Fprintf(os.Stdout, "Response from `PersonAPI.DeletePerson`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
personId | string |
Other parameters are passed through a pointer to a apiDeletePersonRequest 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 DeletePersonAward(ctx, personId, awardId).Execute()
Remove an Award from 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 |
awardId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.PersonAPI.DeletePersonAward(context.Background(), personId, awardId).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `PersonAPI.DeletePersonAward``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `DeletePersonAward`: PersonDetails
fmt.Fprintf(os.Stdout, "Response from `PersonAPI.DeletePersonAward`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
personId | string | ||
awardId | string |
Other parameters are passed through a pointer to a apiDeletePersonAwardRequest 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.PersonAPI.DeletePersonCertification(context.Background(), personId, certificationId).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `PersonAPI.DeletePersonCertification``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `DeletePersonCertification`: PersonDetails
fmt.Fprintf(os.Stdout, "Response from `PersonAPI.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]
PersonDetails DeletePersonInterest(ctx, personId, skillId).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 |
skillId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.PersonAPI.DeletePersonInterest(context.Background(), personId, skillId).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `PersonAPI.DeletePersonInterest``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `DeletePersonInterest`: PersonDetails
fmt.Fprintf(os.Stdout, "Response from `PersonAPI.DeletePersonInterest`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
personId | string | ||
skillId | string |
Other parameters are passed through a pointer to a apiDeletePersonInterestRequest 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 DeletePersonOffice(ctx, personId, officeId).Execute()
Delete the office from 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 |
officeId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.PersonAPI.DeletePersonOffice(context.Background(), personId, officeId).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `PersonAPI.DeletePersonOffice``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `DeletePersonOffice`: PersonDetails
fmt.Fprintf(os.Stdout, "Response from `PersonAPI.DeletePersonOffice`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
personId | string | ||
officeId | string |
Other parameters are passed through a pointer to a apiDeletePersonOfficeRequest 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]
Status DeletePersonPicture(ctx, personId).Execute()
Delete person image
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/prodyna-yasm/yasm-api-go"
)
func main() {
personId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.PersonAPI.DeletePersonPicture(context.Background(), personId).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `PersonAPI.DeletePersonPicture``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `DeletePersonPicture`: Status
fmt.Fprintf(os.Stdout, "Response from `PersonAPI.DeletePersonPicture`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
personId | string |
Other parameters are passed through a pointer to a apiDeletePersonPictureRequest 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 DeletePersonProfile(ctx, personId, profileId).Execute()
Remove a Profile from 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 |
profileId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.PersonAPI.DeletePersonProfile(context.Background(), personId, profileId).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `PersonAPI.DeletePersonProfile``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `DeletePersonProfile`: PersonDetails
fmt.Fprintf(os.Stdout, "Response from `PersonAPI.DeletePersonProfile`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
personId | string | ||
profileId | string |
Other parameters are passed through a pointer to a apiDeletePersonProfileRequest 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 DeletePersonSkillExperience(ctx, personId, skillId).Execute()
Remove an Skill Experience 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 |
skillId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.PersonAPI.DeletePersonSkillExperience(context.Background(), personId, skillId).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `PersonAPI.DeletePersonSkillExperience``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `DeletePersonSkillExperience`: PersonDetails
fmt.Fprintf(os.Stdout, "Response from `PersonAPI.DeletePersonSkillExperience`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
personId | string | ||
skillId | string |
Other parameters are passed through a pointer to a apiDeletePersonSkillExperienceRequest 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 DeletePersonSkillExperiences(ctx, personId).RequestBody(requestBody).Execute()
Remove an Skill Experience 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 |
requestBody := []string{"Property_example"} // []string | A list of skillIds
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.PersonAPI.DeletePersonSkillExperiences(context.Background(), personId).RequestBody(requestBody).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `PersonAPI.DeletePersonSkillExperiences``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `DeletePersonSkillExperiences`: PersonDetails
fmt.Fprintf(os.Stdout, "Response from `PersonAPI.DeletePersonSkillExperiences`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
personId | string |
Other parameters are passed through a pointer to a apiDeletePersonSkillExperiencesRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
requestBody | []string | A list of skillIds |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Status DeleteProjectParticipation(ctx, projectParticipationId).Execute()
Remove an Project from a Person
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/prodyna-yasm/yasm-api-go"
)
func main() {
projectParticipationId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.PersonAPI.DeleteProjectParticipation(context.Background(), projectParticipationId).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `PersonAPI.DeleteProjectParticipation``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `DeleteProjectParticipation`: Status
fmt.Fprintf(os.Stdout, "Response from `PersonAPI.DeleteProjectParticipation`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
projectParticipationId | string |
Other parameters are passed through a pointer to a apiDeleteProjectParticipationRequest 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]
PagedAvailabilities GetAvailabilities(ctx, personId).Execute()
Get a list of all activities for 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 |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.PersonAPI.GetAvailabilities(context.Background(), personId).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `PersonAPI.GetAvailabilities``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetAvailabilities`: PagedAvailabilities
fmt.Fprintf(os.Stdout, "Response from `PersonAPI.GetAvailabilities`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
personId | string |
Other parameters are passed through a pointer to a apiGetAvailabilitiesRequest 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 GetPerson(ctx, personId).Execute()
Get basic info about 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 |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.PersonAPI.GetPerson(context.Background(), personId).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `PersonAPI.GetPerson``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetPerson`: PersonDetails
fmt.Fprintf(os.Stdout, "Response from `PersonAPI.GetPerson`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
personId | string |
Other parameters are passed through a pointer to a apiGetPersonRequest 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]
PagedSkillsProfiles GetPersonSkillsProfiles(ctx, personId).Execute()
Get all SkillsProfiles of a single person
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/prodyna-yasm/yasm-api-go"
)
func main() {
personId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.PersonAPI.GetPersonSkillsProfiles(context.Background(), personId).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `PersonAPI.GetPersonSkillsProfiles``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetPersonSkillsProfiles`: PagedSkillsProfiles
fmt.Fprintf(os.Stdout, "Response from `PersonAPI.GetPersonSkillsProfiles`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
personId | string |
Other parameters are passed through a pointer to a apiGetPersonSkillsProfilesRequest 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]
PagedPersons GetPersonsForSkillInProject(ctx, projectId, skillId).Execute()
Get all persons that use a certain skill in a certain project
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/prodyna-yasm/yasm-api-go"
)
func main() {
projectId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string |
skillId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.PersonAPI.GetPersonsForSkillInProject(context.Background(), projectId, skillId).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `PersonAPI.GetPersonsForSkillInProject``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetPersonsForSkillInProject`: PagedPersons
fmt.Fprintf(os.Stdout, "Response from `PersonAPI.GetPersonsForSkillInProject`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
projectId | string | ||
skillId | string |
Other parameters are passed through a pointer to a apiGetPersonsForSkillInProjectRequest 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]
PagedProjects GetProjectsOfPersonWithSkill(ctx, personId, skillId).Execute()
Get all projects where a certain skill was used by a certain person
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/prodyna-yasm/yasm-api-go"
)
func main() {
personId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string |
skillId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.PersonAPI.GetProjectsOfPersonWithSkill(context.Background(), personId, skillId).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `PersonAPI.GetProjectsOfPersonWithSkill``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetProjectsOfPersonWithSkill`: PagedProjects
fmt.Fprintf(os.Stdout, "Response from `PersonAPI.GetProjectsOfPersonWithSkill`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
personId | string | ||
skillId | string |
Other parameters are passed through a pointer to a apiGetProjectsOfPersonWithSkillRequest 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]
PdfProfile PublishPdfProfile(ctx).ProfileRequest(profileRequest).Execute()
Generate a PDF profile from a Person
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/prodyna-yasm/yasm-api-go"
)
func main() {
profileRequest := *openapiclient.NewProfileRequest() // ProfileRequest |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.PersonAPI.PublishPdfProfile(context.Background()).ProfileRequest(profileRequest).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `PersonAPI.PublishPdfProfile``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `PublishPdfProfile`: PdfProfile
fmt.Fprintf(os.Stdout, "Response from `PersonAPI.PublishPdfProfile`: %v\n", resp)
}
Other parameters are passed through a pointer to a apiPublishPdfProfileRequest struct via the builder pattern
Name | Type | Description | Notes |
---|---|---|---|
profileRequest | ProfileRequest |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
*os.File ReadPersonPicture(ctx, personId).Execute()
Read person image
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/prodyna-yasm/yasm-api-go"
)
func main() {
personId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.PersonAPI.ReadPersonPicture(context.Background(), personId).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `PersonAPI.ReadPersonPicture``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `ReadPersonPicture`: *os.File
fmt.Fprintf(os.Stdout, "Response from `PersonAPI.ReadPersonPicture`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
personId | string |
Other parameters are passed through a pointer to a apiReadPersonPictureRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
- Content-Type: Not defined
- Accept: image/jpeg, application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
[]PersonProjectParticipationDetails ReadPersonProjectParticipation(ctx, personId).ProjectIds(projectIds).Execute()
Get a Project Participation of 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 |
projectIds := []string{"Inner_example"} // []string | Filter by project ids, if not set, all projects are returned (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.PersonAPI.ReadPersonProjectParticipation(context.Background(), personId).ProjectIds(projectIds).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `PersonAPI.ReadPersonProjectParticipation``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `ReadPersonProjectParticipation`: []PersonProjectParticipationDetails
fmt.Fprintf(os.Stdout, "Response from `PersonAPI.ReadPersonProjectParticipation`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
personId | string |
Other parameters are passed through a pointer to a apiReadPersonProjectParticipationRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
projectIds | []string | Filter by project ids, if not set, all projects are returned |
[]PersonProjectParticipationDetails
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
PersonSkillStatistic ReadPersonSkillStatistics(ctx, personId, skillId).Execute()
Show detailed statistics of a skill for 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 |
skillId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.PersonAPI.ReadPersonSkillStatistics(context.Background(), personId, skillId).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `PersonAPI.ReadPersonSkillStatistics``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `ReadPersonSkillStatistics`: PersonSkillStatistic
fmt.Fprintf(os.Stdout, "Response from `PersonAPI.ReadPersonSkillStatistics`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
personId | string | ||
skillId | string |
Other parameters are passed through a pointer to a apiReadPersonSkillStatisticsRequest 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]
ProjectParticipationDetails ReadProjectParticipation(ctx, projectParticipationId).Execute()
Get a project participation
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/prodyna-yasm/yasm-api-go"
)
func main() {
projectParticipationId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.PersonAPI.ReadProjectParticipation(context.Background(), projectParticipationId).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `PersonAPI.ReadProjectParticipation``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `ReadProjectParticipation`: ProjectParticipationDetails
fmt.Fprintf(os.Stdout, "Response from `PersonAPI.ReadProjectParticipation`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
projectParticipationId | string |
Other parameters are passed through a pointer to a apiReadProjectParticipationRequest 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 RemoveManager(ctx, personId).Execute()
Remove a manager from 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 |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.PersonAPI.RemoveManager(context.Background(), personId).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `PersonAPI.RemoveManager``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `RemoveManager`: PersonDetails
fmt.Fprintf(os.Stdout, "Response from `PersonAPI.RemoveManager`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
personId | string |
Other parameters are passed through a pointer to a apiRemoveManagerRequest 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]
OrganizationDetails RemoveOrganizationServiceManager(ctx, organizationId, personId).Execute()
Remove service manager from 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 |
personId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.PersonAPI.RemoveOrganizationServiceManager(context.Background(), organizationId, personId).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `PersonAPI.RemoveOrganizationServiceManager``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `RemoveOrganizationServiceManager`: OrganizationDetails
fmt.Fprintf(os.Stdout, "Response from `PersonAPI.RemoveOrganizationServiceManager`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
organizationId | string | ||
personId | string |
Other parameters are passed through a pointer to a apiRemoveOrganizationServiceManagerRequest 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 RemovePersonLanguage(ctx, personId, languageId).Execute()
Remove a language from 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 |
languageId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.PersonAPI.RemovePersonLanguage(context.Background(), personId, languageId).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `PersonAPI.RemovePersonLanguage``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `RemovePersonLanguage`: PersonDetails
fmt.Fprintf(os.Stdout, "Response from `PersonAPI.RemovePersonLanguage`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
personId | string | ||
languageId | string |
Other parameters are passed through a pointer to a apiRemovePersonLanguageRequest 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]
ProjectParticipationDetails RemoveSkillConfirmation(ctx, projectParticipationId, skillId, confirmingPersonId).Execute()
Remove a confirmation
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/prodyna-yasm/yasm-api-go"
)
func main() {
projectParticipationId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string |
skillId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string |
confirmingPersonId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.PersonAPI.RemoveSkillConfirmation(context.Background(), projectParticipationId, skillId, confirmingPersonId).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `PersonAPI.RemoveSkillConfirmation``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `RemoveSkillConfirmation`: ProjectParticipationDetails
fmt.Fprintf(os.Stdout, "Response from `PersonAPI.RemoveSkillConfirmation`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
projectParticipationId | string | ||
skillId | string | ||
confirmingPersonId | string |
Other parameters are passed through a pointer to a apiRemoveSkillConfirmationRequest 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]
PagedPersons SearchPersons(ctx).PersonSearch(personSearch).Execute()
Search over persons
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/prodyna-yasm/yasm-api-go"
)
func main() {
personSearch := *openapiclient.NewPersonSearch(int32(123), int32(123)) // PersonSearch | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.PersonAPI.SearchPersons(context.Background()).PersonSearch(personSearch).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `PersonAPI.SearchPersons``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `SearchPersons`: PagedPersons
fmt.Fprintf(os.Stdout, "Response from `PersonAPI.SearchPersons`: %v\n", resp)
}
Other parameters are passed through a pointer to a apiSearchPersonsRequest struct via the builder pattern
Name | Type | Description | Notes |
---|---|---|---|
personSearch | PersonSearch |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
SearchStats SearchPersonsStats(ctx).PersonSearch(personSearch).Execute()
Provides search stats (e.g., direct hits) across all persons, ignoring pagination.
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/prodyna-yasm/yasm-api-go"
)
func main() {
personSearch := *openapiclient.NewPersonSearch(int32(123), int32(123)) // PersonSearch | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.PersonAPI.SearchPersonsStats(context.Background()).PersonSearch(personSearch).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `PersonAPI.SearchPersonsStats``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `SearchPersonsStats`: SearchStats
fmt.Fprintf(os.Stdout, "Response from `PersonAPI.SearchPersonsStats`: %v\n", resp)
}
Other parameters are passed through a pointer to a apiSearchPersonsStatsRequest struct via the builder pattern
Name | Type | Description | Notes |
---|---|---|---|
personSearch | PersonSearch |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
PagedProjectParticipation SearchProjectParticipations(ctx).ProjectParticipationSearch(projectParticipationSearch).Execute()
Search over project participations
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/prodyna-yasm/yasm-api-go"
)
func main() {
projectParticipationSearch := *openapiclient.NewProjectParticipationSearch(int32(123), int32(123)) // ProjectParticipationSearch | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.PersonAPI.SearchProjectParticipations(context.Background()).ProjectParticipationSearch(projectParticipationSearch).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `PersonAPI.SearchProjectParticipations``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `SearchProjectParticipations`: PagedProjectParticipation
fmt.Fprintf(os.Stdout, "Response from `PersonAPI.SearchProjectParticipations`: %v\n", resp)
}
Other parameters are passed through a pointer to a apiSearchProjectParticipationsRequest struct via the builder pattern
Name | Type | Description | Notes |
---|---|---|---|
projectParticipationSearch | ProjectParticipationSearch |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
PersonDetails SetManager(ctx, personId, managerId).Execute()
Set a manager for 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 |
managerId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.PersonAPI.SetManager(context.Background(), personId, managerId).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `PersonAPI.SetManager``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `SetManager`: PersonDetails
fmt.Fprintf(os.Stdout, "Response from `PersonAPI.SetManager`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
personId | string | ||
managerId | string |
Other parameters are passed through a pointer to a apiSetManagerRequest 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]
AvailabilityDetail UpdateAvailability(ctx, personId, availabilityId).Availability(availability).Execute()
Update a person availability
package main
import (
"context"
"fmt"
"os"
"time"
openapiclient "github.com/prodyna-yasm/yasm-api-go"
)
func main() {
personId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string |
availabilityId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string |
availability := *openapiclient.NewAvailability(time.Now(), float32(38.5), float32(22.5), "Id_example", "Name_example") // Availability | The availability
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.PersonAPI.UpdateAvailability(context.Background(), personId, availabilityId).Availability(availability).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `PersonAPI.UpdateAvailability``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `UpdateAvailability`: AvailabilityDetail
fmt.Fprintf(os.Stdout, "Response from `PersonAPI.UpdateAvailability`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
personId | string | ||
availabilityId | string |
Other parameters are passed through a pointer to a apiUpdateAvailabilityRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
availability | Availability | The availability |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
OrganizationDetails UpdateOrganizationServiceManager(ctx, organizationId, personId).Execute()
Update service manager of 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 |
personId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.PersonAPI.UpdateOrganizationServiceManager(context.Background(), organizationId, personId).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `PersonAPI.UpdateOrganizationServiceManager``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `UpdateOrganizationServiceManager`: OrganizationDetails
fmt.Fprintf(os.Stdout, "Response from `PersonAPI.UpdateOrganizationServiceManager`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
organizationId | string | ||
personId | string |
Other parameters are passed through a pointer to a apiUpdateOrganizationServiceManagerRequest 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 UpdatePerson(ctx, personId).Person(person).Execute()
Update an existing Person
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/prodyna-yasm/yasm-api-go"
)
func main() {
personId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string |
person := *openapiclient.NewPerson("Id_example", "Name_example") // Person |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.PersonAPI.UpdatePerson(context.Background(), personId).Person(person).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `PersonAPI.UpdatePerson``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `UpdatePerson`: PersonDetails
fmt.Fprintf(os.Stdout, "Response from `PersonAPI.UpdatePerson`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
personId | string |
Other parameters are passed through a pointer to a apiUpdatePersonRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
person | Person | |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
PersonDetails UpdatePersonAward(ctx, personId, awardId).Body(body).Execute()
Update an Award 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 |
awardId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string |
body := time.Now() // string |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.PersonAPI.UpdatePersonAward(context.Background(), personId, awardId).Body(body).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `PersonAPI.UpdatePersonAward``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `UpdatePersonAward`: PersonDetails
fmt.Fprintf(os.Stdout, "Response from `PersonAPI.UpdatePersonAward`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
personId | string | ||
awardId | string |
Other parameters are passed through a pointer to a apiUpdatePersonAwardRequest 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]
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.PersonAPI.UpdatePersonCertification(context.Background(), personId, certificationId).Body(body).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `PersonAPI.UpdatePersonCertification``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `UpdatePersonCertification`: PersonDetails
fmt.Fprintf(os.Stdout, "Response from `PersonAPI.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]
PersonDetails UpdatePersonLanguage(ctx, personId, languageId).Level(level).Execute()
Update a language of 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 |
languageId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string |
level := *openapiclient.NewLevel() // Level |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.PersonAPI.UpdatePersonLanguage(context.Background(), personId, languageId).Level(level).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `PersonAPI.UpdatePersonLanguage``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `UpdatePersonLanguage`: PersonDetails
fmt.Fprintf(os.Stdout, "Response from `PersonAPI.UpdatePersonLanguage`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
personId | string | ||
languageId | string |
Other parameters are passed through a pointer to a apiUpdatePersonLanguageRequest 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]
PersonDetails UpdatePersonOffice(ctx, personId, officeId).Execute()
Assign a person to an office
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/prodyna-yasm/yasm-api-go"
)
func main() {
personId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string |
officeId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.PersonAPI.UpdatePersonOffice(context.Background(), personId, officeId).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `PersonAPI.UpdatePersonOffice``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `UpdatePersonOffice`: PersonDetails
fmt.Fprintf(os.Stdout, "Response from `PersonAPI.UpdatePersonOffice`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
personId | string | ||
officeId | string |
Other parameters are passed through a pointer to a apiUpdatePersonOfficeRequest 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]
Status UpdatePersonPicture(ctx, personId).Body(body).Execute()
Update person image
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/prodyna-yasm/yasm-api-go"
)
func main() {
personId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string |
body := os.NewFile(1234, "some_file") // *os.File |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.PersonAPI.UpdatePersonPicture(context.Background(), personId).Body(body).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `PersonAPI.UpdatePersonPicture``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `UpdatePersonPicture`: Status
fmt.Fprintf(os.Stdout, "Response from `PersonAPI.UpdatePersonPicture`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
personId | string |
Other parameters are passed through a pointer to a apiUpdatePersonPictureRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
body | *os.File | |
- Content-Type: application/octet-stream
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
PersonDetails UpdatePersonSkillExperience(ctx, personId, skillId).Level(level).Execute()
Edit an Skill experience 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 |
skillId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string |
level := *openapiclient.NewLevel() // Level |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.PersonAPI.UpdatePersonSkillExperience(context.Background(), personId, skillId).Level(level).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `PersonAPI.UpdatePersonSkillExperience``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `UpdatePersonSkillExperience`: PersonDetails
fmt.Fprintf(os.Stdout, "Response from `PersonAPI.UpdatePersonSkillExperience`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
personId | string | ||
skillId | string |
Other parameters are passed through a pointer to a apiUpdatePersonSkillExperienceRequest 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]
PersonDetails UpdatePersonSkillExperiences(ctx, personId).SkillLevelUpdate(skillLevelUpdate).Execute()
Edit an Skill experience 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 |
skillLevelUpdate := []openapiclient.SkillLevelUpdate{*openapiclient.NewSkillLevelUpdate()} // []SkillLevelUpdate |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.PersonAPI.UpdatePersonSkillExperiences(context.Background(), personId).SkillLevelUpdate(skillLevelUpdate).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `PersonAPI.UpdatePersonSkillExperiences``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `UpdatePersonSkillExperiences`: PersonDetails
fmt.Fprintf(os.Stdout, "Response from `PersonAPI.UpdatePersonSkillExperiences`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
personId | string |
Other parameters are passed through a pointer to a apiUpdatePersonSkillExperiencesRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
skillLevelUpdate | []SkillLevelUpdate | |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ProjectParticipationDetails UpdateProjectParticipation(ctx, projectParticipationId).ProjectParticipationUpdate(projectParticipationUpdate).Execute()
Update a Project of a Person
package main
import (
"context"
"fmt"
"os"
"time"
openapiclient "github.com/prodyna-yasm/yasm-api-go"
)
func main() {
projectParticipationId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string |
projectParticipationUpdate := *openapiclient.NewProjectParticipationUpdate(*openapiclient.NewTimeframed(time.Now())) // ProjectParticipationUpdate | A time frame and a list of Skills
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.PersonAPI.UpdateProjectParticipation(context.Background(), projectParticipationId).ProjectParticipationUpdate(projectParticipationUpdate).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `PersonAPI.UpdateProjectParticipation``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `UpdateProjectParticipation`: ProjectParticipationDetails
fmt.Fprintf(os.Stdout, "Response from `PersonAPI.UpdateProjectParticipation`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
projectParticipationId | string |
Other parameters are passed through a pointer to a apiUpdateProjectParticipationRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
projectParticipationUpdate | ProjectParticipationUpdate | A time frame and a list of Skills |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]