POST api/Country/DeleteCountry

Request Information

URI Parameters

None.

Body Parameters

M_Country
NameDescriptionTypeAdditional information
ID

integer

None.

Country_Name

string

Required

String length: inclusive between 0 and 100

IsActive

boolean

None.

IsDelete

boolean

None.

CreateBy

integer

None.

CreateTime

date

None.

UpdateBy

integer

None.

UpdateTime

date

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "Country_Name": "sample string 2",
  "IsActive": true,
  "IsDelete": true,
  "CreateBy": 4,
  "CreateTime": "2025-12-11T21:27:42.2407024+07:00",
  "UpdateBy": 1,
  "UpdateTime": "2025-12-11T21:27:42.2407024+07:00"
}

application/xml, text/xml

Sample:
<M_Country xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ams_template.Models.DB">
  <Country_Name>sample string 2</Country_Name>
  <CreateBy>4</CreateBy>
  <CreateTime>2025-12-11T21:27:42.2407024+07:00</CreateTime>
  <ID>1</ID>
  <IsActive>true</IsActive>
  <IsDelete>true</IsDelete>
  <UpdateBy>1</UpdateBy>
  <UpdateTime>2025-12-11T21:27:42.2407024+07:00</UpdateTime>
</M_Country>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.