private static EmployerOrgDataType CreateEmployerOrgDataType() { EmployerOrgDataType e = new EmployerOrgDataType(); // e.EmployerContactInfo = CreateEmpContactInfoType(); e.EmployerOrgName = "Werkgever A"; //<xsd:enumeration value="soleEmployer"/> //<xsd:enumeration value="agent"/> //<xsd:enumeration value="broker"/> //<xsd:enumeration value="self"/> e.employerOrgType = "soleEmployer"; e.PositionHistory = new List <EmployerOrgDataTypePositionHistory>(); EmployerOrgDataTypePositionHistory eh = CreateEmployerOrgDataTypePositionHistory(); e.PositionHistory.Add(eh); return(e); }
private static EmployerOrgDataTypePositionHistory CreateEmployerOrgDataTypePositionHistory() { EmployerOrgDataTypePositionHistory e = new EmployerOrgDataTypePositionHistory(); // e.Comments = "Commentaar"; //e.Compensation = CreatePositionCompensationType(); //e.Competency = new List<CompetencyType>(); //CompetencyType ct = CreateCompetencyType(); //e.Competency.Add(ct); //e.currentEmployer = true; //e.currentEmployerSpecified = true; //<xsd:enumeration value="directHire"/> //<xsd:enumeration value="contract"/> //<xsd:enumeration value="temp"/> //<xsd:enumeration value="contractToHire"/> //<xsd:enumeration value="tempToHire"/> //<xsd:enumeration value="volunteer"/> //<xsd:enumeration value="internship"/> // e.positionType = "contract"; e.StartDate = CreateFlexibleDatesType(); e.Description = "Omschrijving"; e.EndDate = CreateFlexibleDatesType(); //e.JobCategory = new List<OccupationalCategoryType>(); //OccupationalCategoryType oct = new OccupationalCategoryType(); //oct.CategoryCode = "1"; //oct.CategoryDescription = "Omschrijving"; //oct.Comments = "Commentaar"; //oct.TaxonomyName = new OccupationalCategoryTypeTaxonomyName(); //oct.TaxonomyName.Value = "Value"; //oct.TaxonomyName.version = "version"; //e.JobCategory.Add(oct); //e.JobLevelInfo = new List<JobLevelInfoType>(); //JobLevelInfoType jlt = new JobLevelInfoType(); //jlt.Comments = "Commentaar"; //jlt.JobGrade = "JobGrade"; //jlt.JobPlan = "JobPlan"; //jlt.JobStep = "JobStep"; //e.JobLevelInfo.Add(jlt); //e.OrgIndustry = new List<PositionOrgIndustryType>(); //PositionOrgIndustryType pt = new PositionOrgIndustryType(); //pt.IndustryCode = new PositionOrgIndustryTypeIndustryCode(); //pt.IndustryCode.classificationName = "classificationName"; //pt.IndustryCode.Value = "value"; //pt.IndustryDescription = "Omschrijving"; //pt.primaryIndicator = true; //e.OrgIndustry.Add(pt); //e.OrgInfo = new List<PositionOrgInfoType>(); //PositionOrgInfoType poit = new PositionOrgInfoType(); //poit.LocationSummary = CreateEmploymentLocationSummaryType(); //poit.PositionLocation = CreatePostalAddressType(); //poit.WebSite = "http://www.nocore.nl"; //e.OrgInfo.Add(poit); e.OrgName = new PositionOrgNameType(); e.OrgName.OrganizationName = "Circus"; e.OrgName.organizationType = "soleEmployer"; //e.OrgSize = "100"; //e.Title = "Title"; //e.Verification = new VerificationType(); //e.Verification.AttendanceRating = new RatingType(); //RatingTypeStringValue r2 = new RatingTypeStringValue(); //r2.description = "Bad"; //r2.Value = "Bad"; //e.Verification.AttendanceRating.Item = r2; //e.Verification.ContactInfo = new VerificationTypeContactInfo(); //e.Verification.ContactInfo.ContactMethod = new List<ContactMethodType>(); //ContactMethodType m = CreateContactMethodType(); //e.Verification.ContactInfo.ContactMethod.Add(m); //var personName = new PersonNameType(); //SetName(personName, "", "Jansen", "Jan", "Jan"); //e.Verification.ContactInfo.PersonName = personName; //e.Verification.EligibleForRehire = true; //e.Verification.EligibleForRehireSpecified = true; //e.Verification.OverallPerformanceRating = new RatingType(); //e.Verification.OverallPerformanceRating.Item = new RatingTypeStringValue(); //RatingTypeStringValue r = new RatingTypeStringValue(); //r.description = "Bad"; //r.Value = "Bad"; //e.Verification.OverallPerformanceRating.Item = r; //e.Verification.PermissionToContact = true; //e.Verification.PermissionToContactSpecified = true; //e.Verification.QuestionAnswerPair = new List<EmploymentQuestionAnswerPairType>(); //EmploymentQuestionAnswerPairType eq = new EmploymentQuestionAnswerPairType(); //eq.Answer = "Ja"; //eq.Question = "Lust je een hamburger"; //e.Verification.QuestionAnswerPair.Add(eq); //e.Verification.ReasonForLeaving = "Was het zat"; //e.Verification.VerifyEmployment = true; //e.Verification.VerifyEmploymentSpecified = true; return(e); }