GET Api/Advertisements/{id}

Wyszukuje object Advertisement po jego identyfikatorze

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

unikalny identyfikator obiektu

integer

Required

Body Parameters

None.

Response Information

Resource Description

obiekt Advertisement posiadajÄ…cy wybrany identyfikator

AdvertisementDto
NameDescriptionTypeAdditional information
AdvertisementId

integer

Required

RecruitmentProjectId

integer

Required

TypeOfAdvertisementId

integer

Required

WorkTypeId

integer

None.

Price

decimal number

None.

Title

string

Required

Description

string

Required

WorkPositionName

string

None.

ReferenceNumber

string

None.

LanguageId

integer

None.

WorkPositionId

integer

None.

CountryId

integer

None.

CountryUnitId

integer

None.

City

string

None.

GeoPosition

GeoPosition

None.

LastUpdate

date

None.

ObligatoryCv

boolean

None.

Tags

string

None.

CandidateWebsiteUrl

string

None.

Accommodations

Collection of AccommodationDto

None.

Images

Collection of string

None.

AdvertisementProviderId

integer

None.

ProjectForOrgUnitName

string

None.

ProjectForOrgUnitId

integer

None.

StartDate

date

None.

EndDate

date

None.

TargetBoth

integer

None.

TargetFemale

integer

None.

TargetMale

integer

None.

Target

integer

None.

WeeklyWorkTimeMin

integer

None.

WeeklyWorkTimeMax

integer

None.

GenderRestriction

integer

None.

MinAge

integer

None.

MaxAge

integer

None.

NationalityForWorkpositions

Collection of integer

None.

NationalityForRecruitmentProjects

Collection of integer

None.

OrganizationalUnitId

integer

None.

CurrentBoth

integer

None.

CurrentFemale

integer

None.

CurrentMale

integer

None.

HiredCandidates

integer

None.

Priority

integer

None.

WorkStartDate

date

None.

WorkEndDate

date

None.

WasRemoved

boolean

None.

MinRateValue

decimal number

None.

HourRateNettoMin

decimal number

None.

HourRateNettoMax

decimal number

None.

HourRateBruttoMin

decimal number

None.

HourRateBruttoMax

decimal number

None.

MonthRateNettoMin

decimal number

None.

MonthRateNettoMax

decimal number

None.

MonthRateBruttoMin

decimal number

None.

MonthRateBruttoMax

decimal number

None.

BaseHourRateNetto

decimal number

None.

BaseHourRateBrutto

decimal number

None.

BaseMonthRateNetto

decimal number

None.

BaseMonthRateBrutto

decimal number

None.

MinRateCurrency

integer

None.

TypeOfContractId

integer

None.

CommuteToWorkId

integer

None.

TransportFromOfficeToWorkPlace

CostSettings

None.

TypeOfBoardId

integer

None.

TypeOfWorkerAccommodationId

integer

None.

AllowCouples

boolean

None.

AllowBiometricPassport

boolean

None.

CostOfFlat

decimal number

None.

AdvGuid

string

None.

UserGroups

string

None.

AssignedRecruitmentProjectAttributes

Collection of AssignedRecruitmentProjectAttributeDto

None.

Response Formats

application/json, text/json

