POST api/TourCompany/DeleteTourCompany

Request Information

URI Parameters

None.

Body Parameters

M_TourCompany
NameDescriptionTypeAdditional information
ID

integer

None.

TourCompany_Name

string

Required

String length: inclusive between 0 and 250

Customer_Code

string

Required

String length: inclusive between 0 and 50

TaxID

string

Required

String length: inclusive between 0 and 13

Address

string

None.

Tel

string

String length: inclusive between 0 and 20

KeepBack

string

String length: inclusive between 0 and 3

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,
  "TourCompany_Name": "sample string 2",
  "Customer_Code": "sample string 3",
  "TaxID": "sample string 4",
  "Address": "sample string 5",
  "Tel": "sample string 6",
  "KeepBack": "sample string 7",
  "IsActive": true,
  "IsDelete": true,
  "CreateBy": 9,
  "CreateTime": "2025-12-11T21:28:59.0605301+07:00",
  "UpdateBy": 1,
  "UpdateTime": "2025-12-11T21:28:59.0605301+07:00"
}

application/xml, text/xml

Sample:
<M_TourCompany xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ams_template.Models.DB">
  <Address>sample string 5</Address>
  <CreateBy>9</CreateBy>
  <CreateTime>2025-12-11T21:28:59.0605301+07:00</CreateTime>
  <Customer_Code>sample string 3</Customer_Code>
  <ID>1</ID>
  <IsActive>true</IsActive>
  <IsDelete>true</IsDelete>
  <KeepBack>sample string 7</KeepBack>
  <TaxID>sample string 4</TaxID>
  <Tel>sample string 6</Tel>
  <TourCompany_Name>sample string 2</TourCompany_Name>
  <UpdateBy>1</UpdateBy>
  <UpdateTime>2025-12-11T21:28:59.0605301+07:00</UpdateTime>
</M_TourCompany>

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.