POST api/Employee1/AddOfficialInformation

Request Information

URI Parameters

None.

Body Parameters

EmployeeOfficialInfo
NameDescriptionTypeAdditional information
user_id

integer

None.

emprole

integer

None.

code

string

None.

firstname

string

None.

lastname

string

None.

userfullname

string

None.

emailaddress

string

None.

contactnumber

string

None.

empipaddress

string

None.

emppassword

string

None.

employeeId

integer

None.

project_id

integer

None.

client_id

integer

None.

modeofentry

string

None.

other_modeofentry

string

None.

date_of_joining

date

None.

str_date_of_joining

string

None.

str_date_of_leaving

string

None.

date_of_leaving

date

None.

reporting_manager

integer

None.

emp_status_id

integer

None.

businessunit_id

integer

None.

department_id

integer

None.

jobtitle_id

integer

None.

position_id

integer

None.

years_exp

string

None.

holiday_group

integer

None.

prefix_id

integer

None.

extension_number

string

None.

office_number

string

None.

office_faxnumber

string

None.

entrycomments

string

None.

rccandidatename

integer

None.

selecteddate

date

None.

candidatereferredby

integer

None.

company_id

integer

None.

profileimg

string

None.

StatusMessage

string

None.

Request Formats

application/json, text/json

Sample:
{
  "user_id": 1,
  "emprole": 2,
  "code": "sample string 3",
  "firstname": "sample string 4",
  "lastname": "sample string 5",
  "userfullname": "sample string 6",
  "emailaddress": "sample string 7",
  "contactnumber": "sample string 8",
  "empipaddress": "sample string 9",
  "emppassword": "sample string 10",
  "employeeId": 11,
  "project_id": 1,
  "client_id": 1,
  "modeofentry": "sample string 12",
  "other_modeofentry": "sample string 13",
  "date_of_joining": "2019-06-18T01:50:23.688-04:00",
  "str_date_of_joining": "sample string 14",
  "str_date_of_leaving": "sample string 15",
  "date_of_leaving": "2019-06-18T01:50:23.688-04:00",
  "reporting_manager": 1,
  "emp_status_id": 1,
  "businessunit_id": 1,
  "department_id": 1,
  "jobtitle_id": 1,
  "position_id": 1,
  "years_exp": "sample string 16",
  "holiday_group": 1,
  "prefix_id": 1,
  "extension_number": "sample string 17",
  "office_number": "sample string 18",
  "office_faxnumber": "sample string 19",
  "entrycomments": "sample string 20",
  "rccandidatename": 1,
  "selecteddate": "2019-06-18T01:50:23.689-04:00",
  "candidatereferredby": 1,
  "company_id": 1,
  "profileimg": "sample string 21",
  "StatusMessage": "sample string 22"
}

text/html

Sample:
{"user_id":1,"emprole":2,"code":"sample string 3","firstname":"sample string 4","lastname":"sample string 5","userfullname":"sample string 6","emailaddress":"sample string 7","contactnumber":"sample string 8","empipaddress":"sample string 9","emppassword":"sample string 10","employeeId":11,"project_id":1,"client_id":1,"modeofentry":"sample string 12","other_modeofentry":"sample string 13","date_of_joining":"2019-06-18T01:50:23.688-04:00","str_date_of_joining":"sample string 14","str_date_of_leaving":"sample string 15","date_of_leaving":"2019-06-18T01:50:23.688-04:00","reporting_manager":1,"emp_status_id":1,"businessunit_id":1,"department_id":1,"jobtitle_id":1,"position_id":1,"years_exp":"sample string 16","holiday_group":1,"prefix_id":1,"extension_number":"sample string 17","office_number":"sample string 18","office_faxnumber":"sample string 19","entrycomments":"sample string 20","rccandidatename":1,"selecteddate":"2019-06-18T01:50:23.689-04:00","candidatereferredby":1,"company_id":1,"profileimg":"sample string 21","StatusMessage":"sample string 22"}

application/xml, text/xml

Sample:
<EmployeeOfficialInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RtsDb.Service.Models.EmployeeImaginaryTables">
  <StatusMessage>sample string 22</StatusMessage>
  <businessunit_id>1</businessunit_id>
  <candidatereferredby>1</candidatereferredby>
  <client_id>1</client_id>
  <code>sample string 3</code>
  <company_id>1</company_id>
  <contactnumber>sample string 8</contactnumber>
  <date_of_joining>2019-06-18T01:50:23.688-04:00</date_of_joining>
  <date_of_leaving>2019-06-18T01:50:23.688-04:00</date_of_leaving>
  <department_id>1</department_id>
  <emailaddress>sample string 7</emailaddress>
  <emp_status_id>1</emp_status_id>
  <empipaddress>sample string 9</empipaddress>
  <employeeId>11</employeeId>
  <emppassword>sample string 10</emppassword>
  <emprole>2</emprole>
  <entrycomments>sample string 20</entrycomments>
  <extension_number>sample string 17</extension_number>
  <firstname>sample string 4</firstname>
  <holiday_group>1</holiday_group>
  <jobtitle_id>1</jobtitle_id>
  <lastname>sample string 5</lastname>
  <modeofentry>sample string 12</modeofentry>
  <office_faxnumber>sample string 19</office_faxnumber>
  <office_number>sample string 18</office_number>
  <other_modeofentry>sample string 13</other_modeofentry>
  <position_id>1</position_id>
  <prefix_id>1</prefix_id>
  <profileimg>sample string 21</profileimg>
  <project_id>1</project_id>
  <rccandidatename>1</rccandidatename>
  <reporting_manager>1</reporting_manager>
  <selecteddate>2019-06-18T01:50:23.689-04:00</selecteddate>
  <str_date_of_joining>sample string 14</str_date_of_joining>
  <str_date_of_leaving>sample string 15</str_date_of_leaving>
  <user_id>1</user_id>
  <userfullname>sample string 6</userfullname>
  <years_exp>sample string 16</years_exp>
</EmployeeOfficialInfo>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'EmployeeOfficialInfo'.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.