Sample:
{
  "advertisementId": 1,
  "recruitmentProjectId": 2,
  "typeOfAdvertisementId": 3,
  "workTypeId": 1,
  "price": 1.0,
  "title": "sample string 4",
  "description": "sample string 5",
  "workPositionName": "sample string 6",
  "referenceNumber": "sample string 7",
  "languageId": 1,
  "workPositionId": 1,
  "countryId": 1,
  "countryUnitId": 1,
  "city": "sample string 8",
  "geoPosition": {
    "latitude": 1.1,
    "longitude": 2.1
  },
  "lastUpdate": "2024-05-18T05:32:40.3800715+00:00",
  "obligatoryCv": true,
  "tags": "sample string 10",
  "candidateWebsiteUrl": "sample string 11",
  "accommodations": [
    {
      "accommodationId": 1,
      "organizationalUnitId": 2,
      "profileId": "sample string 3",
      "typeOfAccommodationId": 4,
      "isActive": true,
      "name": "sample string 6",
      "comment": "sample string 7",
      "description": "sample string 8",
      "creationDate": "2024-05-18T05:32:40.3800715+00:00",
      "modificationDate": "2024-05-18T05:32:40.3800715+00:00",
      "internetAccess": true,
      "noCutlery": true,
      "noPlates": true,
      "noBedding": true,
      "noticePeriod": 1,
      "defaultPriceForDay": 1.0,
      "defaultPriceForMonth": 1.0,
      "deposit": 1.0,
      "additionalWorkerCosts": 15.0,
      "payTime": 1,
      "vatId": 1,
      "typeOfPayTimeId": 1,
      "typeOfBookingContractId": 1,
      "paymentForUnusedSpace": true,
      "countryId": 17,
      "regionId": 1,
      "districtId": 1,
      "communityId": 1,
      "taxOfficeId": 1,
      "city": "sample string 18",
      "street": "sample string 19",
      "houseNr": "sample string 20",
      "flatNr": "sample string 21",
      "postCode": "sample string 22",
      "geoPosition": {
        "latitude": 1.1,
        "longitude": 2.1
      },
      "contactPerson": "sample string 23",
      "phoneNumber": "sample string 24",
      "email": "sample string 25",
      "website": "sample string 26",
      "rating": 1,
      "easyContact": 1,
      "spaceRating": 1,
      "numerOfPersonsRating": 1,
      "equipmentRating": 1,
      "cleanlinessGeneral": 1,
      "cleanlinessKitchen": 1,
      "cleanlinessBathroom": 1,
      "ownedBy": 0,
      "rooms": [
        {
          "roomId": 1,
          "accommodationId": 2,
          "name": "sample string 3",
          "numberOfPlaces": 4,
          "typeOfBedId": 1,
          "genderRestriction": 1,
          "price": 1.0,
          "typeOfRoomId": 1,
          "bookings": [
            {
              "bookingId": 1,
              "createDate": "2024-05-18T05:32:40.3800715+00:00",
              "roomId": 3,
              "profileId": "sample string 4",
              "startDate": "2024-05-18T05:32:40.3800715+00:00",
              "endDate": "2024-05-18T05:32:40.3800715+00:00",
              "reservationStatus": true,
              "createdBy": "sample string 6",
              "comment": "sample string 7",
              "error": "sample string 8",
              "recruitmentProjectId": 1,
              "personnelProcessId": 1,
              "workerName": "sample string 9",
              "workerSurname": "sample string 10",
              "workerGender": 1
            },
            {
              "bookingId": 1,
              "createDate": "2024-05-18T05:32:40.3800715+00:00",
              "roomId": 3,
              "profileId": "sample string 4",
              "startDate": "2024-05-18T05:32:40.3800715+00:00",
              "endDate": "2024-05-18T05:32:40.3800715+00:00",
              "reservationStatus": true,
              "createdBy": "sample string 6",
              "comment": "sample string 7",
              "error": "sample string 8",
              "recruitmentProjectId": 1,
              "personnelProcessId": 1,
              "workerName": "sample string 9",
              "workerSurname": "sample string 10",
              "workerGender": 1
            }
          ],
          "numberOfFreePlaces": 5
        },
        {
          "roomId": 1,
          "accommodationId": 2,
          "name": "sample string 3",
          "numberOfPlaces": 4,
          "typeOfBedId": 1,
          "genderRestriction": 1,
          "price": 1.0,
          "typeOfRoomId": 1,
          "bookings": [
            {
              "bookingId": 1,
              "createDate": "2024-05-18T05:32:40.3800715+00:00",
              "roomId": 3,
              "profileId": "sample string 4",
              "startDate": "2024-05-18T05:32:40.3800715+00:00",
              "endDate": "2024-05-18T05:32:40.3800715+00:00",
              "reservationStatus": true,
              "createdBy": "sample string 6",
              "comment": "sample string 7",
              "error": "sample string 8",
              "recruitmentProjectId": 1,
              "personnelProcessId": 1,
              "workerName": "sample string 9",
              "workerSurname": "sample string 10",
              "workerGender": 1
            },
            {
              "bookingId": 1,
              "createDate": "2024-05-18T05:32:40.3800715+00:00",
              "roomId": 3,
              "profileId": "sample string 4",
              "startDate": "2024-05-18T05:32:40.3800715+00:00",
              "endDate": "2024-05-18T05:32:40.3800715+00:00",
              "reservationStatus": true,
              "createdBy": "sample string 6",
              "comment": "sample string 7",
              "error": "sample string 8",
              "recruitmentProjectId": 1,
              "personnelProcessId": 1,
              "workerName": "sample string 9",
              "workerSurname": "sample string 10",
              "workerGender": 1
            }
          ],
          "numberOfFreePlaces": 5
        }
      ],
      "assignOrgUnits": [
        1,
        2
      ],
      "images": [
        "sample string 1",
        "sample string 2"
      ]
    },
    {
      "accommodationId": 1,
      "organizationalUnitId": 2,
      "profileId": "sample string 3",
      "typeOfAccommodationId": 4,
      "isActive": true,
      "name": "sample string 6",
      "comment": "sample string 7",
      "description": "sample string 8",
      "creationDate": "2024-05-18T05:32:40.3800715+00:00",
      "modificationDate": "2024-05-18T05:32:40.3800715+00:00",
      "internetAccess": true,
      "noCutlery": true,
      "noPlates": true,
      "noBedding": true,
      "noticePeriod": 1,
      "defaultPriceForDay": 1.0,
      "defaultPriceForMonth": 1.0,
      "deposit": 1.0,
      "additionalWorkerCosts": 15.0,
      "payTime": 1,
      "vatId": 1,
      "typeOfPayTimeId": 1,
      "typeOfBookingContractId": 1,
      "paymentForUnusedSpace": true,
      "countryId": 17,
      "regionId": 1,
      "districtId": 1,
      "communityId": 1,
      "taxOfficeId": 1,
      "city": "sample string 18",
      "street": "sample string 19",
      "houseNr": "sample string 20",
      "flatNr": "sample string 21",
      "postCode": "sample string 22",
      "geoPosition": {
        "latitude": 1.1,
        "longitude": 2.1
      },
      "contactPerson": "sample string 23",
      "phoneNumber": "sample string 24",
      "email": "sample string 25",
      "website": "sample string 26",
      "rating": 1,
      "easyContact": 1,
      "spaceRating": 1,
      "numerOfPersonsRating": 1,
      "equipmentRating": 1,
      "cleanlinessGeneral": 1,
      "cleanlinessKitchen": 1,
      "cleanlinessBathroom": 1,
      "ownedBy": 0,
      "rooms": [
        {
          "roomId": 1,
          "accommodationId": 2,
          "name": "sample string 3",
          "numberOfPlaces": 4,
          "typeOfBedId": 1,
          "genderRestriction": 1,
          "price": 1.0,
          "typeOfRoomId": 1,
          "bookings": [
            {
              "bookingId": 1,
              "createDate": "2024-05-18T05:32:40.3800715+00:00",
              "roomId": 3,
              "profileId": "sample string 4",
              "startDate": "2024-05-18T05:32:40.3800715+00:00",
              "endDate": "2024-05-18T05:32:40.3800715+00:00",
              "reservationStatus": true,
              "createdBy": "sample string 6",
              "comment": "sample string 7",
              "error": "sample string 8",
              "recruitmentProjectId": 1,
              "personnelProcessId": 1,
              "workerName": "sample string 9",
              "workerSurname": "sample string 10",
              "workerGender": 1
            },
            {
              "bookingId": 1,
              "createDate": "2024-05-18T05:32:40.3800715+00:00",
              "roomId": 3,
              "profileId": "sample string 4",
              "startDate": "2024-05-18T05:32:40.3800715+00:00",
              "endDate": "2024-05-18T05:32:40.3800715+00:00",
              "reservationStatus": true,
              "createdBy": "sample string 6",
              "comment": "sample string 7",
              "error": "sample string 8",
              "recruitmentProjectId": 1,
              "personnelProcessId": 1,
              "workerName": "sample string 9",
              "workerSurname": "sample string 10",
              "workerGender": 1
            }
          ],
          "numberOfFreePlaces": 5
        },
        {
          "roomId": 1,
          "accommodationId": 2,
          "name": "sample string 3",
          "numberOfPlaces": 4,
          "typeOfBedId": 1,
          "genderRestriction": 1,
          "price": 1.0,
          "typeOfRoomId": 1,
          "bookings": [
            {
              "bookingId": 1,
              "createDate": "2024-05-18T05:32:40.3800715+00:00",
              "roomId": 3,
              "profileId": "sample string 4",
              "startDate": "2024-05-18T05:32:40.3800715+00:00",
              "endDate": "2024-05-18T05:32:40.3800715+00:00",
              "reservationStatus": true,
              "createdBy": "sample string 6",
              "comment": "sample string 7",
              "error": "sample string 8",
              "recruitmentProjectId": 1,
              "personnelProcessId": 1,
              "workerName": "sample string 9",
              "workerSurname": "sample string 10",
              "workerGender": 1
            },
            {
              "bookingId": 1,
              "createDate": "2024-05-18T05:32:40.3800715+00:00",
              "roomId": 3,
              "profileId": "sample string 4",
              "startDate": "2024-05-18T05:32:40.3800715+00:00",
              "endDate": "2024-05-18T05:32:40.3800715+00:00",
              "reservationStatus": true,
              "createdBy": "sample string 6",
              "comment": "sample string 7",
              "error": "sample string 8",
              "recruitmentProjectId": 1,
              "personnelProcessId": 1,
              "workerName": "sample string 9",
              "workerSurname": "sample string 10",
              "workerGender": 1
            }
          ],
          "numberOfFreePlaces": 5
        }
      ],
      "assignOrgUnits": [
        1,
        2
      ],
      "images": [
        "sample string 1",
        "sample string 2"
      ]
    }
  ],
  "images": [
    "sample string 1",
    "sample string 2"
  ],
  "advertisementProviderId": 1,
  "projectForOrgUnitName": "sample string 12",
  "projectForOrgUnitId": 1,
  "startDate": "2024-05-18T05:32:40.3800715+00:00",
  "endDate": "2024-05-18T05:32:40.3800715+00:00",
  "targetBoth": 1,
  "targetFemale": 1,
  "targetMale": 1,
  "target": 1,
  "weeklyWorkTimeMin": 1,
  "weeklyWorkTimeMax": 1,
  "genderRestriction": 1,
  "minAge": 1,
  "maxAge": 1,
  "nationalityForWorkpositions": [
    1,
    2
  ],
  "nationalityForRecruitmentProjects": [
    1,
    2
  ],
  "organizationalUnitId": 1,
  "currentBoth": 1,
  "currentFemale": 1,
  "currentMale": 1,
  "hiredCandidates": 1,
  "priority": 1,
  "workStartDate": "2024-05-18T05:32:40.3800715+00:00",
  "workEndDate": "2024-05-18T05:32:40.3800715+00:00",
  "wasRemoved": true,
  "minRateValue": 1.0,
  "hourRateNettoMin": 1.0,
  "hourRateNettoMax": 1.0,
  "hourRateBruttoMin": 1.0,
  "hourRateBruttoMax": 1.0,
  "monthRateNettoMin": 1.0,
  "monthRateNettoMax": 1.0,
  "monthRateBruttoMin": 1.0,
  "monthRateBruttoMax": 1.0,
  "baseHourRateNetto": 1.0,
  "baseHourRateBrutto": 1.0,
  "baseMonthRateNetto": 1.0,
  "baseMonthRateBrutto": 1.0,
  "minRateCurrency": 1,
  "typeOfContractId": 1,
  "commuteToWorkId": 1,
  "transportFromOfficeToWorkPlace": 0,
  "typeOfBoardId": 1,
  "typeOfWorkerAccommodationId": 1,
  "allowCouples": true,
  "allowBiometricPassport": true,
  "costOfFlat": 1.0,
  "advGuid": "sample string 13",
  "userGroups": "sample string 14",
  "assignedRecruitmentProjectAttributes": [
    {
      "assignedRecruitmentProjectAttributeId": 1,
      "recruitmentProjectAttributeId": 2,
      "recruitmentProjectId": 3,
      "value": "sample string 4"
    },
    {
      "assignedRecruitmentProjectAttributeId": 1,
      "recruitmentProjectAttributeId": 2,
      "recruitmentProjectId": 3,
      "value": "sample string 4"
    }
  ]
}

