POST api/Employee/PostPersonAddressDetails

Request Information

URI Parameters

None.

Body Parameters

AddressViewModel
NameDescriptionTypeAdditional information
AddressID

integer

None.

Address1

string

None.

Address2

string

None.

City

string

None.

StateID

integer

None.

CountryID

integer

None.

PinCode

string

None.

EmployeeID

integer

None.

ContactTypeId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "AddressID": 1,
  "Address1": "sample string 1",
  "Address2": "sample string 2",
  "City": "sample string 3",
  "StateID": 1,
  "CountryID": 1,
  "PinCode": "sample string 4",
  "EmployeeID": 5,
  "ContactTypeId": 6
}

application/xml, text/xml

Sample:
<AddressViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HRMSWebAPI.Transaction.Employee">
  <Address1>sample string 1</Address1>
  <Address2>sample string 2</Address2>
  <AddressID>1</AddressID>
  <City>sample string 3</City>
  <ContactTypeId>6</ContactTypeId>
  <CountryID>1</CountryID>
  <EmployeeID>5</EmployeeID>
  <PinCode>sample string 4</PinCode>
  <StateID>1</StateID>
</AddressViewModel>

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.