POST api/FP/allow-finger

Request Information

URI Parameters

None.

Body Parameters

StaffVerifyDTO
NameDescriptionTypeAdditional information
StaffNo

string

None.

SinInMode

string

None.

StaffName

string

None.

Request Formats

application/json, text/json

Sample:
{
  "StaffNo": "sample string 1",
  "SinInMode": "sample string 2",
  "StaffName": "sample string 3"
}

application/xml, text/xml

Sample:
<StaffVerifyDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PDAAPI.Controllers">
  <SinInMode>sample string 2</SinInMode>
  <StaffName>sample string 3</StaffName>
  <StaffNo>sample string 1</StaffNo>
</StaffVerifyDTO>

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 'StaffVerifyDTO'.

Response Information

Resource Description

ApiResponse
NameDescriptionTypeAdditional information
status

boolean

None.

message

string

None.

data

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "status": true,
  "message": "sample string 2",
  "data": {}
}

application/xml, text/xml

Sample:
<ApiResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/">
  <data />
  <message>sample string 2</message>
  <status>true</status>
</ApiResponse>