POST api/RSRT/CancelRSRT

Request Information

URI Parameters

None.

Body Parameters

RSRTModel
NameDescriptionTypeAdditional 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:41.6938658+07:00",
        "UpdateBy": 1,
        "UpdateTime": "2025-12-11T21:27:41.6938658+07:00",
        "IsActive": true,
        "IsDelete": true
      },
      "ID": "0eb285b8-4c97-477d-9abb-65b89229bdf6",
      "ProductID": 2,
      "Amount": 3,
      "Price": 4.0,
      "Total": 5.0,
      "CreateBy": 6,
      "CreateTime": "2025-12-11T21:27:41.6938658+07:00",
      "UpdateBy": 1,
      "UpdateTime": "2025-12-11T21:27:41.6938658+07:00",
      "IsDelete": true,
      "RSRT_ID": "66b829e8-3979-406f-908e-37635bde8047"
    },
    {
      "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:41.6938658+07:00",
        "UpdateBy": 1,
        "UpdateTime": "2025-12-11T21:27:41.6938658+07:00",
        "IsActive": true,
        "IsDelete": true
      },
      "ID": "0eb285b8-4c97-477d-9abb-65b89229bdf6",
      "ProductID": 2,
      "Amount": 3,
      "Price": 4.0,
      "Total": 5.0,
      "CreateBy": 6,
      "CreateTime": "2025-12-11T21:27:41.6938658+07:00",
      "UpdateBy": 1,
      "UpdateTime": "2025-12-11T21:27:41.6938658+07:00",
      "IsDelete": true,
      "RSRT_ID": "66b829e8-3979-406f-908e-37635bde8047"
    }
  ],
  "TourLeaders": [
    {
      "ID": "cdd3bb1b-9b70-49d4-9377-4f58e8f3095d",
      "Tour_Leader_Name": "sample string 2",
      "Tel": "sample string 3",
      "RSRT_ID": "4cc08081-6934-4c33-bc3a-5af0d5df035b"
    },
    {
      "ID": "cdd3bb1b-9b70-49d4-9377-4f58e8f3095d",
      "Tour_Leader_Name": "sample string 2",
      "Tel": "sample string 3",
      "RSRT_ID": "4cc08081-6934-4c33-bc3a-5af0d5df035b"
    }
  ],
  "Guides": [
    {
      "ID": "dc154903-40ac-4977-975d-967e4108e356",
      "Guide_Name": "sample string 2",
      "Tel": "sample string 3",
      "RSRT_ID": "ec51bbdb-41f6-46c3-9573-dfb6b3f95f6d"
    },
    {
      "ID": "dc154903-40ac-4977-975d-967e4108e356",
      "Guide_Name": "sample string 2",
      "Tel": "sample string 3",
      "RSRT_ID": "ec51bbdb-41f6-46c3-9573-dfb6b3f95f6d"
    }
  ],
  "OrderStatuses": [
    {
      "StatusName": "sample string 1",
      "StatusByName": "sample string 2",
      "ID": "68d34126-d8da-4445-87b1-a858fb508a5e",
      "OrderStatus_ID": 4,
      "CreateBy": 5,
      "CreateTime": "2025-12-11T21:27:41.6938658+07:00",
      "RSRT_ID": "c10da8cd-b13c-4134-9656-a4413195902d"
    },
    {
      "StatusName": "sample string 1",
      "StatusByName": "sample string 2",
      "ID": "68d34126-d8da-4445-87b1-a858fb508a5e",
      "OrderStatus_ID": 4,
      "CreateBy": 5,
      "CreateTime": "2025-12-11T21:27:41.6938658+07:00",
      "RSRT_ID": "c10da8cd-b13c-4134-9656-a4413195902d"
    }
  ],
  "CompanyName": "sample string 1",
  "CountryName": "sample string 2",
  "CurrentStatus": "sample string 3",
  "ID": "9a562d11-2208-4703-a96a-1b5c2294804d",
  "DocNo": "sample string 5",
  "PlaceID": 6,
  "ReservationsDate": "2025-12-11T21:27:41.6938658+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:41.6938658+07:00",
  "UpdateBy": 1,
  "UpdateTime": "2025-12-11T21:27:41.6938658+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:41.6938658+07:00",
  "CancelRemark": "sample string 17",
  "IsPaymented": true,
  "PaymentedTime": "2025-12-11T21:27:41.6938658+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:41.6938658+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">9a562d11-2208-4703-a96a-1b5c2294804d</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:41.6938658+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:41.6938658+07:00</ReservationsDate>
  <TaxInvoiceDate xmlns="http://schemas.datacontract.org/2004/07/ams_template.Models.DB">2025-12-11T21:27:41.6938658+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:41.6938658+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>dc154903-40ac-4977-975d-967e4108e356</d2p1:ID>
      <d2p1:RSRT_ID>ec51bbdb-41f6-46c3-9573-dfb6b3f95f6d</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>dc154903-40ac-4977-975d-967e4108e356</d2p1:ID>
      <d2p1:RSRT_ID>ec51bbdb-41f6-46c3-9573-dfb6b3f95f6d</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:41.6938658+07:00</CreateTime>
      <ID xmlns="http://schemas.datacontract.org/2004/07/ams_template.Models.DB">68d34126-d8da-4445-87b1-a858fb508a5e</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">c10da8cd-b13c-4134-9656-a4413195902d</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:41.6938658+07:00</CreateTime>
      <ID xmlns="http://schemas.datacontract.org/2004/07/ams_template.Models.DB">68d34126-d8da-4445-87b1-a858fb508a5e</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">c10da8cd-b13c-4134-9656-a4413195902d</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:41.6938658+07:00</CreateTime>
      <ID xmlns="http://schemas.datacontract.org/2004/07/ams_template.Models.DB">0eb285b8-4c97-477d-9abb-65b89229bdf6</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">66b829e8-3979-406f-908e-37635bde8047</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:41.6938658+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:41.6938658+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:41.6938658+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:41.6938658+07:00</CreateTime>
      <ID xmlns="http://schemas.datacontract.org/2004/07/ams_template.Models.DB">0eb285b8-4c97-477d-9abb-65b89229bdf6</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">66b829e8-3979-406f-908e-37635bde8047</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:41.6938658+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:41.6938658+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:41.6938658+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>cdd3bb1b-9b70-49d4-9377-4f58e8f3095d</d2p1:ID>
      <d2p1:RSRT_ID>4cc08081-6934-4c33-bc3a-5af0d5df035b</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>cdd3bb1b-9b70-49d4-9377-4f58e8f3095d</d2p1:ID>
      <d2p1:RSRT_ID>4cc08081-6934-4c33-bc3a-5af0d5df035b</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

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.