POST api/RSRT/DeleteRSRT
Request Information
URI Parameters
None.
Body Parameters
RSRTModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Products | Collection of ProductModel |
None. |
|
| TourLeaders | Collection of T_TourLeader |
None. |
|
| Guides | Collection of T_Guide |
None. |
|
| OrderStatuses | Collection of OrderStatusModel |
None. |
|
| CompanyName | string |
None. |
|
| CountryName | string |
None. |
|
| CurrentStatus | string |
None. |
|
| ID | globally unique identifier |
None. |
|
| DocNo | string |
Required String length: inclusive between 0 and 12 |
|
| PlaceID | integer |
None. |
|
| ReservationsDate | date |
None. |
|
| CompanyID | integer |
None. |
|
| CountryID | integer |
None. |
|
| CarTypeID | integer |
None. |
|
| CarNumber | string |
String length: inclusive between 0 and 50 |
|
| TourLeaderNumber | integer |
None. |
|
| GuidNumber | integer |
None. |
|
| MealTime | time interval |
None. |
|
| NotYetPaid | boolean |
None. |
|
| PaymentTypeCash | decimal number |
None. |
|
| PaymentTypeVoucher | decimal number |
None. |
|
| PaymentTypeDeposit | decimal number |
None. |
|
| Total | decimal number |
None. |
|
| CreateBy | integer |
None. |
|
| CreateTime | date |
None. |
|
| UpdateBy | integer |
None. |
|
| UpdateTime | date |
None. |
|
| IsDelete | boolean |
None. |
|
| PaymentTypeID | integer |
None. |
|
| TourTypeID | integer |
None. |
|
| GroupCode | string |
String length: inclusive between 0 and 50 |
|
| PassID | string |
String length: inclusive between 0 and 50 |
|
| VoucherID | string |
String length: inclusive between 0 and 50 |
|
| PaymentTypeTranfer | decimal number |
None. |
|
| TaxInvoiceNumber | string |
String length: inclusive between 0 and 12 |
|
| TaxInvoiceDate | date |
None. |
|
| CancelRemark | string |
None. |
|
| IsPaymented | boolean |
None. |
|
| PaymentedTime | date |
None. |
|
| Remark | string |
None. |
|
| MarkPaymentedBy | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"Products": [
{
"Product": {
"ID": 1,
"Place_ID": 2,
"ProductType_ID": "sample string 3",
"Product_Name": "sample string 4",
"PaymentType": "sample string 5",
"Price": 6.0,
"CreateBy": 7,
"CreateTime": "2025-12-11T21:27:14.1696844+07:00",
"UpdateBy": 1,
"UpdateTime": "2025-12-11T21:27:14.1696844+07:00",
"IsActive": true,
"IsDelete": true
},
"ID": "65091749-c596-459d-8395-adde6c21ff67",
"ProductID": 2,
"Amount": 3,
"Price": 4.0,
"Total": 5.0,
"CreateBy": 6,
"CreateTime": "2025-12-11T21:27:14.1696844+07:00",
"UpdateBy": 1,
"UpdateTime": "2025-12-11T21:27:14.1696844+07:00",
"IsDelete": true,
"RSRT_ID": "16f25074-f748-45e0-9a09-0ac2c9bb331d"
},
{
"Product": {
"ID": 1,
"Place_ID": 2,
"ProductType_ID": "sample string 3",
"Product_Name": "sample string 4",
"PaymentType": "sample string 5",
"Price": 6.0,
"CreateBy": 7,
"CreateTime": "2025-12-11T21:27:14.1696844+07:00",
"UpdateBy": 1,
"UpdateTime": "2025-12-11T21:27:14.1696844+07:00",
"IsActive": true,
"IsDelete": true
},
"ID": "65091749-c596-459d-8395-adde6c21ff67",
"ProductID": 2,
"Amount": 3,
"Price": 4.0,
"Total": 5.0,
"CreateBy": 6,
"CreateTime": "2025-12-11T21:27:14.1696844+07:00",
"UpdateBy": 1,
"UpdateTime": "2025-12-11T21:27:14.1696844+07:00",
"IsDelete": true,
"RSRT_ID": "16f25074-f748-45e0-9a09-0ac2c9bb331d"
}
],
"TourLeaders": [
{
"ID": "e6145c3c-0559-489e-a3a0-2192110e602c",
"Tour_Leader_Name": "sample string 2",
"Tel": "sample string 3",
"RSRT_ID": "ed5a4ec0-888f-4a8a-a67f-9c4d740d5829"
},
{
"ID": "e6145c3c-0559-489e-a3a0-2192110e602c",
"Tour_Leader_Name": "sample string 2",
"Tel": "sample string 3",
"RSRT_ID": "ed5a4ec0-888f-4a8a-a67f-9c4d740d5829"
}
],
"Guides": [
{
"ID": "1f51dbed-216a-42c8-a459-3e514b757e5d",
"Guide_Name": "sample string 2",
"Tel": "sample string 3",
"RSRT_ID": "9e047ac3-988f-46b1-8284-26db4cdf769a"
},
{
"ID": "1f51dbed-216a-42c8-a459-3e514b757e5d",
"Guide_Name": "sample string 2",
"Tel": "sample string 3",
"RSRT_ID": "9e047ac3-988f-46b1-8284-26db4cdf769a"
}
],
"OrderStatuses": [
{
"StatusName": "sample string 1",
"StatusByName": "sample string 2",
"ID": "21c837f9-a9fc-4fe0-a663-de254e6035ca",
"OrderStatus_ID": 4,
"CreateBy": 5,
"CreateTime": "2025-12-11T21:27:14.1696844+07:00",
"RSRT_ID": "660ba197-6905-4f64-8064-ed633252f3d0"
},
{
"StatusName": "sample string 1",
"StatusByName": "sample string 2",
"ID": "21c837f9-a9fc-4fe0-a663-de254e6035ca",
"OrderStatus_ID": 4,
"CreateBy": 5,
"CreateTime": "2025-12-11T21:27:14.1696844+07:00",
"RSRT_ID": "660ba197-6905-4f64-8064-ed633252f3d0"
}
],
"CompanyName": "sample string 1",
"CountryName": "sample string 2",
"CurrentStatus": "sample string 3",
"ID": "06cb7fd4-dd31-43aa-927f-81860eec81f9",
"DocNo": "sample string 5",
"PlaceID": 6,
"ReservationsDate": "2025-12-11T21:27:14.1696844+07:00",
"CompanyID": 7,
"CountryID": 8,
"CarTypeID": 1,
"CarNumber": "sample string 9",
"TourLeaderNumber": 1,
"GuidNumber": 1,
"MealTime": "00:00:00.1234567",
"NotYetPaid": true,
"PaymentTypeCash": 1.0,
"PaymentTypeVoucher": 1.0,
"PaymentTypeDeposit": 1.0,
"Total": 10.0,
"CreateBy": 11,
"CreateTime": "2025-12-11T21:27:14.1696844+07:00",
"UpdateBy": 1,
"UpdateTime": "2025-12-11T21:27:14.1696844+07:00",
"IsDelete": true,
"PaymentTypeID": 1,
"TourTypeID": 1,
"GroupCode": "sample string 13",
"PassID": "sample string 14",
"VoucherID": "sample string 15",
"PaymentTypeTranfer": 1.0,
"TaxInvoiceNumber": "sample string 16",
"TaxInvoiceDate": "2025-12-11T21:27:14.1696844+07:00",
"CancelRemark": "sample string 17",
"IsPaymented": true,
"PaymentedTime": "2025-12-11T21:27:14.1696844+07:00",
"Remark": "sample string 18",
"MarkPaymentedBy": 1
}
application/xml, text/xml
Sample:
<RSRTModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ams_template.Models.CustomModel">
<CancelRemark xmlns="http://schemas.datacontract.org/2004/07/ams_template.Models.DB">sample string 17</CancelRemark>
<CarNumber xmlns="http://schemas.datacontract.org/2004/07/ams_template.Models.DB">sample string 9</CarNumber>
<CarTypeID xmlns="http://schemas.datacontract.org/2004/07/ams_template.Models.DB">1</CarTypeID>
<CompanyID xmlns="http://schemas.datacontract.org/2004/07/ams_template.Models.DB">7</CompanyID>
<CountryID xmlns="http://schemas.datacontract.org/2004/07/ams_template.Models.DB">8</CountryID>
<CreateBy xmlns="http://schemas.datacontract.org/2004/07/ams_template.Models.DB">11</CreateBy>
<CreateTime xmlns="http://schemas.datacontract.org/2004/07/ams_template.Models.DB">2025-12-11T21:27:14.1696844+07:00</CreateTime>
<DocNo xmlns="http://schemas.datacontract.org/2004/07/ams_template.Models.DB">sample string 5</DocNo>
<GroupCode xmlns="http://schemas.datacontract.org/2004/07/ams_template.Models.DB">sample string 13</GroupCode>
<GuidNumber xmlns="http://schemas.datacontract.org/2004/07/ams_template.Models.DB">1</GuidNumber>
<ID xmlns="http://schemas.datacontract.org/2004/07/ams_template.Models.DB">06cb7fd4-dd31-43aa-927f-81860eec81f9</ID>
<IsDelete xmlns="http://schemas.datacontract.org/2004/07/ams_template.Models.DB">true</IsDelete>
<IsPaymented xmlns="http://schemas.datacontract.org/2004/07/ams_template.Models.DB">true</IsPaymented>
<MarkPaymentedBy xmlns="http://schemas.datacontract.org/2004/07/ams_template.Models.DB">1</MarkPaymentedBy>
<MealTime xmlns="http://schemas.datacontract.org/2004/07/ams_template.Models.DB">PT0.1234567S</MealTime>
<NotYetPaid xmlns="http://schemas.datacontract.org/2004/07/ams_template.Models.DB">true</NotYetPaid>
<PassID xmlns="http://schemas.datacontract.org/2004/07/ams_template.Models.DB">sample string 14</PassID>
<PaymentTypeCash xmlns="http://schemas.datacontract.org/2004/07/ams_template.Models.DB">1</PaymentTypeCash>
<PaymentTypeDeposit xmlns="http://schemas.datacontract.org/2004/07/ams_template.Models.DB">1</PaymentTypeDeposit>
<PaymentTypeID xmlns="http://schemas.datacontract.org/2004/07/ams_template.Models.DB">1</PaymentTypeID>
<PaymentTypeTranfer xmlns="http://schemas.datacontract.org/2004/07/ams_template.Models.DB">1</PaymentTypeTranfer>
<PaymentTypeVoucher xmlns="http://schemas.datacontract.org/2004/07/ams_template.Models.DB">1</PaymentTypeVoucher>
<PaymentedTime xmlns="http://schemas.datacontract.org/2004/07/ams_template.Models.DB">2025-12-11T21:27:14.1696844+07:00</PaymentedTime>
<PlaceID xmlns="http://schemas.datacontract.org/2004/07/ams_template.Models.DB">6</PlaceID>
<Remark xmlns="http://schemas.datacontract.org/2004/07/ams_template.Models.DB">sample string 18</Remark>
<ReservationsDate xmlns="http://schemas.datacontract.org/2004/07/ams_template.Models.DB">2025-12-11T21:27:14.1696844+07:00</ReservationsDate>
<TaxInvoiceDate xmlns="http://schemas.datacontract.org/2004/07/ams_template.Models.DB">2025-12-11T21:27:14.1696844+07:00</TaxInvoiceDate>
<TaxInvoiceNumber xmlns="http://schemas.datacontract.org/2004/07/ams_template.Models.DB">sample string 16</TaxInvoiceNumber>
<Total xmlns="http://schemas.datacontract.org/2004/07/ams_template.Models.DB">10</Total>
<TourLeaderNumber xmlns="http://schemas.datacontract.org/2004/07/ams_template.Models.DB">1</TourLeaderNumber>
<TourTypeID xmlns="http://schemas.datacontract.org/2004/07/ams_template.Models.DB">1</TourTypeID>
<UpdateBy xmlns="http://schemas.datacontract.org/2004/07/ams_template.Models.DB">1</UpdateBy>
<UpdateTime xmlns="http://schemas.datacontract.org/2004/07/ams_template.Models.DB">2025-12-11T21:27:14.1696844+07:00</UpdateTime>
<VoucherID xmlns="http://schemas.datacontract.org/2004/07/ams_template.Models.DB">sample string 15</VoucherID>
<CompanyName>sample string 1</CompanyName>
<CountryName>sample string 2</CountryName>
<CurrentStatus>sample string 3</CurrentStatus>
<Guides xmlns:d2p1="http://schemas.datacontract.org/2004/07/ams_template.Models.DB">
<d2p1:T_Guide>
<d2p1:Guide_Name>sample string 2</d2p1:Guide_Name>
<d2p1:ID>1f51dbed-216a-42c8-a459-3e514b757e5d</d2p1:ID>
<d2p1:RSRT_ID>9e047ac3-988f-46b1-8284-26db4cdf769a</d2p1:RSRT_ID>
<d2p1:Tel>sample string 3</d2p1:Tel>
</d2p1:T_Guide>
<d2p1:T_Guide>
<d2p1:Guide_Name>sample string 2</d2p1:Guide_Name>
<d2p1:ID>1f51dbed-216a-42c8-a459-3e514b757e5d</d2p1:ID>
<d2p1:RSRT_ID>9e047ac3-988f-46b1-8284-26db4cdf769a</d2p1:RSRT_ID>
<d2p1:Tel>sample string 3</d2p1:Tel>
</d2p1:T_Guide>
</Guides>
<OrderStatuses>
<OrderStatusModel>
<CreateBy xmlns="http://schemas.datacontract.org/2004/07/ams_template.Models.DB">5</CreateBy>
<CreateTime xmlns="http://schemas.datacontract.org/2004/07/ams_template.Models.DB">2025-12-11T21:27:14.1696844+07:00</CreateTime>
<ID xmlns="http://schemas.datacontract.org/2004/07/ams_template.Models.DB">21c837f9-a9fc-4fe0-a663-de254e6035ca</ID>
<OrderStatus_ID xmlns="http://schemas.datacontract.org/2004/07/ams_template.Models.DB">4</OrderStatus_ID>
<RSRT_ID xmlns="http://schemas.datacontract.org/2004/07/ams_template.Models.DB">660ba197-6905-4f64-8064-ed633252f3d0</RSRT_ID>
<StatusByName>sample string 2</StatusByName>
<StatusName>sample string 1</StatusName>
</OrderStatusModel>
<OrderStatusModel>
<CreateBy xmlns="http://schemas.datacontract.org/2004/07/ams_template.Models.DB">5</CreateBy>
<CreateTime xmlns="http://schemas.datacontract.org/2004/07/ams_template.Models.DB">2025-12-11T21:27:14.1696844+07:00</CreateTime>
<ID xmlns="http://schemas.datacontract.org/2004/07/ams_template.Models.DB">21c837f9-a9fc-4fe0-a663-de254e6035ca</ID>
<OrderStatus_ID xmlns="http://schemas.datacontract.org/2004/07/ams_template.Models.DB">4</OrderStatus_ID>
<RSRT_ID xmlns="http://schemas.datacontract.org/2004/07/ams_template.Models.DB">660ba197-6905-4f64-8064-ed633252f3d0</RSRT_ID>
<StatusByName>sample string 2</StatusByName>
<StatusName>sample string 1</StatusName>
</OrderStatusModel>
</OrderStatuses>
<Products>
<ProductModel>
<Amount xmlns="http://schemas.datacontract.org/2004/07/ams_template.Models.DB">3</Amount>
<CreateBy xmlns="http://schemas.datacontract.org/2004/07/ams_template.Models.DB">6</CreateBy>
<CreateTime xmlns="http://schemas.datacontract.org/2004/07/ams_template.Models.DB">2025-12-11T21:27:14.1696844+07:00</CreateTime>
<ID xmlns="http://schemas.datacontract.org/2004/07/ams_template.Models.DB">65091749-c596-459d-8395-adde6c21ff67</ID>
<IsDelete xmlns="http://schemas.datacontract.org/2004/07/ams_template.Models.DB">true</IsDelete>
<Price xmlns="http://schemas.datacontract.org/2004/07/ams_template.Models.DB">4</Price>
<ProductID xmlns="http://schemas.datacontract.org/2004/07/ams_template.Models.DB">2</ProductID>
<RSRT_ID xmlns="http://schemas.datacontract.org/2004/07/ams_template.Models.DB">16f25074-f748-45e0-9a09-0ac2c9bb331d</RSRT_ID>
<Total xmlns="http://schemas.datacontract.org/2004/07/ams_template.Models.DB">5</Total>
<UpdateBy xmlns="http://schemas.datacontract.org/2004/07/ams_template.Models.DB">1</UpdateBy>
<UpdateTime xmlns="http://schemas.datacontract.org/2004/07/ams_template.Models.DB">2025-12-11T21:27:14.1696844+07:00</UpdateTime>
<Product xmlns:d4p1="http://schemas.datacontract.org/2004/07/ams_template.Models.DB">
<d4p1:CreateBy>7</d4p1:CreateBy>
<d4p1:CreateTime>2025-12-11T21:27:14.1696844+07:00</d4p1:CreateTime>
<d4p1:ID>1</d4p1:ID>
<d4p1:IsActive>true</d4p1:IsActive>
<d4p1:IsDelete>true</d4p1:IsDelete>
<d4p1:PaymentType>sample string 5</d4p1:PaymentType>
<d4p1:Place_ID>2</d4p1:Place_ID>
<d4p1:Price>6</d4p1:Price>
<d4p1:ProductType_ID>sample string 3</d4p1:ProductType_ID>
<d4p1:Product_Name>sample string 4</d4p1:Product_Name>
<d4p1:UpdateBy>1</d4p1:UpdateBy>
<d4p1:UpdateTime>2025-12-11T21:27:14.1696844+07:00</d4p1:UpdateTime>
</Product>
</ProductModel>
<ProductModel>
<Amount xmlns="http://schemas.datacontract.org/2004/07/ams_template.Models.DB">3</Amount>
<CreateBy xmlns="http://schemas.datacontract.org/2004/07/ams_template.Models.DB">6</CreateBy>
<CreateTime xmlns="http://schemas.datacontract.org/2004/07/ams_template.Models.DB">2025-12-11T21:27:14.1696844+07:00</CreateTime>
<ID xmlns="http://schemas.datacontract.org/2004/07/ams_template.Models.DB">65091749-c596-459d-8395-adde6c21ff67</ID>
<IsDelete xmlns="http://schemas.datacontract.org/2004/07/ams_template.Models.DB">true</IsDelete>
<Price xmlns="http://schemas.datacontract.org/2004/07/ams_template.Models.DB">4</Price>
<ProductID xmlns="http://schemas.datacontract.org/2004/07/ams_template.Models.DB">2</ProductID>
<RSRT_ID xmlns="http://schemas.datacontract.org/2004/07/ams_template.Models.DB">16f25074-f748-45e0-9a09-0ac2c9bb331d</RSRT_ID>
<Total xmlns="http://schemas.datacontract.org/2004/07/ams_template.Models.DB">5</Total>
<UpdateBy xmlns="http://schemas.datacontract.org/2004/07/ams_template.Models.DB">1</UpdateBy>
<UpdateTime xmlns="http://schemas.datacontract.org/2004/07/ams_template.Models.DB">2025-12-11T21:27:14.1696844+07:00</UpdateTime>
<Product xmlns:d4p1="http://schemas.datacontract.org/2004/07/ams_template.Models.DB">
<d4p1:CreateBy>7</d4p1:CreateBy>
<d4p1:CreateTime>2025-12-11T21:27:14.1696844+07:00</d4p1:CreateTime>
<d4p1:ID>1</d4p1:ID>
<d4p1:IsActive>true</d4p1:IsActive>
<d4p1:IsDelete>true</d4p1:IsDelete>
<d4p1:PaymentType>sample string 5</d4p1:PaymentType>
<d4p1:Place_ID>2</d4p1:Place_ID>
<d4p1:Price>6</d4p1:Price>
<d4p1:ProductType_ID>sample string 3</d4p1:ProductType_ID>
<d4p1:Product_Name>sample string 4</d4p1:Product_Name>
<d4p1:UpdateBy>1</d4p1:UpdateBy>
<d4p1:UpdateTime>2025-12-11T21:27:14.1696844+07:00</d4p1:UpdateTime>
</Product>
</ProductModel>
</Products>
<TourLeaders xmlns:d2p1="http://schemas.datacontract.org/2004/07/ams_template.Models.DB">
<d2p1:T_TourLeader>
<d2p1:ID>e6145c3c-0559-489e-a3a0-2192110e602c</d2p1:ID>
<d2p1:RSRT_ID>ed5a4ec0-888f-4a8a-a67f-9c4d740d5829</d2p1:RSRT_ID>
<d2p1:Tel>sample string 3</d2p1:Tel>
<d2p1:Tour_Leader_Name>sample string 2</d2p1:Tour_Leader_Name>
</d2p1:T_TourLeader>
<d2p1:T_TourLeader>
<d2p1:ID>e6145c3c-0559-489e-a3a0-2192110e602c</d2p1:ID>
<d2p1:RSRT_ID>ed5a4ec0-888f-4a8a-a67f-9c4d740d5829</d2p1:RSRT_ID>
<d2p1:Tel>sample string 3</d2p1:Tel>
<d2p1:Tour_Leader_Name>sample string 2</d2p1:Tour_Leader_Name>
</d2p1:T_TourLeader>
</TourLeaders>
</RSRTModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.