Home / API / ASP.NET Web API Details

GET api/v1/Setup/GetEmployeeByEmployeeId?employeeid={employeeid}

Description

Get Employee Info By Employee Id

Request Information

Parameters

NameDescriptionAdditional information
employeeid
Employee Id

Define this parameter in the request URI.

Response Information

Employee Information

Response body formats

application/json, text/json

Sample:
{
  "employeeid": 1,
  "employeenumber": "sample string 2",
  "companyid": 3,
  "contactid": 4,
  "addressid": 5,
  "isactive": true,
  "lcid": 7,
  "languageid": 8,
  "hiredate": "2025-02-23T06:27:59.353679+00:00",
  "termdate": "2025-02-23T06:27:59.353679+00:00",
  "istechnician": true,
  "sendtohandheld": true,
  "billablerateid": 11,
  "utctimestamp": "2025-02-23T06:27:59.353679+00:00",
  "utclastchanged": "2025-02-23T06:27:59.353679+00:00",
  "lastchangedby": "sample string 13",
  "idcardnum": "sample string 14",
  "mobilephonenum": "sample string 15",
  "commprodroleid": 16,
  "commsalesroleid": 17,
  "hourlyrate": 18.0,
  "overtimerate": 19.0,
  "supervisorid": 20,
  "certificationnum": "sample string 21",
  "loginid": 22,
  "empdrawamount": 23.0,
  "emptitleid": 24,
  "salary": 25.0,
  "notes": "sample string 26",
  "equipmentid": 27,
  "additionalphone": "sample string 28",
  "birthdate": "2025-02-23T06:27:59.353679+00:00",
  "ssn": "sample string 29",
  "equiptmentid": 30,
  "overtimehour": 31.0,
  "vieworder": 32,
  "issales": true,
  "budgetgoal": 1,
  "isservicecenteremployee": true,
  "sortorder": 34,
  "fromjde": true,
  "employeeprofile": "sample string 36",
  "firstname": "sample string 37",
  "lastname": "sample string 38",
  "category": "sample string 39"
}

application/xml, text/xml

Sample:
<setupemployeemodel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APICOMMON">
  <additionalphone>sample string 28</additionalphone>
  <addressid>5</addressid>
  <billablerateid>11</billablerateid>
  <birthdate>2025-02-23T06:27:59.353679+00:00</birthdate>
  <budgetgoal>1</budgetgoal>
  <category>sample string 39</category>
  <certificationnum>sample string 21</certificationnum>
  <commprodroleid>16</commprodroleid>
  <commsalesroleid>17</commsalesroleid>
  <companyid>3</companyid>
  <contactid>4</contactid>
  <empdrawamount>23</empdrawamount>
  <employeeid>1</employeeid>
  <employeenumber>sample string 2</employeenumber>
  <employeeprofile>sample string 36</employeeprofile>
  <emptitleid>24</emptitleid>
  <equipmentid>27</equipmentid>
  <equiptmentid>30</equiptmentid>
  <firstname>sample string 37</firstname>
  <fromjde>true</fromjde>
  <hiredate>2025-02-23T06:27:59.353679+00:00</hiredate>
  <hourlyrate>18</hourlyrate>
  <idcardnum>sample string 14</idcardnum>
  <isactive>true</isactive>
  <issales>true</issales>
  <isservicecenteremployee>true</isservicecenteremployee>
  <istechnician>true</istechnician>
  <languageid>8</languageid>
  <lastchangedby>sample string 13</lastchangedby>
  <lastname>sample string 38</lastname>
  <lcid>7</lcid>
  <loginid>22</loginid>
  <mobilephonenum>sample string 15</mobilephonenum>
  <notes>sample string 26</notes>
  <overtimehour>31</overtimehour>
  <overtimerate>19</overtimerate>
  <salary>25</salary>
  <sendtohandheld>true</sendtohandheld>
  <sortorder>34</sortorder>
  <ssn>sample string 29</ssn>
  <supervisorid>20</supervisorid>
  <termdate>2025-02-23T06:27:59.353679+00:00</termdate>
  <utclastchanged>2025-02-23T06:27:59.353679+00:00</utclastchanged>
  <utctimestamp>2025-02-23T06:27:59.353679+00:00</utctimestamp>
  <vieworder>32</vieworder>
</setupemployeemodel>