DELETE api/HolidayScheme/{employeeNo}/{schemeName}/{effectiveDate}
Remove holiday scheme details from an Employee. A holiday Scheme may be deleted if it is the current record and has not been committed against a previous period. The key is the SchemeName and EffectiveDate.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
employeeNo |
Employee Number |
string |
Required |
schemeName |
Scheme Name |
string |
Required |
effectiveDate |
Effective Date in the format dd-MM-yyyy |
date |
Required |
Body Parameters
None.
Response Information
Resource Description
Result
ResultWithMessageName | Description | Type | Additional information |
---|---|---|---|
result |
'OK', 'Error' |
string |
None. |
message |
Returns if result is Error |
string |
None. |
returnValue | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "result": "OK" } { "result": "Error", "message": "Unable to save: the..." }
application/xml, text/xml
Sample:
<ResultWithMessage> <result>OK</result> </ResultWithMessage> <ResultWithMessage> <result>Error</result> <message>Unable to save: the...</message> </ResultWithMessage>