Difference between revisions of "Jobnet Integration"
old>Tvi |
|||
(8 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
== About == | == About == | ||
It's possible to upload jobs to JobNet using the tsJobnet servlet.<br/> | |||
This site documents the interface. | |||
== Usage == | == Usage == | ||
Send a POST or GET-request to the servlet with the required parameters as url-parameters.<br/> | Send a POST or GET-request to the servlet-endpoint "/addJob" with the required parameters as url-parameters.<br/> | ||
If a parameter is missing, the servlet will return HTTP-CODE 403 and a message in the body, telling you what was wrong. | If a parameter is missing, the servlet will return HTTP-CODE 403 and a message in the body, telling you what was wrong. | ||
== All fields == | == All fields == | ||
{| | {| class="wikitable" | ||
|'''Parameter''' | |'''Parameter''' | ||
|'''Type''' | |'''Type''' | ||
Line 285: | Line 287: | ||
| | | | ||
|Yes | |Yes | ||
|Has to be after | |Has to be after PublishStartDate, but at the longest 8 weeks after | ||
|- | |- | ||
Line 292: | Line 294: | ||
| | | | ||
|Yes | |Yes | ||
|Has to be after | |Has to be today or after | ||
|- | |- | ||
Line 298: | Line 300: | ||
|String (base64) | |String (base64) | ||
| | | | ||
| | |No | ||
|max. 200x135px / 100KB | |max. 200x135px / 100KB | ||
|- | |- | ||
Line 305: | Line 307: | ||
|String (email) | |String (email) | ||
| | | | ||
| | |No | ||
| | | | ||
|- | |- | ||
Line 381: | Line 383: | ||
|JobDetails.Classification.EmploymentType | |JobDetails.Classification.EmploymentType | ||
|String | |String | ||
| | |PermanentJob | ||
|No | |No | ||
| | |Has to be "PermanentJob" or "LimitedPeriod" | ||
|- | |- | ||
Line 533: | Line 535: | ||
|- | |- | ||
|JobDetails | |JobDetails.NumberOfPositions | ||
|Integer | |Integer | ||
|1 | |1 | ||
Line 540: | Line 542: | ||
|- | |- | ||
|JobDetails | |JobDetails.OccupationConceptUri | ||
|String ([[ | |String ([[JobnetConceptUri]]) | ||
| | | | ||
|Yes | |Yes | ||
Line 547: | Line 549: | ||
|- | |- | ||
|JobDetails | |JobDetails.Schedule.DailyWorkTime.Day | ||
|Boolean | |Boolean | ||
|false | |false | ||
Line 554: | Line 556: | ||
|- | |- | ||
|JobDetails | |JobDetails.Schedule.DailyWorkTime.Evening | ||
|Boolean | |Boolean | ||
|false | |false | ||
Line 561: | Line 563: | ||
|- | |- | ||
|JobDetails | |JobDetails.Schedule.DailyWorkTime.Night | ||
|Boolean | |Boolean | ||
|false | |false | ||
Line 568: | Line 570: | ||
|- | |- | ||
|JobDetails | |JobDetails.Schedule.DailyWorkTime.Weekend | ||
|Boolean | |Boolean | ||
|false | |false | ||
Line 575: | Line 577: | ||
|- | |- | ||
|JobDetails | |JobDetails.Schedule.WeeklyWorkTimeTypes | ||
|String | |String | ||
|FullTime | |FullTime | ||
Line 582: | Line 584: | ||
|- | |- | ||
|JobDetails | |JobDetails.Schedule.WorkHour.Max | ||
|Integer | |Integer | ||
| | | | ||
Line 589: | Line 591: | ||
|- | |- | ||
|JobDetails | |JobDetails.Schedule.WorkHour.Min | ||
|Integer | |Integer | ||
| | | |
Latest revision as of 15:38, 7 January 2022
About
It's possible to upload jobs to JobNet using the tsJobnet servlet.
This site documents the interface.
Usage
Send a POST or GET-request to the servlet-endpoint "/addJob" with the required parameters as url-parameters.
If a parameter is missing, the servlet will return HTTP-CODE 403 and a message in the body, telling you what was wrong.
All fields
Parameter | Type | Default | Required | Description |
ApplicationDetails.ApplicationMethods.ApplyByEmail | String (email) | No | ||
ApplicationDetails.ApplicationMethods.ApplyByLetter | Boolean | false | No | |
ApplicationDetails.ApplicationMethods.ApplyByTelephone | String (phone-number) | No | ||
ApplicationDetails.ApplicationMethods.ApplyOnline | String (url) | No | ||
ApplicationDetails.Description | String | No | A short description of the job, not the full description, that is JobDetails.Description | |
ApplicationDetails.JobContactList.JobContactType.Email | String (email) | Yes | ||
ApplicationDetails.JobContactList.JobContactType.PersonNameStructure.PersonGivenName | String | Yes | ||
ApplicationDetails.JobContactList.JobContactType.PersonNameStructure.PersonSurnameName | String | Yes | ||
ApplicationDetails.JobContactList.JobContactType.Title | String | Yes | ||
ApplicationDetails.JobContactList.JobContactType.HidePhoneNumbers | Boolean | true | Yes | |
ApplicationDetails.JobContactList.JobContactType.TelephoneNumberStructure.MobileNumber | String (phone-number) | No | ||
ApplicationDetails.JobContactList.JobContactType.TelephoneNumberStructure.PrimaryNumber | String (phone-number) | No | ||
ApplicationDetails.JobContactList.JobContactType.TelephoneNumberStructure.SecondaryNumber | String (phone-number) | No | ||
ApplicationDetails.JobContactList.JobContactType.TelephoneNumberStructure.Telefax | String (phone-number) | No | ||
ApplicationDetails.Referral | String | No | ||
HiringOrganizationDetails.AddressStructure.CountryCode | String | Yes | ||
HiringOrganizationDetails.AddressStructure.FloorIdentifier | String | No | ||
HiringOrganizationDetails.AddressStructure.MunicipalityId | Integer | Yes | ||
HiringOrganizationDetails.AddressStructure.MunicipalityName | String | Yes | ||
HiringOrganizationDetails.AddressStructure.PostalCity | String | Yes | ||
HiringOrganizationDetails.AddressStructure.PostalCode | String | Yes | ||
HiringOrganizationDetails.AddressStructure.StreetBuildingIdentifier | String | Yes | ||
HiringOrganizationDetails.AddressStructure.StreetName | String | Yes | ||
HiringOrganizationDetails.AddressStructure.SuiteIdentifier | String | No | ||
HiringOrganizationDetails.BranchCode | Integer | Yes | ||
HiringOrganizationDetails.BranchDescription | String | Yes | ||
HiringOrganizationDetails.Contact.Email | String (email) | No | ||
HiringOrganizationDetails.Contact.PersonNameStructure.PersonGivenName | String | Yes | ||
HiringOrganizationDetails.Contact.PersonNameStructure.PersonSurnameName | String | Yes | ||
HiringOrganizationDetails.Contact.Title | String | No | ||
HiringOrganizationDetails.Contact.PrimaryNumber | String (phone-number) | No | ||
HiringOrganizationDetails.Contact.SecondaryNumber | String (phone-number) | No | ||
HiringOrganizationDetails.Contact.Telefax | String (phone-number) | No | ||
HiringOrganizationDetails.CvrNumber | String | No | ||
HiringOrganizationDetails.Name | String | Yes | ||
HiringOrganizationDetails.PNumber | String | No | ||
HiringOrganizationDetails.Url | String | No | ||
JobAdDetails.JobPublishDates.LastModifiedDate | String | No | ||
JobAdDetails.JobPublishDates.PublishEndDate | String | Yes | Has to be after PublishStartDate, but at the longest 8 weeks after | |
JobAdDetails.JobPublishDates.PublishStartDate | String | Yes | Has to be today or after | |
JobAdDetails.Logo | String (base64) | No | max. 200x135px / 100KB | |
JobAdDetails.PostedBy.Email | String (email) | No | ||
JobAdDetails.PostedBy.PersonNameStructure.PersonGivenName | String | Yes | ||
JobAdDetails.PostedBy.PersonNameStructure.PersonSurnameName | String | Yes | ||
JobAdDetails.PostedBy.Title | String | No | ||
JobAdDetails.PostedBy.ContactGuid | String | No | ||
JobAdDetails.PostedBy.PrimaryNumber | String (phone-number) | No | ||
JobAdDetails.PostedBy.Telefax | String | No | ||
JobAdDetails.PostedBy.UserRid | String | No | ||
JobAdDetails.Type | String | Normal | No | Has to be one of "WageSubsidy", "HotJob", "Normal", "SpringStone", "Flexjob", "EarlyRetirement", "JobRotation", "EarlyRetiree", "CompanyInternship", "NormalAndEarlyRetiree", or"NormalAndEarlyRetireeWithHotJob" |
JobDetails.AuthorityId | Integer | 0 | No | |
JobDetails.AuthorityPhoneNumber | String (phone-number) | No | ||
JobDetails.Classification.EmploymentType | String | PermanentJob | No | Has to be "PermanentJob" or "LimitedPeriod" |
JobDetails.Classification.IsEuresJob | Boolean | false | No | |
JobDetails.Classification.IsPublicSectorJob | Boolean | false | No | |
JobDetails.Classification.IsWorkInDenmarkJob | Boolean | false | No | |
JobDetails.Description | String | Yes | The description of the job. If it contains html (subset) it has to be wrapped in <![CDATA[]]> | |
JobDetails.DriversLicences | Comma-List | No | Required drivers licenses to apply for the job. Can be any combination of A1, A, B, BE, C, CE, D, DE, A10, AMa, AMb, A2, C1, D1, C1E, D1E, Taxi, Traktor, Truck, BusErhverv, DigitalFartskriver, EUGodsErhverv and EUBusErhverv, seperated by a comma | |
JobDetails.HidePhonenumbers | Boolean | false | No | |
JobDetails.IsAnonymousEmployer | Boolean | false | No | |
JobDetails.IsDisabilityFriendly | Boolean | false | No | |
JobDetails.JobDates.ApplicationDeadlineDate | String (date) | Yes | ||
JobDetails.JobDates.EmploymentDate | String (date) | No | ||
JobDetails.JobDates.StartAsSoonAsPossible | Boolean | false | No | |
JobDetails.JobLocation.Address.CountryCode | String | Yes | ||
JobDetails.JobLocation.Address.FloorIdentifier | String | No | ||
JobDetails.JobLocation.Address.MunicipalityId | Integer | Yes | ||
JobDetails.JobLocation.Address.MunicipalityName | String | Yes | ||
JobDetails.JobLocation.Address.PostalCity | String | Yes | ||
JobDetails.JobLocation.Address.PostalCode | String | Yes | ||
JobDetails.JobLocation.Address.StreetBuildingIdentifier | String | Yes | ||
JobDetails.JobLocation.Address.StreetName | String | Yes | ||
JobDetails.JobLocation.Address.SuiteIdentifier | String | No | ||
JobDetails.JobLocation.NoLocalBusinessAddress | Boolean | false | No | |
JobDetails.NumberOfPositions | Integer | 1 | No | |
JobDetails.OccupationConceptUri | String (JobnetConceptUri) | Yes | ||
JobDetails.Schedule.DailyWorkTime.Day | Boolean | false | No | |
JobDetails.Schedule.DailyWorkTime.Evening | Boolean | false | No | |
JobDetails.Schedule.DailyWorkTime.Night | Boolean | false | No | |
JobDetails.Schedule.DailyWorkTime.Weekend | Boolean | false | No | |
JobDetails.Schedule.WeeklyWorkTimeTypes | String | FullTime | No | Has to be PartTime or FullTime |
JobDetails.Schedule.WorkHour.Max | Integer | No | Expected maximum of hours of work, a week, if PartTime | |
JobDetails.Schedule.WorkHour.Min | Integer | No | Expected minimum of hours of work, a week, if PartTime | |
JobDetails.Title | String | Yes | The title being hired for |
Notes
At least one application method (ApplicationDetails.ApplicationMethods) has to be set.
At least one phonenumber has to be set for job-contact (ApplicationDetails.JobContactList.JobContactType.TelephoneNumberStructure).
If schedule (JobDetails.Schedule.WeeklyWorkTimeTypes) equals "FullTime", workhours (JobDetails.Schedule.WorkHour.Min and JobDetails.Schedule.WorkHour.Max) can't be set.
JobDetails.Schedule.WorkHour.Min has to be lower than JobDetails.Schedule.WorkHour.Max and between 0 and 36.
JobDetails.Schedule.WorkHour.Max has to be greater than JobDetails.Schedule.WorkHour.Min and between 1 and 36.
If schedule (JobDetails.Schedule.WeeklyWorkTimeTypes) Equals "PartTime", workhours (JobDetails.Schedule.WorkHour.Min and JobDetails.Schedule.WorkHour.Max) have to be set.