DELETE api/StateMasters/DeleteStateMaster/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
StateMaster| Name | Description | Type | Additional information |
|---|---|---|---|
| StateId | integer |
None. |
|
| StateName | string |
None. |
|
| CountryId | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"StateId": 1,
"StateName": "sample string 2",
"CountryId": 1
}
application/xml, text/xml
Sample:
<StateMaster xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ItemMasterDemoAPI"> <CountryId>1</CountryId> <StateId>1</StateId> <StateName>sample string 2</StateName> </StateMaster>