POST api/FP/enroll-staff
Request Information
URI Parameters
None.
Body Parameters
StaffEnrollDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| StaffNo | string |
None. |
|
| ByteString | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"StaffNo": "sample string 1",
"ByteString": "sample string 2"
}
application/xml, text/xml
Sample:
<StaffEnrollDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PDAAPI.Controllers"> <ByteString>sample string 2</ByteString> <StaffNo>sample string 1</StaffNo> </StaffEnrollDTO>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
ApiResponse| Name | Description | Type | Additional 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>