POST api/Kandidat/Interesse/Gast

Request Information

URI Parameters

None.

Body Parameters

InterestedInCandidateGuestModel
NameDescriptionTypeAdditional information
WebzielKey

integer

Required

Notes

string

None.

Email

string

None.

PhoneNumber

PhoneNumberModel

None.

FirstName

string

None.

LastName

string

None.

Company

string

None.

City

string

None.

ZipCode

string

None.

SexCode

SexCodeEnum

None.

AcquiKey

integer

None.

ContactPersonId

integer

None.

CountryKey

integer

None.

CityKey

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "WebzielKey": 1,
  "Notes": "sample string 2",
  "Email": "sample string 3",
  "PhoneNumber": {
    "CountryKey": 1,
    "AreaCode": "sample string 2",
    "Number": "sample string 3"
  },
  "FirstName": "sample string 4",
  "LastName": "sample string 5",
  "Company": "sample string 6",
  "City": "sample string 7",
  "ZipCode": "sample string 8",
  "SexCode": 1,
  "AcquiKey": 1,
  "ContactPersonId": 1,
  "CountryKey": 1,
  "CityKey": 1
}

text/html

Sample:
{"WebzielKey":1,"Notes":"sample string 2","Email":"sample string 3","PhoneNumber":{"CountryKey":1,"AreaCode":"sample string 2","Number":"sample string 3"},"FirstName":"sample string 4","LastName":"sample string 5","Company":"sample string 6","City":"sample string 7","ZipCode":"sample string 8","SexCode":1,"AcquiKey":1,"ContactPersonId":1,"CountryKey":1,"CityKey":1}

application/xml, text/xml

Sample:
<InterestedInCandidateGuestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/StarJob.Bll.InterestedIn.Models">
  <AcquiKey>1</AcquiKey>
  <City>sample string 7</City>
  <CityKey>1</CityKey>
  <Company>sample string 6</Company>
  <ContactPersonId>1</ContactPersonId>
  <CountryKey>1</CountryKey>
  <Email>sample string 3</Email>
  <FirstName>sample string 4</FirstName>
  <LastName>sample string 5</LastName>
  <Notes>sample string 2</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>
  <WebzielKey>1</WebzielKey>
  <ZipCode>sample string 8</ZipCode>
</InterestedInCandidateGuestModel>

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.