multipart/form-data

Sample:
{"advertisementId":1,"recruitmentProjectId":2,"typeOfAdvertisementId":3,"workTypeId":1,"price":1.0,"title":"sample string 4","description":"sample string 5","workPositionName":"sample string 6","referenceNumber":"sample string 7","languageId":1,"workPositionId":1,"countryId":1,"countryUnitId":1,"city":"sample string 8","geoPosition":{"latitude":1.1,"longitude":2.1},"lastUpdate":"2024-05-18T05:32:40.3800715+00:00","obligatoryCv":true,"tags":"sample string 10","candidateWebsiteUrl":"sample string 11","accommodations":[{"accommodationId":1,"organizationalUnitId":2,"profileId":"sample string 3","typeOfAccommodationId":4,"isActive":true,"name":"sample string 6","comment":"sample string 7","description":"sample string 8","creationDate":"2024-05-18T05:32:40.3800715+00:00","modificationDate":"2024-05-18T05:32:40.3800715+00:00","internetAccess":true,"noCutlery":true,"noPlates":true,"noBedding":true,"noticePeriod":1,"defaultPriceForDay":1.0,"defaultPriceForMonth":1.0,"deposit":1.0,"additionalWorkerCosts":15.0,"payTime":1,"vatId":1,"typeOfPayTimeId":1,"typeOfBookingContractId":1,"paymentForUnusedSpace":true,"countryId":17,"regionId":1,"districtId":1,"communityId":1,"taxOfficeId":1,"city":"sample string 18","street":"sample string 19","houseNr":"sample string 20","flatNr":"sample string 21","postCode":"sample string 22","geoPosition":{"latitude":1.1,"longitude":2.1},"contactPerson":"sample string 23","phoneNumber":"sample string 24","email":"sample string 25","website":"sample string 26","rating":1,"easyContact":1,"spaceRating":1,"numerOfPersonsRating":1,"equipmentRating":1,"cleanlinessGeneral":1,"cleanlinessKitchen":1,"cleanlinessBathroom":1,"ownedBy":0,"rooms":[{"roomId":1,"accommodationId":2,"name":"sample string 3","numberOfPlaces":4,"typeOfBedId":1,"genderRestriction":1,"price":1.0,"typeOfRoomId":1,"bookings":[{"bookingId":1,"createDate":"2024-05-18T05:32:40.3800715+00:00","roomId":3,"profileId":"sample string 4","startDate":"2024-05-18T05:32:40.3800715+00:00","endDate":"2024-05-18T05:32:40.3800715+00:00","reservationStatus":true,"createdBy":"sample string 6","comment":"sample string 7","error":"sample string 8","recruitmentProjectId":1,"personnelProcessId":1,"workerName":"sample string 9","workerSurname":"sample string 10","workerGender":1},{"bookingId":1,"createDate":"2024-05-18T05:32:40.3800715+00:00","roomId":3,"profileId":"sample string 4","startDate":"2024-05-18T05:32:40.3800715+00:00","endDate":"2024-05-18T05:32:40.3800715+00:00","reservationStatus":true,"createdBy":"sample string 6","comment":"sample string 7","error":"sample string 8","recruitmentProjectId":1,"personnelProcessId":1,"workerName":"sample string 9","workerSurname":"sample string 10","workerGender":1}],"numberOfFreePlaces":5},{"roomId":1,"accommodationId":2,"name":"sample string 3","numberOfPlaces":4,"typeOfBedId":1,"genderRestriction":1,"price":1.0,"typeOfRoomId":1,"bookings":[{"bookingId":1,"createDate":"2024-05-18T05:32:40.3800715+00:00","roomId":3,"profileId":"sample string 4","startDate":"2024-05-18T05:32:40.3800715+00:00","endDate":"2024-05-18T05:32:40.3800715+00:00","reservationStatus":true,"createdBy":"sample string 6","comment":"sample string 7","error":"sample string 8","recruitmentProjectId":1,"personnelProcessId":1,"workerName":"sample string 9","workerSurname":"sample string 10","workerGender":1},{"bookingId":1,"createDate":"2024-05-18T05:32:40.3800715+00:00","roomId":3,"profileId":"sample string 4","startDate":"2024-05-18T05:32:40.3800715+00:00","endDate":"2024-05-18T05:32:40.3800715+00:00","reservationStatus":true,"createdBy":"sample string 6","comment":"sample string 7","error":"sample string 8","recruitmentProjectId":1,"personnelProcessId":1,"workerName":"sample string 9","workerSurname":"sample string 10","workerGender":1}],"numberOfFreePlaces":5}],"assignOrgUnits":[1,2],"images":["sample string 1","sample string 2"]},{"accommodationId":1,"organizationalUnitId":2,"profileId":"sample string 3","typeOfAccommodationId":4,"isActive":true,"name":"sample string 6","comment":"sample string 7","description":"sample string 8","creationDate":"2024-05-18T05:32:40.3800715+00:00","modificationDate":"2024-05-18T05:32:40.3800715+00:00","internetAccess":true,"noCutlery":true,"noPlates":true,"noBedding":true,"noticePeriod":1,"defaultPriceForDay":1.0,"defaultPriceForMonth":1.0,"deposit":1.0,"additionalWorkerCosts":15.0,"payTime":1,"vatId":1,"typeOfPayTimeId":1,"typeOfBookingContractId":1,"paymentForUnusedSpace":true,"countryId":17,"regionId":1,"districtId":1,"communityId":1,"taxOfficeId":1,"city":"sample string 18","street":"sample string 19","houseNr":"sample string 20","flatNr":"sample string 21","postCode":"sample string 22","geoPosition":{"latitude":1.1,"longitude":2.1},"contactPerson":"sample string 23","phoneNumber":"sample string 24","email":"sample string 25","website":"sample string 26","rating":1,"easyContact":1,"spaceRating":1,"numerOfPersonsRating":1,"equipmentRating":1,"cleanlinessGeneral":1,"cleanlinessKitchen":1,"cleanlinessBathroom":1,"ownedBy":0,"rooms":[{"roomId":1,"accommodationId":2,"name":"sample string 3","numberOfPlaces":4,"typeOfBedId":1,"genderRestriction":1,"price":1.0,"typeOfRoomId":1,"bookings":[{"bookingId":1,"createDate":"2024-05-18T05:32:40.3800715+00:00","roomId":3,"profileId":"sample string 4","startDate":"2024-05-18T05:32:40.3800715+00:00","endDate":"2024-05-18T05:32:40.3800715+00:00","reservationStatus":true,"createdBy":"sample string 6","comment":"sample string 7","error":"sample string 8","recruitmentProjectId":1,"personnelProcessId":1,"workerName":"sample string 9","workerSurname":"sample string 10","workerGender":1},{"bookingId":1,"createDate":"2024-05-18T05:32:40.3800715+00:00","roomId":3,"profileId":"sample string 4","startDate":"2024-05-18T05:32:40.3800715+00:00","endDate":"2024-05-18T05:32:40.3800715+00:00","reservationStatus":true,"createdBy":"sample string 6","comment":"sample string 7","error":"sample string 8","recruitmentProjectId":1,"personnelProcessId":1,"workerName":"sample string 9","workerSurname":"sample string 10","workerGender":1}],"numberOfFreePlaces":5},{"roomId":1,"accommodationId":2,"name":"sample string 3","numberOfPlaces":4,"typeOfBedId":1,"genderRestriction":1,"price":1.0,"typeOfRoomId":1,"bookings":[{"bookingId":1,"createDate":"2024-05-18T05:32:40.3800715+00:00","roomId":3,"profileId":"sample string 4","startDate":"2024-05-18T05:32:40.3800715+00:00","endDate":"2024-05-18T05:32:40.3800715+00:00","reservationStatus":true,"createdBy":"sample string 6","comment":"sample string 7","error":"sample string 8","recruitmentProjectId":1,"personnelProcessId":1,"workerName":"sample string 9","workerSurname":"sample string 10","workerGender":1},{"bookingId":1,"createDate":"2024-05-18T05:32:40.3800715+00:00","roomId":3,"profileId":"sample string 4","startDate":"2024-05-18T05:32:40.3800715+00:00","endDate":"2024-05-18T05:32:40.3800715+00:00","reservationStatus":true,"createdBy":"sample string 6","comment":"sample string 7","error":"sample string 8","recruitmentProjectId":1,"personnelProcessId":1,"workerName":"sample string 9","workerSurname":"sample string 10","workerGender":1}],"numberOfFreePlaces":5}],"assignOrgUnits":[1,2],"images":["sample string 1","sample string 2"]}],"images":["sample string 1","sample string 2"],"advertisementProviderId":1,"projectForOrgUnitName":"sample string 12","projectForOrgUnitId":1,"startDate":"2024-05-18T05:32:40.3800715+00:00","endDate":"2024-05-18T05:32:40.3800715+00:00","targetBoth":1,"targetFemale":1,"targetMale":1,"target":1,"weeklyWorkTimeMin":1,"weeklyWorkTimeMax":1,"genderRestriction":1,"minAge":1,"maxAge":1,"nationalityForWorkpositions":[1,2],"nationalityForRecruitmentProjects":[1,2],"organizationalUnitId":1,"currentBoth":1,"currentFemale":1,"currentMale":1,"hiredCandidates":1,"priority":1,"workStartDate":"2024-05-18T05:32:40.3800715+00:00","workEndDate":"2024-05-18T05:32:40.3800715+00:00","wasRemoved":true,"minRateValue":1.0,"hourRateNettoMin":1.0,"hourRateNettoMax":1.0,"hourRateBruttoMin":1.0,"hourRateBruttoMax":1.0,"monthRateNettoMin":1.0,"monthRateNettoMax":1.0,"monthRateBruttoMin":1.0,"monthRateBruttoMax":1.0,"baseHourRateNetto":1.0,"baseHourRateBrutto":1.0,"baseMonthRateNetto":1.0,"baseMonthRateBrutto":1.0,"minRateCurrency":1,"typeOfContractId":1,"commuteToWorkId":1,"transportFromOfficeToWorkPlace":0,"typeOfBoardId":1,"typeOfWorkerAccommodationId":1,"allowCouples":true,"allowBiometricPassport":true,"costOfFlat":1.0,"advGuid":"sample string 13","userGroups":"sample string 14","assignedRecruitmentProjectAttributes":[{"assignedRecruitmentProjectAttributeId":1,"recruitmentProjectAttributeId":2,"recruitmentProjectId":3,"value":"sample string 4"},{"assignedRecruitmentProjectAttributeId":1,"recruitmentProjectAttributeId":2,"recruitmentProjectId":3,"value":"sample string 4"}]}

