POST api/RSRT/UpdateRSRT
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:26:58.9877863+07:00",
"UpdateBy": 1,
"UpdateTime": "2025-12-11T21:26:58.9877863+07:00",
"IsActive": true,
"IsDelete": true
},
"ID": "41b9dbb7-0d38-4465-b3ae-8cca4f1fdf08",
"ProductID": 2,
"Amount": 3,
"Price": 4.0,
"Total": 5.0,
"CreateBy": 6,
"CreateTime": "2025-12-11T21:26:58.9877863+07:00",
"UpdateBy": 1,
"UpdateTime": "2025-12-11T21:26:58.9877863+07:00",
"IsDelete": true,
"RSRT_ID": "ed64bb19-89ba-4a8e-b12f-ceb629a32ccc"
},
{
"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:26:58.9877863+07:00",
"UpdateBy": 1,
"UpdateTime": "2025-12-11T21:26:58.9877863+07:00",
"IsActive": true,
"IsDelete": true
},
"ID": "41b9dbb7-0d38-4465-b3ae-8cca4f1fdf08",
"ProductID": 2,
"Amount": 3,
"Price": 4.0,
"Total": 5.0,
"CreateBy": 6,
"CreateTime": "2025-12-11T21:26:58.9877863+07:00",
"UpdateBy": 1,
"UpdateTime": "2025-12-11T21:26:58.9877863+07:00",
"IsDelete": true,
"RSRT_ID": "ed64bb19-89ba-4a8e-b12f-ceb629a32ccc"
}
],
"TourLeaders": [
{
"ID": "3ad7017d-a69d-450e-8dc3-b7bf5b2ed941",
"Tour_Leader_Name": "sample string 2",
"Tel": "sample string 3",
"RSRT_ID": "b0ac7081-ffb1-425f-aa95-76f87ca7b979"
},
{
"ID": "3ad7017d-a69d-450e-8dc3-b7bf5b2ed941",
"Tour_Leader_Name": "sample string 2",
"Tel": "sample string 3",
"RSRT_ID": "b0ac7081-ffb1-425f-aa95-76f87ca7b979"
}
],
"Guides": [
{
"ID": "87bc7a96-0084-40a1-9432-1d1816276244",
"Guide_Name": "sample string 2",
"Tel": "sample string 3",
"RSRT_ID": "39f05679-0d24-45e4-af07-880d2fbcd819"
},
{
"ID": "87bc7a96-0084-40a1-9432-1d1816276244",
"Guide_Name": "sample string 2",
"Tel": "sample string 3",
"RSRT_ID": "39f05679-0d24-45e4-af07-880d2fbcd819"
}
],
"OrderStatuses": [
{
"StatusName": "sample string 1",
"StatusByName": "sample string 2",
"ID": "9ab3fd6b-b684-4db9-a474-49f62f473c7e",
"OrderStatus_ID": 4,
"CreateBy": 5,
"CreateTime": "2025-12-11T21:26:58.9877863+07:00",
"RSRT_ID": "6d2889dc-c3ce-49cf-bf6a-e89d47d8e27d"
},
{
"StatusName": "sample string 1",
"StatusByName": "sample string 2",
"ID": "9ab3fd6b-b684-4db9-a474-49f62f473c7e",
"OrderStatus_ID": 4,
"CreateBy": 5,
"CreateTime": "2025-12-11T21:26:58.9877863+07:00",
"RSRT_ID": "6d2889dc-c3ce-49cf-bf6a-e89d47d8e27d"
}
],
"CompanyName": "sample string 1",
"CountryName": "sample string 2",
"CurrentStatus": "sample string 3",
"ID": "e675dd2c-90b7-4d0c-a5b0-1437dd6f36ed",
"DocNo": "sample string 5",
"PlaceID": 6,
"ReservationsDate": "2025-12-11T21:26:58.9877863+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:26:58.9877863+07:00",
"UpdateBy": 1,
"UpdateTime": "2025-12-11T21:26:58.9877863+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:26:58.9877863+07:00",
"CancelRemark": "sample string 17",
"IsPaymented": true,
"PaymentedTime": "2025-12-11T21:26:58.9877863+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:26:58.9877863+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">e675dd2c-90b7-4d0c-a5b0-1437dd6f36ed</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:26:58.9877863+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:26:58.9877863+07:00</ReservationsDate>
<TaxInvoiceDate xmlns="http://schemas.datacontract.org/2004/07/ams_template.Models.DB">2025-12-11T21:26:58.9877863+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:26:58.9877863+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>87bc7a96-0084-40a1-9432-1d1816276244</d2p1:ID>
<d2p1:RSRT_ID>39f05679-0d24-45e4-af07-880d2fbcd819</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>87bc7a96-0084-40a1-9432-1d1816276244</d2p1:ID>
<d2p1:RSRT_ID>39f05679-0d24-45e4-af07-880d2fbcd819</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:26:58.9877863+07:00</CreateTime>
<ID xmlns="http://schemas.datacontract.org/2004/07/ams_template.Models.DB">9ab3fd6b-b684-4db9-a474-49f62f473c7e</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">6d2889dc-c3ce-49cf-bf6a-e89d47d8e27d</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:26:58.9877863+07:00</CreateTime>
<ID xmlns="http://schemas.datacontract.org/2004/07/ams_template.Models.DB">9ab3fd6b-b684-4db9-a474-49f62f473c7e</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">6d2889dc-c3ce-49cf-bf6a-e89d47d8e27d</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:26:58.9877863+07:00</CreateTime>
<ID xmlns="http://schemas.datacontract.org/2004/07/ams_template.Models.DB">41b9dbb7-0d38-4465-b3ae-8cca4f1fdf08</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">ed64bb19-89ba-4a8e-b12f-ceb629a32ccc</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:26:58.9877863+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:26:58.9877863+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:26:58.9877863+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:26:58.9877863+07:00</CreateTime>
<ID xmlns="http://schemas.datacontract.org/2004/07/ams_template.Models.DB">41b9dbb7-0d38-4465-b3ae-8cca4f1fdf08</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">ed64bb19-89ba-4a8e-b12f-ceb629a32ccc</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:26:58.9877863+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:26:58.9877863+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:26:58.9877863+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>3ad7017d-a69d-450e-8dc3-b7bf5b2ed941</d2p1:ID>
<d2p1:RSRT_ID>b0ac7081-ffb1-425f-aa95-76f87ca7b979</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>3ad7017d-a69d-450e-8dc3-b7bf5b2ed941</d2p1:ID>
<d2p1:RSRT_ID>b0ac7081-ffb1-425f-aa95-76f87ca7b979</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.