DELETE api/Pension/{employeeNo}/{schemeName}/{joiningDate}
Remove a Pension Scheme from an Employee. A pension can be deleted only if it has never been used. The key for delete is the PensionScheme and the JoiningDate
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
employeeNo |
Employee Number |
string |
Required |
schemeName |
Pension Scheme Name |
string |
Required |
joiningDate |
joining 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>