application/xml, text/xml

Sample:
<AdvertisementDto xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <AdvertisementId>1</AdvertisementId>
  <RecruitmentProjectId>2</RecruitmentProjectId>
  <TypeOfAdvertisementId>3</TypeOfAdvertisementId>
  <WorkTypeId>1</WorkTypeId>
  <Price>1</Price>
  <Title>sample string 4</Title>
  <Description>sample string 5</Description>
  <WorkPositionName>sample string 6</WorkPositionName>
  <ReferenceNumber>sample string 7</ReferenceNumber>
  <LanguageId>1</LanguageId>
  <WorkPositionId>1</WorkPositionId>
  <CountryId>1</CountryId>
  <CountryUnitId>1</CountryUnitId>
  <City>sample string 8</City>
  <GeoPosition>
    <Latitude>1.1</Latitude>
    <Longitude>2.1</Longitude>
  </GeoPosition>
  <LastUpdate>2024-05-18T05:32:40.3800715+00:00</LastUpdate>
  <ObligatoryCv>true</ObligatoryCv>
  <Tags>sample string 10</Tags>
  <CandidateWebsiteUrl>sample string 11</CandidateWebsiteUrl>
  <Accommodations>
    <AccommodationDto>
      <AccommodationId>1</AccommodationId>
      <OrganizationalUnitId>2</OrganizationalUnitId>
      <ProfileId>sample string 3</ProfileId>
      <TypeOfAccommodationId>4</TypeOfAccommodationId>
      <IsActive>true</IsActive>
      <Name>sample string 6</Name>
      <Comment>sample string 7</Comment>
      <Description>sample string 8</Description>
      <CreationDate />
      <ModificationDate />
      <InternetAccess>true</InternetAccess>
      <NoCutlery>true</NoCutlery>
      <NoPlates>true</NoPlates>
      <NoBedding>true</NoBedding>
      <NoticePeriod>1</NoticePeriod>
      <DefaultPriceForDay>1</DefaultPriceForDay>
      <DefaultPriceForMonth>1</DefaultPriceForMonth>
      <Deposit>1</Deposit>
      <AdditionalWorkerCosts>15</AdditionalWorkerCosts>
      <PayTime>1</PayTime>
      <VatId>1</VatId>
      <TypeOfPayTimeId>1</TypeOfPayTimeId>
      <TypeOfBookingContractId>1</TypeOfBookingContractId>
      <PaymentForUnusedSpace>true</PaymentForUnusedSpace>
      <CountryId>17</CountryId>
      <RegionId>1</RegionId>
      <DistrictId>1</DistrictId>
      <CommunityId>1</CommunityId>
      <TaxOfficeId>1</TaxOfficeId>
      <City>sample string 18</City>
      <Street>sample string 19</Street>
      <HouseNr>sample string 20</HouseNr>
      <FlatNr>sample string 21</FlatNr>
      <PostCode>sample string 22</PostCode>
      <GeoPosition>
        <Latitude>1.1</Latitude>
        <Longitude>2.1</Longitude>
      </GeoPosition>
      <ContactPerson>sample string 23</ContactPerson>
      <PhoneNumber>sample string 24</PhoneNumber>
      <Email>sample string 25</Email>
      <Website>sample string 26</Website>
      <Rating>1</Rating>
      <EasyContact>1</EasyContact>
      <SpaceRating>1</SpaceRating>
      <NumerOfPersonsRating>1</NumerOfPersonsRating>
      <EquipmentRating>1</EquipmentRating>
      <CleanlinessGeneral>1</CleanlinessGeneral>
      <CleanlinessKitchen>1</CleanlinessKitchen>
      <CleanlinessBathroom>1</CleanlinessBathroom>
      <OwnedBy>Worker</OwnedBy>
      <Rooms>
        <RoomDto>
          <RoomId>1</RoomId>
          <AccommodationId>2</AccommodationId>
          <Name>sample string 3</Name>
          <NumberOfPlaces>4</NumberOfPlaces>
          <TypeOfBedId>1</TypeOfBedId>
          <GenderRestriction>1</GenderRestriction>
          <Price>1</Price>
          <TypeOfRoomId>1</TypeOfRoomId>
          <Bookings>
            <BookingDto>
              <BookingId>1</BookingId>
              <CreateDate />
              <RoomId>3</RoomId>
              <ProfileId>sample string 4</ProfileId>
              <StartDate />
              <EndDate />
              <ReservationStatus>true</ReservationStatus>
              <CreatedBy>sample string 6</CreatedBy>
              <Comment>sample string 7</Comment>
              <Error>sample string 8</Error>
              <RecruitmentProjectId>1</RecruitmentProjectId>
              <PersonnelProcessId>1</PersonnelProcessId>
              <WorkerName>sample string 9</WorkerName>
              <WorkerSurname>sample string 10</WorkerSurname>
              <WorkerGender>1</WorkerGender>
            </BookingDto>
            <BookingDto>
              <BookingId>1</BookingId>
              <CreateDate />
              <RoomId>3</RoomId>
              <ProfileId>sample string 4</ProfileId>
              <StartDate />
              <EndDate />
              <ReservationStatus>true</ReservationStatus>
              <CreatedBy>sample string 6</CreatedBy>
              <Comment>sample string 7</Comment>
              <Error>sample string 8</Error>
              <RecruitmentProjectId>1</RecruitmentProjectId>
              <PersonnelProcessId>1</PersonnelProcessId>
              <WorkerName>sample string 9</WorkerName>
              <WorkerSurname>sample string 10</WorkerSurname>
              <WorkerGender>1</WorkerGender>
            </BookingDto>
          </Bookings>
          <NumberOfFreePlaces>5</NumberOfFreePlaces>
        </RoomDto>
        <RoomDto>
          <RoomId>1</RoomId>
          <AccommodationId>2</AccommodationId>
          <Name>sample string 3</Name>
          <NumberOfPlaces>4</NumberOfPlaces>
          <TypeOfBedId>1</TypeOfBedId>
          <GenderRestriction>1</GenderRestriction>
          <Price>1</Price>
          <TypeOfRoomId>1</TypeOfRoomId>
          <Bookings>
            <BookingDto>
              <BookingId>1</BookingId>
              <CreateDate />
              <RoomId>3</RoomId>
              <ProfileId>sample string 4</ProfileId>
              <StartDate />
              <EndDate />
              <ReservationStatus>true</ReservationStatus>
              <CreatedBy>sample string 6</CreatedBy>
              <Comment>sample string 7</Comment>
              <Error>sample string 8</Error>
              <RecruitmentProjectId>1</RecruitmentProjectId>
              <PersonnelProcessId>1</PersonnelProcessId>
              <WorkerName>sample string 9</WorkerName>
              <WorkerSurname>sample string 10</WorkerSurname>
              <WorkerGender>1</WorkerGender>
            </BookingDto>
            <BookingDto>
              <BookingId>1</BookingId>
              <CreateDate />
              <RoomId>3</RoomId>
              <ProfileId>sample string 4</ProfileId>
              <StartDate />
              <EndDate />
              <ReservationStatus>true</ReservationStatus>
              <CreatedBy>sample string 6</CreatedBy>
              <Comment>sample string 7</Comment>
              <Error>sample string 8</Error>
              <RecruitmentProjectId>1</RecruitmentProjectId>
              <PersonnelProcessId>1</PersonnelProcessId>
              <WorkerName>sample string 9</WorkerName>
              <WorkerSurname>sample string 10</WorkerSurname>
              <WorkerGender>1</WorkerGender>
            </BookingDto>
          </Bookings>
          <NumberOfFreePlaces>5</NumberOfFreePlaces>
        </RoomDto>
      </Rooms>
      <AssignOrgUnits>
        <int>1</int>
        <int>2</int>
      </AssignOrgUnits>
      <Images>
        <string>sample string 1</string>
        <string>sample string 2</string>
      </Images>
    </AccommodationDto>
    <AccommodationDto>
      <AccommodationId>1</AccommodationId>
      <OrganizationalUnitId>2</OrganizationalUnitId>
      <ProfileId>sample string 3</ProfileId>
      <TypeOfAccommodationId>4</TypeOfAccommodationId>
      <IsActive>true</IsActive>
      <Name>sample string 6</Name>
      <Comment>sample string 7</Comment>
      <Description>sample string 8</Description>
      <CreationDate />
      <ModificationDate />
      <InternetAccess>true</InternetAccess>
      <NoCutlery>true</NoCutlery>
      <NoPlates>true</NoPlates>
      <NoBedding>true</NoBedding>
      <NoticePeriod>1</NoticePeriod>
      <DefaultPriceForDay>1</DefaultPriceForDay>
      <DefaultPriceForMonth>1</DefaultPriceForMonth>
      <Deposit>1</Deposit>
      <AdditionalWorkerCosts>15</AdditionalWorkerCosts>
      <PayTime>1</PayTime>
      <VatId>1</VatId>
      <TypeOfPayTimeId>1</TypeOfPayTimeId>
      <TypeOfBookingContractId>1</TypeOfBookingContractId>
      <PaymentForUnusedSpace>true</PaymentForUnusedSpace>
      <CountryId>17</CountryId>
      <RegionId>1</RegionId>
      <DistrictId>1</DistrictId>
      <CommunityId>1</CommunityId>
      <TaxOfficeId>1</TaxOfficeId>
      <City>sample string 18</City>
      <Street>sample string 19</Street>
      <HouseNr>sample string 20</HouseNr>
      <FlatNr>sample string 21</FlatNr>
      <PostCode>sample string 22</PostCode>
      <GeoPosition>
        <Latitude>1.1</Latitude>
        <Longitude>2.1</Longitude>
      </GeoPosition>
      <ContactPerson>sample string 23</ContactPerson>
      <PhoneNumber>sample string 24</PhoneNumber>
      <Email>sample string 25</Email>
      <Website>sample string 26</Website>
      <Rating>1</Rating>
      <EasyContact>1</EasyContact>
      <SpaceRating>1</SpaceRating>
      <NumerOfPersonsRating>1</NumerOfPersonsRating>
      <EquipmentRating>1</EquipmentRating>
      <CleanlinessGeneral>1</CleanlinessGeneral>
      <CleanlinessKitchen>1</CleanlinessKitchen>
      <CleanlinessBathroom>1</CleanlinessBathroom>
      <OwnedBy>Worker</OwnedBy>
      <Rooms>
        <RoomDto>
          <RoomId>1</RoomId>
          <AccommodationId>2</AccommodationId>
          <Name>sample string 3</Name>
          <NumberOfPlaces>4</NumberOfPlaces>
          <TypeOfBedId>1</TypeOfBedId>
          <GenderRestriction>1</GenderRestriction>
          <Price>1</Price>
          <TypeOfRoomId>1</TypeOfRoomId>
          <Bookings>
            <BookingDto>
              <BookingId>1</BookingId>
              <CreateDate />
              <RoomId>3</RoomId>
              <ProfileId>sample string 4</ProfileId>
              <StartDate />
              <EndDate />
              <ReservationStatus>true</ReservationStatus>
              <CreatedBy>sample string 6</CreatedBy>
              <Comment>sample string 7</Comment>
              <Error>sample string 8</Error>
              <RecruitmentProjectId>1</RecruitmentProjectId>
              <PersonnelProcessId>1</PersonnelProcessId>
              <WorkerName>sample string 9</WorkerName>
              <WorkerSurname>sample string 10</WorkerSurname>
              <WorkerGender>1</WorkerGender>
            </BookingDto>
            <BookingDto>
              <BookingId>1</BookingId>
              <CreateDate />
              <RoomId>3</RoomId>
              <ProfileId>sample string 4</ProfileId>
              <StartDate />
              <EndDate />
              <ReservationStatus>true</ReservationStatus>
              <CreatedBy>sample string 6</CreatedBy>
              <Comment>sample string 7</Comment>
              <Error>sample string 8</Error>
              <RecruitmentProjectId>1</RecruitmentProjectId>
              <PersonnelProcessId>1</PersonnelProcessId>
              <WorkerName>sample string 9</WorkerName>
              <WorkerSurname>sample string 10</WorkerSurname>
              <WorkerGender>1</WorkerGender>
            </BookingDto>
          </Bookings>
          <NumberOfFreePlaces>5</NumberOfFreePlaces>
        </RoomDto>
        <RoomDto>
          <RoomId>1</RoomId>
          <AccommodationId>2</AccommodationId>
          <Name>sample string 3</Name>
          <NumberOfPlaces>4</NumberOfPlaces>
          <TypeOfBedId>1</TypeOfBedId>
          <GenderRestriction>1</GenderRestriction>
          <Price>1</Price>
          <TypeOfRoomId>1</TypeOfRoomId>
          <Bookings>
            <BookingDto>
              <BookingId>1</BookingId>
              <CreateDate />
              <RoomId>3</RoomId>
              <ProfileId>sample string 4</ProfileId>
              <StartDate />
              <EndDate />
              <ReservationStatus>true</ReservationStatus>
              <CreatedBy>sample string 6</CreatedBy>
              <Comment>sample string 7</Comment>
              <Error>sample string 8</Error>
              <RecruitmentProjectId>1</RecruitmentProjectId>
              <PersonnelProcessId>1</PersonnelProcessId>
              <WorkerName>sample string 9</WorkerName>
              <WorkerSurname>sample string 10</WorkerSurname>
              <WorkerGender>1</WorkerGender>
            </BookingDto>
            <BookingDto>
              <BookingId>1</BookingId>
              <CreateDate />
              <RoomId>3</RoomId>
              <ProfileId>sample string 4</ProfileId>
              <StartDate />
              <EndDate />
              <ReservationStatus>true</ReservationStatus>
              <CreatedBy>sample string 6</CreatedBy>
              <Comment>sample string 7</Comment>
              <Error>sample string 8</Error>
              <RecruitmentProjectId>1</RecruitmentProjectId>
              <PersonnelProcessId>1</PersonnelProcessId>
              <WorkerName>sample string 9</WorkerName>
              <WorkerSurname>sample string 10</WorkerSurname>
              <WorkerGender>1</WorkerGender>
            </BookingDto>
          </Bookings>
          <NumberOfFreePlaces>5</NumberOfFreePlaces>
        </RoomDto>
      </Rooms>
      <AssignOrgUnits>
        <int>1</int>
        <int>2</int>
      </AssignOrgUnits>
      <Images>
        <string>sample string 1</string>
        <string>sample string 2</string>
      </Images>
    </AccommodationDto>
  </Accommodations>
  <Images>
    <string>sample string 1</string>
    <string>sample string 2</string>
  </Images>
  <AdvertisementProviderId>1</AdvertisementProviderId>
  <ProjectForOrgUnitName>sample string 12</ProjectForOrgUnitName>
  <ProjectForOrgUnitId>1</ProjectForOrgUnitId>
  <StartDate />
  <EndDate />
  <TargetBoth>1</TargetBoth>
  <TargetFemale>1</TargetFemale>
  <TargetMale>1</TargetMale>
  <Target>1</Target>
  <WeeklyWorkTimeMin>1</WeeklyWorkTimeMin>
  <WeeklyWorkTimeMax>1</WeeklyWorkTimeMax>
  <GenderRestriction>1</GenderRestriction>
  <MinAge>1</MinAge>
  <MaxAge>1</MaxAge>
  <NationalityForWorkpositions>
    <int>1</int>
    <int>2</int>
  </NationalityForWorkpositions>
  <NationalityForRecruitmentProjects>
    <int>1</int>
    <int>2</int>
  </NationalityForRecruitmentProjects>
  <OrganizationalUnitId>1</OrganizationalUnitId>
  <CurrentBoth>1</CurrentBoth>
  <CurrentFemale>1</CurrentFemale>
  <CurrentMale>1</CurrentMale>
  <HiredCandidates>1</HiredCandidates>
  <Priority>1</Priority>
  <WorkStartDate />
  <WorkEndDate />
  <WasRemoved>true</WasRemoved>
  <MinRateValue>1</MinRateValue>
  <HourRateNettoMin>1</HourRateNettoMin>
  <HourRateNettoMax>1</HourRateNettoMax>
  <HourRateBruttoMin>1</HourRateBruttoMin>
  <HourRateBruttoMax>1</HourRateBruttoMax>
  <MonthRateNettoMin>1</MonthRateNettoMin>
  <MonthRateNettoMax>1</MonthRateNettoMax>
  <MonthRateBruttoMin>1</MonthRateBruttoMin>
  <MonthRateBruttoMax>1</MonthRateBruttoMax>
  <BaseHourRateNetto>1</BaseHourRateNetto>
  <BaseHourRateBrutto>1</BaseHourRateBrutto>
  <BaseMonthRateNetto>1</BaseMonthRateNetto>
  <BaseMonthRateBrutto>1</BaseMonthRateBrutto>
  <MinRateCurrency>1</MinRateCurrency>
  <TypeOfContractId>1</TypeOfContractId>
  <CommuteToWorkId>1</CommuteToWorkId>
  <TransportFromOfficeToWorkPlace>Self</TransportFromOfficeToWorkPlace>
  <TypeOfBoardId>1</TypeOfBoardId>
  <TypeOfWorkerAccommodationId>1</TypeOfWorkerAccommodationId>
  <AllowCouples>true</AllowCouples>
  <AllowBiometricPassport>true</AllowBiometricPassport>
  <CostOfFlat>1</CostOfFlat>
  <AdvGuid>sample string 13</AdvGuid>
  <UserGroups>sample string 14</UserGroups>
  <AssignedRecruitmentProjectAttributes>
    <AssignedRecruitmentProjectAttributeDto>
      <AssignedRecruitmentProjectAttributeId>1</AssignedRecruitmentProjectAttributeId>
      <RecruitmentProjectAttributeId>2</RecruitmentProjectAttributeId>
      <RecruitmentProjectId>3</RecruitmentProjectId>
      <Value>sample string 4</Value>
    </AssignedRecruitmentProjectAttributeDto>
    <AssignedRecruitmentProjectAttributeDto>
      <AssignedRecruitmentProjectAttributeId>1</AssignedRecruitmentProjectAttributeId>
      <RecruitmentProjectAttributeId>2</RecruitmentProjectAttributeId>
      <RecruitmentProjectId>3</RecruitmentProjectId>
      <Value>sample string 4</Value>
    </AssignedRecruitmentProjectAttributeDto>
  </AssignedRecruitmentProjectAttributes>
</AdvertisementDto>