Advertisement
Guest User

Untitled

a guest
Aug 21st, 2019
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 21.61 KB | None | 0 0
  1. {
  2. "apiRequest": {"action": "create"},
  3. "data":[
  4. {
  5. "id": null,
  6. "groupName": "",
  7. "companyProfileId": "48cd05ff-a407-42bc-bbb4-89d8543e86ac",
  8. "sourceId": "2216351e-899b-403f-bdf6-a1fd35f23d5e",
  9. "segmentId": "605b853d-7b81-4c81-9faa-3caf49a88608",
  10. "segmentName": "",
  11. "sourceName": "Walk-in",
  12. "voucherNo": "",
  13. "arrival": "01-Sep-2019",
  14. "departure": "06-Sep-2019",
  15. "transactionCodeId": null,
  16. "transactionCodeName": "",
  17. "depositAmount": 0,
  18. "dateRange": 5,
  19. "conpany": "48cd05ff-a407-42bc-bbb4-89d8543e86ac",
  20. "sourceDumme": "2216351e-899b-403f-bdf6-a1fd35f23d5e",
  21. "depositRemark": "",
  22. "voucherDate": "",
  23. "totalPrice": 0,
  24. "reservationPaymentTypeId": "00000000-0000-0000-0000-000000000000",
  25. "reservationConfirmationTypeId": "00000000-0000-0000-0000-000000000000",
  26. "creditCardTypeId": null,
  27. "creditCardTypeCode": "",
  28. "creditCardTypeName": "",
  29. "creditCardHolderName": "",
  30. "creditCardNumber": "",
  31. "creditCardExpirationDate": "",
  32. "creditCardCVV": "",
  33. "remark": "",
  34. "internalRemark": "",
  35. "arrivalFlightNo": "",
  36. "departureFlightNo": "",
  37. "arrivalFlightTime": "",
  38. "departureFlightTime": "",
  39. "arrivalTransport": "",
  40. "departureTransport": "",
  41. "otherPreference": "",
  42. "voucherCompanyName": "",
  43. "guaranteeById": "00000000-0000-0000-0000-000000000000",
  44. "guaranteeByCode": "",
  45. "guaranteeByName": "",
  46. "guaranteeByRemark": "",
  47. "depositTypeId": null,
  48. "eta": "",
  49. "etd": "",
  50. "arriveFrom": "",
  51. "departTo": "",
  52. "reservationOccupancies": [
  53. {
  54. "occupancyTypeId": "4c0fff5c-c1a9-4a87-9280-5bc48aac8f1b",
  55. "occupancyTypeName": "Single",
  56. "guest": 1,
  57. "rooms": 2,
  58. "roomsOccupany": 2,
  59. "guests": 0,
  60. "reservationStatusId": null,
  61. "reservationStatusName": "",
  62. "reservationRooms": [
  63. {
  64. "roomId": null,
  65. "roomNumber": "",
  66. "action": null,
  67. "roomBedId": null,
  68. "reservationOccupancyId": null,
  69. "bookingNo": null,
  70. "roomTypeIdRate": "604ed97d-7cac-4a58-8600-d5132e46e242",
  71. "reservationStatusId": null,
  72. "reservationStatusCode": "",
  73. "reservationStatusName": null,
  74. "arrival": "03-Sep-2019",
  75. "arrivalPre": null,
  76. "nights": 3,
  77. "departure": "06-Sep-2019",
  78. "departurePre": null,
  79. "remark": "",
  80. "childAge1": 0,
  81. "childAge2": 0,
  82. "dateRangeRoomCheck": null,
  83. "dateRangeRoom": null,
  84. "internalRemark": "",
  85. "roomCategoryId": null,
  86. "priceTaxTypeId": "00000000-0000-0000-0000-000000000000",
  87. "priceTaxTypeCode": "NET",
  88. "reservationDescription": null,
  89. "roomTypeId": "604ed97d-7cac-4a58-8600-d5132e46e242",
  90. "roomTypeName": "Standard",
  91. "roomTypeCode": "STD",
  92. "detail": false,
  93. "detailRate": false,
  94. "searchRoom": "",
  95. "mealTypeId": "00000000-0000-0000-0000-000000000000",
  96. "mealTypeName": "Room Only",
  97. "rateCodeId": "ace6bf69-72de-401b-aeef-c1a623047d9f",
  98. "rateCodeName": "Corporate Rate",
  99. "cancellationPolicyId": "7201dd57-bcd0-4893-9b49-b6b5a2198c70",
  100. "cancellationPolicyName": "Cancellation Policy 2019",
  101. "nationalityId": "5f855fcc-3569-44a7-b947-825c4b9d81a0",
  102. "nationalityIdToRate": "5f855fcc-3569-44a7-b947-825c4b9d81a0",
  103. "adults": 1,
  104. "childs": 0,
  105. "price": 5700,
  106. "messages": 0,
  107. "arrivalFlightNo": "",
  108. "departureFlightNo": "",
  109. "arrivalFlightTime": "",
  110. "departureFlightTime": "",
  111. "arrivalTransport": "",
  112. "departureTransport": "",
  113. "otherPreference": "",
  114. "discountTypeId": "00000000-0000-0000-0000-000000000000",
  115. "discountPrice": 5700,
  116. "discountRate": "0.00",
  117. "discount": 0,
  118. "roomCategoryAssign": "",
  119. "buildingAssign": "",
  120. "floorAssign": "",
  121. "roomTypeAssign": "",
  122. "roomCodeAssign": "",
  123. "roomBedDescriptionAssign": "",
  124. "cancellationReasonId": null,
  125. "cancellationReasonCode": "",
  126. "cancellationReasonName": "",
  127. "guestName": "",
  128. "cancellationReasonDescription": "",
  129. "arriveFrom": "",
  130. "eta": "",
  131. "etd": "",
  132. "departTo": "",
  133. "rateTypeId": "00000000-0000-0000-0000-000000000000",
  134. "rateTypeCode": "STATIC",
  135. "rateTypeName": "Static",
  136. "reservationRoomGuests": [
  137. {
  138. "arrivalFlightNo": "",
  139. "departureFlightNo": "",
  140. "arrivalFlightTime": "",
  141. "departureFlightTime": "",
  142. "arrivalTransport": "",
  143. "departureTransport": "",
  144. "eta": "",
  145. "etd": "",
  146. "arriveFrom": "",
  147. "departTo": "",
  148. "prefer": false,
  149. "masterContact": false,
  150. "guestProfileId": null,
  151. "otherPreference": "",
  152. "guestProfile": {
  153. "firstName": "Sita",
  154. "lastName": "Srinun",
  155. "titleId": "ac54a647-0316-48c6-a122-7fa9e42c1a68",
  156. "middleName": "",
  157. "email": "",
  158. "addr1": "",
  159. "addr2": "",
  160. "residentAddr1": "",
  161. "residentAddr2": "",
  162. "residentCityId": null,
  163. "residentCountryId": null,
  164. "residentZipCode": "",
  165. "detail": false,
  166. "conpanyDetail": false,
  167. "age": "Auto",
  168. "cityId": null,
  169. "countryId": null,
  170. "zipCode": "",
  171. "nationalityId": "5f855fcc-3569-44a7-b947-825c4b9d81a0",
  172. "languageId": null,
  173. "birthDate": "",
  174. "remark": "",
  175. "passport": "",
  176. "visa": "",
  177. "telephone": "",
  178. "guestTypeId": "00000000-0000-0000-0000-000000000000",
  179. "guestTypeName": "",
  180. "tmNo": "",
  181. "displayName": "",
  182. "otherIdentityNo": "",
  183. "heardContact": false,
  184. "keepHistory": false,
  185. "guestProfileContacts": [],
  186. "guestCompanyProfile": {
  187. "name": "",
  188. "companyTaxId": null,
  189. "sourceId": null,
  190. "sourceCode": "",
  191. "sourceName": "",
  192. "addr1": "",
  193. "addr2": "",
  194. "cityId": null,
  195. "cityCode": "",
  196. "cityName": "",
  197. "cityDefaultZipCode": "",
  198. "countryId": null,
  199. "countryCode": "",
  200. "countryName": "",
  201. "zipCode": "",
  202. "code": "",
  203. "companyTypeId": null,
  204. "companyTypeCode": "",
  205. "companyTypeName": "",
  206. "corperateNo": "",
  207. "segmentId": "",
  208. "segmentCode": "",
  209. "segmentName": "",
  210. "remark": "",
  211. "internalRemark": "",
  212. "id": null
  213. }
  214. }
  215. }
  216. ],
  217. "reservationRoomFolioRoutings": [],
  218. "dayRates": [
  219. {
  220. "forDate": "2019-09-03T00:00:00.000Z",
  221. "roomPrice": 1900,
  222. "compulsoryPrice": 0,
  223. "supplementPrice": 0
  224. },
  225. {
  226. "forDate": "2019-09-04T00:00:00.000Z",
  227. "roomPrice": 1900,
  228. "compulsoryPrice": 0,
  229. "supplementPrice": 0
  230. },
  231. {
  232. "forDate": "2019-09-05T00:00:00.000Z",
  233. "roomPrice": 1900,
  234. "compulsoryPrice": 0,
  235. "supplementPrice": 0
  236. }
  237. ],
  238. "dynamicCancellationPolicies": [],
  239. "cancellationPolicies": [
  240. {
  241. "code": "CXL2019",
  242. "name": "Cancellation Policy 2019",
  243. "hotelYearId": "ef4253cf-f1b9-4bc7-b2d6-c1a9f0800dfb",
  244. "hotelYearCode": "2019",
  245. "hotelYearName": "2019 (05-Jul-2019 to 04-Jul-2020)",
  246. "remark": "",
  247. "id": "7201dd57-bcd0-4893-9b49-b6b5a2198c70",
  248. "cancellationPolicySeasons": [
  249. {
  250. "cancellationPolicyId": "7201dd57-bcd0-4893-9b49-b6b5a2198c70",
  251. "hotelSeasonId": "eca6b549-9de1-4791-b237-d7849aa81362",
  252. "hotelSeasonCode": "HIGH",
  253. "hotelSeasonName": "High Season",
  254. "id": "552120bf-0a84-495a-b8a6-2f7a687e49d2",
  255. "cancellationPolicyDetails": [
  256. {
  257. "cancellationPolicySeasonId": "552120bf-0a84-495a-b8a6-2f7a687e49d2",
  258. "noticeDays": 7,
  259. "chargeTypeId": "41a067f7-7ff5-4f3b-8712-568e8bca80e6",
  260. "chargeTypeCode": "NIGHT",
  261. "chargeTypeName": "Night",
  262. "amount": 1,
  263. "id": "37383dee-4203-4ac6-b109-ded3ba9c7be5"
  264. },
  265. {
  266. "cancellationPolicySeasonId": "552120bf-0a84-495a-b8a6-2f7a687e49d2",
  267. "noticeDays": 14,
  268. "chargeTypeId": "c2b63cf6-db2f-47d9-8a4e-eb1fc314ae83",
  269. "chargeTypeCode": "PER",
  270. "chargeTypeName": "Percent",
  271. "amount": 50,
  272. "id": "eb3c7906-c960-4b5a-b57a-ce4d385d80ef"
  273. },
  274. {
  275. "cancellationPolicySeasonId": "fdb2f28e-f413-4549-817f-b11eb1094c0f",
  276. "noticeDays": 1,
  277. "chargeTypeId": "41a067f7-7ff5-4f3b-8712-568e8bca80e6",
  278. "chargeTypeCode": "NIGHT",
  279. "chargeTypeName": "Night",
  280. "amount": 1,
  281. "id": "74ab9d77-4a29-4af6-a738-ef95ed07a3c6"
  282. }
  283. ]
  284. },
  285. {
  286. "cancellationPolicyId": "7201dd57-bcd0-4893-9b49-b6b5a2198c70",
  287. "hotelSeasonId": "3917e843-843d-4c5d-b544-72aa18702600",
  288. "hotelSeasonCode": "LOW",
  289. "hotelSeasonName": "Low Season",
  290. "id": "fdb2f28e-f413-4549-817f-b11eb1094c0f",
  291. "cancellationPolicyDetails": []
  292. }
  293. ]
  294. }
  295. ],
  296. "reservationRoomFolios": []
  297. },
  298. {
  299. "roomId": null,
  300. "roomNumber": "",
  301. "action": null,
  302. "roomBedId": null,
  303. "reservationOccupancyId": null,
  304. "bookingNo": null,
  305. "roomTypeIdRate": "07cbe880-d66d-4479-a04e-8e7c3a50ac42",
  306. "reservationStatusId": null,
  307. "reservationStatusCode": "",
  308. "reservationStatusName": null,
  309. "arrival": "01-Sep-2019",
  310. "arrivalPre": null,
  311. "nights": 5,
  312. "departure": "06-Sep-2019",
  313. "departurePre": null,
  314. "remark": "",
  315. "childAge1": 0,
  316. "childAge2": 0,
  317. "dateRangeRoomCheck": null,
  318. "dateRangeRoom": null,
  319. "internalRemark": "",
  320. "roomCategoryId": null,
  321. "priceTaxTypeId": "00000000-0000-0000-0000-000000000000",
  322. "priceTaxTypeCode": "NET",
  323. "reservationDescription": null,
  324. "roomTypeId": "07cbe880-d66d-4479-a04e-8e7c3a50ac42",
  325. "roomTypeName": "Deluxe",
  326. "roomTypeCode": "DLX",
  327. "detail": false,
  328. "detailRate": false,
  329. "searchRoom": "",
  330. "mealTypeId": "00000000-0000-0000-0000-000000000000",
  331. "mealTypeName": "Room Only",
  332. "rateCodeId": "ace6bf69-72de-401b-aeef-c1a623047d9f",
  333. "rateCodeName": "Corporate Rate",
  334. "cancellationPolicyId": "7201dd57-bcd0-4893-9b49-b6b5a2198c70",
  335. "cancellationPolicyName": "Cancellation Policy 2019",
  336. "nationalityId": "5f855fcc-3569-44a7-b947-825c4b9d81a0",
  337. "nationalityIdToRate": "5f855fcc-3569-44a7-b947-825c4b9d81a0",
  338. "adults": 1,
  339. "childs": 0,
  340. "price": 13500,
  341. "messages": 0,
  342. "arrivalFlightNo": "",
  343. "departureFlightNo": "",
  344. "arrivalFlightTime": "",
  345. "departureFlightTime": "",
  346. "arrivalTransport": "",
  347. "departureTransport": "",
  348. "otherPreference": "",
  349. "discountTypeId": "00000000-0000-0000-0000-000000000000",
  350. "discountPrice": 13500,
  351. "discountRate": "0.00",
  352. "discount": 0,
  353. "roomCategoryAssign": "",
  354. "buildingAssign": "",
  355. "floorAssign": "",
  356. "roomTypeAssign": "",
  357. "roomCodeAssign": "",
  358. "roomBedDescriptionAssign": "",
  359. "cancellationReasonId": null,
  360. "cancellationReasonCode": "",
  361. "cancellationReasonName": "",
  362. "guestName": "",
  363. "cancellationReasonDescription": "",
  364. "arriveFrom": "",
  365. "eta": "",
  366. "etd": "",
  367. "departTo": "",
  368. "rateTypeId": "00000000-0000-0000-0000-000000000000",
  369. "rateTypeCode": "STATIC",
  370. "rateTypeName": "Static",
  371. "reservationRoomGuests": [
  372. {
  373. "arrivalFlightNo": "",
  374. "departureFlightNo": "",
  375. "arrivalFlightTime": "",
  376. "departureFlightTime": "",
  377. "arrivalTransport": "",
  378. "departureTransport": "",
  379. "eta": "",
  380. "etd": "",
  381. "arriveFrom": "",
  382. "departTo": "",
  383. "prefer": false,
  384. "masterContact": false,
  385. "guestProfileId": null,
  386. "otherPreference": "",
  387. "guestProfile": {
  388. "firstName": "ratong",
  389. "lastName": "Srithai",
  390. "titleId": "ac54a647-0316-48c6-a122-7fa9e42c1a68",
  391. "middleName": "",
  392. "email": "",
  393. "addr1": "",
  394. "addr2": "",
  395. "residentAddr1": "",
  396. "residentAddr2": "",
  397. "residentCityId": null,
  398. "residentCountryId": null,
  399. "residentZipCode": "",
  400. "detail": false,
  401. "conpanyDetail": false,
  402. "age": "Auto",
  403. "cityId": null,
  404. "countryId": null,
  405. "zipCode": "",
  406. "nationalityId": "5f855fcc-3569-44a7-b947-825c4b9d81a0",
  407. "languageId": null,
  408. "birthDate": "",
  409. "remark": "",
  410. "passport": "",
  411. "visa": "",
  412. "telephone": "",
  413. "guestTypeId": "00000000-0000-0000-0000-000000000000",
  414. "guestTypeName": "",
  415. "tmNo": "",
  416. "displayName": "",
  417. "otherIdentityNo": "",
  418. "heardContact": false,
  419. "keepHistory": false,
  420. "guestProfileContacts": [],
  421. "guestCompanyProfile": {
  422. "name": "",
  423. "companyTaxId": null,
  424. "sourceId": null,
  425. "sourceCode": "",
  426. "sourceName": "",
  427. "addr1": "",
  428. "addr2": "",
  429. "cityId": null,
  430. "cityCode": "",
  431. "cityName": "",
  432. "cityDefaultZipCode": "",
  433. "countryId": null,
  434. "countryCode": "",
  435. "countryName": "",
  436. "zipCode": "",
  437. "code": "",
  438. "companyTypeId": null,
  439. "companyTypeCode": "",
  440. "companyTypeName": "",
  441. "corperateNo": "",
  442. "segmentId": "",
  443. "segmentCode": "",
  444. "segmentName": "",
  445. "remark": "",
  446. "internalRemark": "",
  447. "id": null
  448. }
  449. }
  450. }
  451. ],
  452. "reservationRoomFolioRoutings": [],
  453. "dayRates": [
  454. {
  455. "forDate": "2019-09-01T00:00:00.000Z",
  456. "roomPrice": 2700,
  457. "compulsoryPrice": 0,
  458. "supplementPrice": 0
  459. },
  460. {
  461. "forDate": "2019-09-02T00:00:00.000Z",
  462. "roomPrice": 2700,
  463. "compulsoryPrice": 0,
  464. "supplementPrice": 0
  465. },
  466. {
  467. "forDate": "2019-09-03T00:00:00.000Z",
  468. "roomPrice": 2700,
  469. "compulsoryPrice": 0,
  470. "supplementPrice": 0
  471. },
  472. {
  473. "forDate": "2019-09-04T00:00:00.000Z",
  474. "roomPrice": 2700,
  475. "compulsoryPrice": 0,
  476. "supplementPrice": 0
  477. },
  478. {
  479. "forDate": "2019-09-05T00:00:00.000Z",
  480. "roomPrice": 2700,
  481. "compulsoryPrice": 0,
  482. "supplementPrice": 0
  483. }
  484. ],
  485. "dynamicCancellationPolicies": [],
  486. "cancellationPolicies": [
  487. {
  488. "code": "CXL2019",
  489. "name": "Cancellation Policy 2019",
  490. "hotelYearId": "ef4253cf-f1b9-4bc7-b2d6-c1a9f0800dfb",
  491. "hotelYearCode": "2019",
  492. "hotelYearName": "2019 (05-Jul-2019 to 04-Jul-2020)",
  493. "remark": "",
  494. "id": "7201dd57-bcd0-4893-9b49-b6b5a2198c70",
  495. "cancellationPolicySeasons": [
  496. {
  497. "cancellationPolicyId": "7201dd57-bcd0-4893-9b49-b6b5a2198c70",
  498. "hotelSeasonId": "eca6b549-9de1-4791-b237-d7849aa81362",
  499. "hotelSeasonCode": "HIGH",
  500. "hotelSeasonName": "High Season",
  501. "id": "552120bf-0a84-495a-b8a6-2f7a687e49d2",
  502. "cancellationPolicyDetails": [
  503. {
  504. "cancellationPolicySeasonId": "552120bf-0a84-495a-b8a6-2f7a687e49d2",
  505. "noticeDays": 7,
  506. "chargeTypeId": "41a067f7-7ff5-4f3b-8712-568e8bca80e6",
  507. "chargeTypeCode": "NIGHT",
  508. "chargeTypeName": "Night",
  509. "amount": 1,
  510. "id": "37383dee-4203-4ac6-b109-ded3ba9c7be5"
  511. },
  512. {
  513. "cancellationPolicySeasonId": "552120bf-0a84-495a-b8a6-2f7a687e49d2",
  514. "noticeDays": 14,
  515. "chargeTypeId": "c2b63cf6-db2f-47d9-8a4e-eb1fc314ae83",
  516. "chargeTypeCode": "PER",
  517. "chargeTypeName": "Percent",
  518. "amount": 50,
  519. "id": "eb3c7906-c960-4b5a-b57a-ce4d385d80ef"
  520. },
  521. {
  522. "cancellationPolicySeasonId": "fdb2f28e-f413-4549-817f-b11eb1094c0f",
  523. "noticeDays": 1,
  524. "chargeTypeId": "41a067f7-7ff5-4f3b-8712-568e8bca80e6",
  525. "chargeTypeCode": "NIGHT",
  526. "chargeTypeName": "Night",
  527. "amount": 1,
  528. "id": "74ab9d77-4a29-4af6-a738-ef95ed07a3c6"
  529. }
  530. ]
  531. },
  532. {
  533. "cancellationPolicyId": "7201dd57-bcd0-4893-9b49-b6b5a2198c70",
  534. "hotelSeasonId": "3917e843-843d-4c5d-b544-72aa18702600",
  535. "hotelSeasonCode": "LOW",
  536. "hotelSeasonName": "Low Season",
  537. "id": "fdb2f28e-f413-4549-817f-b11eb1094c0f",
  538. "cancellationPolicyDetails": []
  539. }
  540. ]
  541. }
  542. ],
  543. "reservationRoomFolios": []
  544. }
  545. ]
  546. },
  547. {
  548. "occupancyTypeId": "9d22d1ad-01e7-4c78-9b16-46b526d23d1c",
  549. "occupancyTypeName": "Double",
  550. "guest": 2,
  551. "rooms": 0,
  552. "roomsOccupany": 0,
  553. "guests": 0,
  554. "reservationStatusId": null,
  555. "reservationStatusName": "",
  556. "reservationRooms": []
  557. },
  558. {
  559. "occupancyTypeId": "51a55310-3243-4ff0-a483-88652443a6f5",
  560. "occupancyTypeName": "Twin",
  561. "guest": 2,
  562. "rooms": 0,
  563. "roomsOccupany": 0,
  564. "guests": 0,
  565. "reservationStatusId": null,
  566. "reservationStatusName": "",
  567. "reservationRooms": []
  568. },
  569. {
  570. "occupancyTypeId": "6112cc31-22b5-4c10-bb36-df9019d5b270",
  571. "occupancyTypeName": "Triple",
  572. "guest": 3,
  573. "rooms": 0,
  574. "roomsOccupany": 0,
  575. "guests": 0,
  576. "reservationStatusId": null,
  577. "reservationStatusName": "",
  578. "reservationRooms": []
  579. },
  580. {
  581. "occupancyTypeId": "10000000-0000-0000-0000-000000000000",
  582. "occupancyTypeName": "Unit",
  583. "guest": 4,
  584. "rooms": 0,
  585. "roomsOccupany": 0,
  586. "guests": 0,
  587. "reservationStatusId": null,
  588. "reservationStatusName": "",
  589. "reservationRooms": []
  590. }
  591. ],
  592. "reservationFolioRoutings": [
  593. {
  594. "reservationFolioId": null,
  595. "transactionGroupId": "30000000-0000-0000-0000-000000000000",
  596. "transactionGroupCode": "MINIBAR",
  597. "transactionGroupName": "Minibar",
  598. "transactionCodeId": null,
  599. "transactionCodeCode": null,
  600. "transactionCodeName": null,
  601. "targetFolioTypeId": null,
  602. "routingType": false
  603. },
  604. {
  605. "reservationFolioId": null,
  606. "transactionGroupId": "20000000-0000-0000-0000-000000000000",
  607. "transactionGroupCode": "ROOM",
  608. "transactionGroupName": "Room Charge",
  609. "transactionCodeId": null,
  610. "transactionCodeCode": null,
  611. "transactionCodeName": null,
  612. "targetFolioTypeId": null,
  613. "routingType": false
  614. }
  615. ]
  616. }
  617. ]
  618. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement