POST api/DeleteDocument
Delete document
Request Information
Payload
Name | Payload Parameters | Additional information |
---|---|---|
Parameters |
int Personnel_Number string DocumentGUID |
None. |
Within the header of the post request please add "Accept" with one of the following values "application/json", "application/xml", "application/html"
Within the body of the request the following payload must be added. The parameters differ per method but the xml structure remains the same for all methods. Add the parameters below into the Parameters section of the xml. Please note that the xml for the body has a tag called Header this is not the same as the request header.
<CivicaHRPWebApi>
<Header>
<InvokeType>Test</InvokeType>
<Application>HR Unity Online</Application>
<Licence>Valid Developer Licence</Licence>
<LoggedInUser></LoggedInUser>
<UserKey></UserKey>
</Header>
<Parameters>
Appropriate parameters
</Parameters>
</CivicaHRPWebApi>
Delete document
Name | Payload Parameters | Additional information |
---|---|---|
Parameters |
int Personnel_Number string DocumentGUID |
None. |