PUT api/ApplicationContractTrainee/UnDelete/{id}
Undelete an ApplicationContractTrainee record and mark all other ApplicationContractTrainee records with the SubTraineeID matching the SubTraineeID from the undeleted record.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
Id of the ApplicationContractTrainee record to be undeleted |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
id of the ApplicationContractTrainee record that was undeleted
StatusDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
None. |
|
| msg | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"id": 1,
"msg": "sample string 1"
}
text/html
Sample:
{"id":1,"msg":"sample string 1"}
application/xml, text/xml
Sample:
<StatusDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TrainingFundREST._DAL"> <id>1</id> <msg>sample string 1</msg> </StatusDTO>