GET api/v1/NFStaff/Staff?staffid={staffid}
Query staff information for a specific Neutral Fuels staff member.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| staffid | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
api_GetNFStaff_Result| Name | Description | Type | Additional information |
|---|---|---|---|
| staffid | integer |
None. |
|
| employeeid | integer |
None. |
|
| firstname | string |
None. |
|
| lastname | string |
None. |
|
| siteid | globally unique identifier |
None. |
|
| designationid | integer |
None. |
|
| isicollectuser | boolean |
None. |
|
| contracthours | decimal number |
None. |
|
| callingname | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"staffid": 1,
"employeeid": 2,
"firstname": "sample string 3",
"lastname": "sample string 4",
"siteid": "390efe11-05a2-4afd-8d5c-278e2daa1814",
"designationid": 1,
"isicollectuser": true,
"contracthours": 1.0,
"callingname": "sample string 6"
}
application/xml, text/xml
Sample:
<api_GetNFStaff_Result xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NFuels_Database.database.portal"> <callingname>sample string 6</callingname> <contracthours>1</contracthours> <designationid>1</designationid> <employeeid>2</employeeid> <firstname>sample string 3</firstname> <isicollectuser>true</isicollectuser> <lastname>sample string 4</lastname> <siteid>390efe11-05a2-4afd-8d5c-278e2daa1814</siteid> <staffid>1</staffid> </api_GetNFStaff_Result>