POST api/Employee/PostPersonContactDetails

Request Information

URI Parameters

None.

Body Parameters

ContactViewModel
NameDescriptionTypeAdditional information
ContactID

integer

None.

Phone

string

None.

PhoneTypeID

integer

None.

CountryCode

integer

None.

EmailID

string

None.

EmployeeID

integer

None.

Extension

string

None.

ContactTypeId

integer

None.

Mobile

string

None.

Fax

string

None.

PhoneCountryCode

integer

None.

MobileCountryCode

integer

None.

FaxCountryCode

integer

None.

PhoneContactID

integer

None.

MobileContactID

integer

None.

FaxContactID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "ContactID": 1,
  "Phone": "sample string 2",
  "PhoneTypeID": 3,
  "CountryCode": 1,
  "EmailID": "sample string 4",
  "EmployeeID": 5,
  "Extension": "sample string 6",
  "ContactTypeId": 7,
  "Mobile": "sample string 8",
  "Fax": "sample string 9",
  "PhoneCountryCode": 1,
  "MobileCountryCode": 1,
  "FaxCountryCode": 1,
  "PhoneContactID": 10,
  "MobileContactID": 11,
  "FaxContactID": 12
}

application/xml, text/xml

Sample:
<ContactViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HRMSWebAPI.Transaction.Employee">
  <ContactID>1</ContactID>
  <ContactTypeId>7</ContactTypeId>
  <CountryCode>1</CountryCode>
  <EmailID>sample string 4</EmailID>
  <EmployeeID>5</EmployeeID>
  <Extension>sample string 6</Extension>
  <Fax>sample string 9</Fax>
  <FaxContactID>12</FaxContactID>
  <FaxCountryCode>1</FaxCountryCode>
  <Mobile>sample string 8</Mobile>
  <MobileContactID>11</MobileContactID>
  <MobileCountryCode>1</MobileCountryCode>
  <Phone>sample string 2</Phone>
  <PhoneContactID>10</PhoneContactID>
  <PhoneCountryCode>1</PhoneCountryCode>
  <PhoneTypeID>3</PhoneTypeID>
</ContactViewModel>

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.