POST api/PersonnelAPI/DeleteEmployee

删除员工信息

Request Information

URI Parameters

None.

Body Parameters

EntityForDelete
NameDescriptionTypeAdditional information
GID

globally unique identifier

None.

Request Formats

application/json, text/json

Sample:
{
  "GID": "c8462782-ecec-4c87-9e8d-d87fd765c258"
}

application/xml, text/xml

Sample:
<EntityForDelete xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JetHR.OpenAPI.Model">
  <GID>c8462782-ecec-4c87-9e8d-d87fd765c258</GID>
</EntityForDelete>

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

Response Information

Resource Description

删除员工信息

string

Response Formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>