POST api/HGFillin/DeleteFillin
It is used to delete selected fillins
Request Information
URI Parameters
None.
Body Parameters
Collection of UserDefinedFillin| Name | Description | Type | Additional information |
|---|---|---|---|
| EmpID |
It represents the employee id who added the fillin |
integer |
None. |
| DeptID |
It represents the DeptID that employee belongs to. ex. P means Property, R means Roof, T means Termite |
string |
None. |
| Word |
It represents the word which actual fillin name |
string |
None. |
Request Formats
application/json
Sample:
[
{
"EmpID": 1,
"Word": "sample string 3",
"DeptID": "sample string 2"
},
{
"EmpID": 1,
"Word": "sample string 3",
"DeptID": "sample string 2"
}
]
application/xml, text/xml
Sample:
<ArrayOfUserDefinedFillin xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HomeguardApp.BusinessObjects.Shared">
<UserDefinedFillin>
<DeptID>sample string 2</DeptID>
<EmpID>1</EmpID>
<Word>sample string 3</Word>
</UserDefinedFillin>
<UserDefinedFillin>
<DeptID>sample string 2</DeptID>
<EmpID>1</EmpID>
<Word>sample string 3</Word>
</UserDefinedFillin>
</ArrayOfUserDefinedFillin>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
It is used to delete selected fillins
ResponseStatusModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Status |
It represents the status of current API call. status can be either "success" or "failed" |
string |
None. |
| Message |
It represents the some description about the API response. |
string |
None. |
Response Formats
application/json
Sample:
{
"Message": "sample string 2",
"Status": "sample string 1"
}
application/xml, text/xml
Sample:
<ResponseStatusModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HomeguardApp.Models"> <Message>sample string 2</Message> <Status>sample string 1</Status> </ResponseStatusModel>