POST api/Vakanz/Interesse/Gast

Request Information

URI Parameters

None.

Body Parameters

InterestedInVacancyGuestPostModel
NameDescriptionTypeAdditional information
LastName

string

None.

FirstName

string

None.

CitizenshipCountryKey

integer

None.

PhoneNumber

PhoneNumberModel

None.

Email

string

None.

ZipCode

string

None.

City

string

None.

CityKey

integer

None.

ForeignNationalIdentityCardType

integer

None.

Birthdate

date

None.

SexCode

SexCodeEnum

None.

Notes

string

None.

VacancyId

integer

None.

CountryKey

integer

None.

AcquiKey

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "LastName": "sample string 1",
  "FirstName": "sample string 2",
  "CitizenshipCountryKey": 3,
  "PhoneNumber": {
    "CountryKey": 1,
    "AreaCode": "sample string 2",
    "Number": "sample string 3"
  },
  "Email": "sample string 4",
  "ZipCode": "sample string 5",
  "City": "sample string 6",
  "CityKey": 1,
  "ForeignNationalIdentityCardType": 1,
  "Birthdate": "2025-04-30T06:56:56.8127765+00:00",
  "SexCode": 1,
  "Notes": "sample string 7",
  "VacancyId": 8,
  "CountryKey": 9,
  "AcquiKey": 10
}

text/html

Sample:
{"LastName":"sample string 1","FirstName":"sample string 2","CitizenshipCountryKey":3,"PhoneNumber":{"CountryKey":1,"AreaCode":"sample string 2","Number":"sample string 3"},"Email":"sample string 4","ZipCode":"sample string 5","City":"sample string 6","CityKey":1,"ForeignNationalIdentityCardType":1,"Birthdate":"2025-04-30T06:56:56.8127765+00:00","SexCode":1,"Notes":"sample string 7","VacancyId":8,"CountryKey":9,"AcquiKey":10}

application/xml, text/xml

Sample:
<InterestedInVacancyGuestPostModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/StarJob.Bll.InterestedIn.Models">
  <AcquiKey>10</AcquiKey>
  <Birthdate>2025-04-30T06:56:56.8127765+00:00</Birthdate>
  <CitizenshipCountryKey>3</CitizenshipCountryKey>
  <City>sample string 6</City>
  <CityKey>1</CityKey>
  <CountryKey>9</CountryKey>
  <Email>sample string 4</Email>
  <FirstName>sample string 2</FirstName>
  <ForeignNationalIdentityCardType>1</ForeignNationalIdentityCardType>
  <LastName>sample string 1</LastName>
  <Notes>sample string 7</Notes>
  <PhoneNumber xmlns:d2p1="http://schemas.datacontract.org/2004/07/StarJob.Common.Models">
    <d2p1:AreaCode>sample string 2</d2p1:AreaCode>
    <d2p1:CountryKey>1</d2p1:CountryKey>
    <d2p1:Number>sample string 3</d2p1:Number>
  </PhoneNumber>
  <SexCode>Female</SexCode>
  <VacancyId>8</VacancyId>
  <ZipCode>sample string 5</ZipCode>
</InterestedInVacancyGuestPostModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, text/html, application/xml, text/xml

Sample:

Sample not available.