POST api/contacts/{contactId}/experience

Creates a new record for the contact's work experience.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
contactId

globally unique identifier

Required

Body Parameters

CommonApplicationExperience
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

Contact

IdNamePair

None.

Organization

IdNamePair

None.

Employer

string

None.

EmployerPhone

string

None.

StartDate

date

None.

EndDate

date

None.

CurrentPosition

boolean

None.

JobCategory

OptionSetValueModel

None.

ProfessionalLevel

boolean

None.

OtherJobCategory

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": "00000000-0000-0000-0000-000000000000",
  "Contact": null,
  "Organization": {
    "Id": "6ba68c85-3597-4c0d-8818-eb494f0b2932",
    "Name": "sample string 2"
  },
  "Employer": "sample string 1",
  "EmployerPhone": "sample string 2",
  "StartDate": "2024-07-27T07:11:48.4993787+00:00",
  "EndDate": "2024-07-27T07:11:48.4993787+00:00",
  "CurrentPosition": true,
  "JobCategory": {
    "Label": "sample string 1",
    "Value": 2
  },
  "ProfessionalLevel": true,
  "OtherJobCategory": "sample string 5"
}

application/xml, text/xml

Sample:
<CommonApplicationExperience xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HRCI.Services.BL.Models">
  <CurrentPosition>true</CurrentPosition>
  <Employer>sample string 1</Employer>
  <EmployerPhone>sample string 2</EmployerPhone>
  <EndDate>2024-07-27T07:11:48.4993787+00:00</EndDate>
  <JobCategory xmlns:d2p1="http://schemas.datacontract.org/2004/07/HRCI.Services.BL.Models.Helpers">
    <d2p1:Label>sample string 1</d2p1:Label>
    <d2p1:Value>2</d2p1:Value>
  </JobCategory>
  <Organization xmlns:d2p1="http://schemas.datacontract.org/2004/07/HRCI.Services.BL.Models.Helpers">
    <d2p1:Id>6ba68c85-3597-4c0d-8818-eb494f0b2932</d2p1:Id>
    <d2p1:Name>sample string 2</d2p1:Name>
  </Organization>
  <OtherJobCategory>sample string 5</OtherJobCategory>
  <ProfessionalLevel>true</ProfessionalLevel>
  <StartDate>2024-07-27T07:11:48.4993787+00:00</StartDate>
</CommonApplicationExperience>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.