gvsandeep

Untitled

Oct 21st, 2022
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 12.97 KB | None | 0 0
  1. [
  2.   {
  3.     "Timestamp": "2022-10-21T06:40:46.815+00:00",
  4.     "Topic": "qa.oms.pe.split-service.events",
  5.     "Partition": 0,
  6.     "Offset": 25338,
  7.     "SchemaId": null,
  8.     "SchemaType": null,
  9.     "Key": [
  10.       70,
  11.       114,
  12.       105,
  13.       32,
  14.       79,
  15.       99,
  16.       116,
  17.       32,
  18.       50,
  19.       49,
  20.       32,
  21.       49,
  22.       50,
  23.       58,
  24.       49,
  25.       48,
  26.       58,
  27.       52,
  28.       53,
  29.       32,
  30.       73,
  31.       83,
  32.       84,
  33.       32,
  34.       50,
  35.       48,
  36.       50,
  37.       50
  38.     ],
  39.     "Headers": {
  40.       "__TypeId__": "com.pharmeasy.splitservice.event.FinalSplitsEvaluationEvent"
  41.     },
  42.     "Message": {
  43.       "eventDetail": {
  44.         "id": "18d7c0ad-bd20-4156-8198-b57f25b0abb3",
  45.         "timestamp": 1666334445615,
  46.         "eventType": "FINAL_SPLITS_EVALUATION",
  47.         "version": 1
  48.       },
  49.       "locationFacts": {
  50.         "cityId": 10,
  51.         "stateId": 2,
  52.         "supplyCityId": 1
  53.       },
  54.       "retailerAssignmentRequest": null,
  55.       "retailerAssignmentResponse": null,
  56.       "context": {
  57.         "identifier": "7378614127|NA|NA",
  58.         "parentOrderId": "NA",
  59.         "cartId": "7378614127",
  60.         "childOrderId": "NA"
  61.       },
  62.       "productAttributesMap": {
  63.         "196214": {
  64.           "ucode": "196214",
  65.           "vertical": "MEDICINE",
  66.           "medicineCategory": "ACUTE",
  67.           "medicineType": "NON_RX",
  68.           "fulfilability": "OUT_OF_STOCK",
  69.           "highMarginSubstituteAvailable": false,
  70.           "hasAvailableSubstitute": false,
  71.           "hasAvailableVariant": false,
  72.           "flipForGreen": false,
  73.           "substitutionAllowed": true,
  74.           "discountedMrp": 138.58,
  75.           "volume": 0,
  76.           "slowSellingMedicine": false,
  77.           "privateLabelProduct": false,
  78.           "refrigerated": false
  79.         },
  80.         "275104": {
  81.           "ucode": "275104",
  82.           "vertical": "MEDICINE",
  83.           "medicineCategory": "ACUTE",
  84.           "medicineType": "NON_RX",
  85.           "fulfilability": "OUT_OF_STOCK",
  86.           "highMarginSubstituteAvailable": false,
  87.           "hasAvailableSubstitute": false,
  88.           "hasAvailableVariant": false,
  89.           "flipForGreen": false,
  90.           "substitutionAllowed": true,
  91.           "discountedMrp": 126.33,
  92.           "volume": 0,
  93.           "slowSellingMedicine": false,
  94.           "privateLabelProduct": false,
  95.           "refrigerated": false
  96.         },
  97.         "I00301": {
  98.           "ucode": "I00301",
  99.           "vertical": "MEDICINE",
  100.           "medicineCategory": "ACUTE",
  101.           "medicineType": "NON_RX",
  102.           "fulfilability": "OUT_OF_STOCK",
  103.           "highMarginSubstituteAvailable": false,
  104.           "hasAvailableSubstitute": false,
  105.           "hasAvailableVariant": false,
  106.           "flipForGreen": false,
  107.           "substitutionAllowed": true,
  108.           "discountedMrp": 297.44,
  109.           "volume": 0,
  110.           "slowSellingMedicine": false,
  111.           "privateLabelProduct": false,
  112.           "refrigerated": false
  113.         }
  114.       },
  115.       "softRoutingFacts": {
  116.         "81bf5e4c-52ef-4b35-b2c7-c62b4a1f22db": {
  117.           "medicine_types": "NON_RX",
  118.           "medicine_categories": "ACUTE",
  119.           "source": "NEW_OMS",
  120.           "has_substitutable_yellow_medicines": false,
  121.           "has_higher_margin_substitutes": false,
  122.           "cart_value": 712.64,
  123.           "supply_city_name": 1,
  124.           "demand_city_name": 10,
  125.           "order_placed_hour": 15,
  126.           "platform_type": "ANDROID",
  127.           "retailer_type": "alpha_mp_seller",
  128.           "delivery_types": "NON_COURIER",
  129.           "is_substitution_pitched": false
  130.         },
  131.         "891c4808-0c15-4cf9-83d4-6ca1e55b6d4b": {
  132.           "medicine_types": "NON_RX",
  133.           "medicine_categories": "ACUTE",
  134.           "source": "NEW_OMS",
  135.           "has_substitutable_yellow_medicines": false,
  136.           "has_higher_margin_substitutes": false,
  137.           "cart_value": 712.64,
  138.           "supply_city_name": 1,
  139.           "demand_city_name": 10,
  140.           "order_placed_hour": 15,
  141.           "platform_type": "ANDROID",
  142.           "retailer_type": "alpha_mp_seller",
  143.           "delivery_types": "NON_COURIER",
  144.           "is_substitution_pitched": false
  145.         }
  146.       },
  147.       "softRoutingResponse": {
  148.         "81bf5e4c-52ef-4b35-b2c7-c62b4a1f22db": {
  149.           "result": {
  150.             "can_be_performed_by_doctor": false,
  151.             "reason_keys": "NONE"
  152.           },
  153.           "ruleSetVersionId": "2101"
  154.         },
  155.         "891c4808-0c15-4cf9-83d4-6ca1e55b6d4b": {
  156.           "result": {
  157.             "can_be_performed_by_doctor": false,
  158.             "reason_keys": "NONE"
  159.           },
  160.           "ruleSetVersionId": "2101"
  161.         }
  162.       },
  163.       "softRoutingCustomerSegmentFacts": null,
  164.       "softRoutingCustomerSegmentResponse": null,
  165.       "request": {
  166.         "placedAt": 1664877266139,
  167.         "customer": {
  168.           "customerId": "36786618",
  169.           "score": null,
  170.           "segmentIds": [
  171.             46,
  172.             44,
  173.             47,
  174.             71,
  175.             42,
  176.             41,
  177.             40,
  178.             43,
  179.             69,
  180.             70,
  181.             192,
  182.             229,
  183.             757,
  184.             755,
  185.             703,
  186.             812,
  187.             482,
  188.             300,
  189.             481,
  190.             294,
  191.             667,
  192.             585,
  193.             586,
  194.             210,
  195.             250,
  196.             581,
  197.             656,
  198.             821,
  199.             216,
  200.             262,
  201.             253,
  202.             572,
  203.             544,
  204.             699,
  205.             240,
  206.             382
  207.           ],
  208.           "membershipDetail": null
  209.         },
  210.         "locationAttributes": {
  211.           "zoneId": "382424",
  212.           "zoneType": "PINCODE"
  213.         },
  214.         "splits": [
  215.           {
  216.             "splitId": "81bf5e4c-52ef-4b35-b2c7-c62b4a1f22db",
  217.             "vertical": "PRODUCT",
  218.             "splitReasons": null,
  219.             "items": [
  220.               {
  221.                 "itemIdentifier": "18d7c0ad-bd20-4156-8198-b57f25b0abb3|I00301|PRODUCT",
  222.                 "itemType": "PRODUCT",
  223.                 "itemId": "I00301",
  224.                 "name": "EBERNET 1% CREAM 30GM",
  225.                 "quantity": 1,
  226.                 "rxDetail": {
  227.                   "mappingType": "DIRECT",
  228.                   "version": 3,
  229.                   "rxId": "632824f7c32dc55f05f27d15",
  230.                   "itemId": "I00301",
  231.                   "itemType": "PRODUCT",
  232.                   "isSubstitutionAllowed": null
  233.                 },
  234.                 "discountedUnitMrp": "397.8"
  235.               }
  236.             ],
  237.             "context": {
  238.               "cartId": "7378614127",
  239.               "parentOrderId": "",
  240.               "childOrderId": ""
  241.             },
  242.             "attributes": {
  243.               "hasUploadedFiles": false,
  244.               "hasOrderNotes": false,
  245.               "isSubstitutionPitched": false,
  246.               "isSoftRoutingCompleted": false,
  247.               "isAwaitingPrescriptionUpload": false,
  248.               "needApprovalForSubstitution": false,
  249.               "hasAttachedPreviousPrescription": false
  250.             },
  251.             "origin": {
  252.               "source": "CONSUMER",
  253.               "platform": "ANDROID"
  254.             },
  255.             "commitments": {
  256.               "optionId": "2898acc7-2c02-49e1-914b-0b4b8c2f35c4",
  257.               "estimatedContactTime": 1664877213620,
  258.               "retailerGstStateCode": "24",
  259.               "retailerId": "2282",
  260.               "retailerType": "alpha_mp_seller",
  261.               "deliveryMode": "NON_COURIER",
  262.               "deliverySpeed": "STANDARD",
  263.               "charges": null,
  264.               "estimatedDeliveryDate": {
  265.                 "minTime": 1664994600000,
  266.                 "maxTime": 1665160200000
  267.               },
  268.               "fulfilabilityTier": null
  269.             }
  270.           },
  271.           {
  272.             "splitId": "891c4808-0c15-4cf9-83d4-6ca1e55b6d4b",
  273.             "vertical": "DRAFT",
  274.             "splitReasons": null,
  275.             "items": [
  276.               {
  277.                 "itemIdentifier": "18d7c0ad-bd20-4156-8198-b57f25b0abb3|196214|PRODUCT",
  278.                 "itemType": "PRODUCT",
  279.                 "itemId": "196214",
  280.                 "name": "PROPYSALIC NF 6 OINT 20GM",
  281.                 "quantity": 1,
  282.                 "rxDetail": {
  283.                   "mappingType": "DIRECT",
  284.                   "version": 3,
  285.                   "rxId": "632824f7c32dc55f05f27d15",
  286.                   "itemId": "196214",
  287.                   "itemType": "PRODUCT",
  288.                   "isSubstitutionAllowed": null
  289.                 },
  290.                 "discountedUnitMrp": "161.5"
  291.               },
  292.               {
  293.                 "itemIdentifier": "18d7c0ad-bd20-4156-8198-b57f25b0abb3|275104|PRODUCT",
  294.                 "itemType": "PRODUCT",
  295.                 "itemId": "275104",
  296.                 "name": "CIPLADINE BOTTLE OF 100ML GARGLE",
  297.                 "quantity": 1,
  298.                 "rxDetail": null,
  299.                 "discountedUnitMrp": "153.34"
  300.               }
  301.             ],
  302.             "context": {
  303.               "cartId": "73786147",
  304.               "parentOrderId": "",
  305.               "childOrderId": ""
  306.             },
  307.             "attributes": {
  308.               "hasUploadedFiles": false,
  309.               "hasOrderNotes": false,
  310.               "isSubstitutionPitched": false,
  311.               "isSoftRoutingCompleted": false,
  312.               "isAwaitingPrescriptionUpload": false,
  313.               "needApprovalForSubstitution": false,
  314.               "hasAttachedPreviousPrescription": false
  315.             },
  316.             "origin": {
  317.               "source": "CONSUMER",
  318.               "platform": "ANDROID"
  319.             },
  320.             "commitments": {
  321.               "optionId": "e994f0f0-52b6-44c0-ba41-2ca62b342ebd",
  322.               "estimatedContactTime": 1664880813620,
  323.               "retailerGstStateCode": "24",
  324.               "retailerId": "2282",
  325.               "retailerType": "alpha_mp_seller",
  326.               "deliveryMode": "NON_COURIER",
  327.               "deliverySpeed": "STANDARD",
  328.               "charges": null,
  329.               "estimatedDeliveryDate": {
  330.                 "minTime": 1664994600000,
  331.                 "maxTime": 1665160200000
  332.               },
  333.               "fulfilabilityTier": null
  334.             }
  335.           }
  336.         ]
  337.       },
  338.       "analyticsBoxRequest": {},
  339.       "analyticsBoxResponse": {},
  340.       "abExperiment": {
  341.         "variant": null,
  342.         "experimentName": null
  343.       },
  344.       "splits": [
  345.         {
  346.           "splitId": "891c4808-0c15-4cf9-83d4-6ca1e55b6d4b",
  347.           "vertical": "PRODUCT",
  348.           "splitReasons": [
  349.             "FULFILLABLE"
  350.           ],
  351.           "items": [
  352.             {
  353.               "itemIdentifier": "18d7c0ad-bd20-4156-8198-b57f25b0abb3|196214|PRODUCT",
  354.               "itemType": "PRODUCT",
  355.               "itemId": "196214",
  356.               "name": "PROPYSALIC NF 6 OINT 20GM",
  357.               "quantity": 1,
  358.               "rxDetail": {
  359.                 "mappingType": "DIRECT",
  360.                 "version": 3,
  361.                 "rxId": "632824f7c32dc55f05f27d15",
  362.                 "itemId": "196214",
  363.                 "itemType": "PRODUCT",
  364.                 "isSubstitutionAllowed": null
  365.               },
  366.               "discountedUnitMrp": "161.5"
  367.             },
  368.             {
  369.               "itemIdentifier": "18d7c0ad-bd20-4156-8198-b57f25b0abb3|275104|PRODUCT",
  370.               "itemType": "PRODUCT",
  371.               "itemId": "275104",
  372.               "name": "CIPLADINE BOTTLE OF 100ML GARGLE",
  373.               "quantity": 1,
  374.               "rxDetail": null,
  375.               "discountedUnitMrp": "153.34"
  376.             },
  377.             {
  378.               "itemIdentifier": "18d7c0ad-bd20-4156-8198-b57f25b0abb3|I00301|PRODUCT",
  379.               "itemType": "PRODUCT",
  380.               "itemId": "I00301",
  381.               "name": "EBERNET 1% CREAM 30GM",
  382.               "quantity": 1,
  383.               "rxDetail": {
  384.                 "mappingType": "DIRECT",
  385.                 "version": 3,
  386.                 "rxId": "632824f7c32dc55f05f27d15",
  387.                 "itemId": "I00301",
  388.                 "itemType": "PRODUCT",
  389.                 "isSubstitutionAllowed": null
  390.               },
  391.               "discountedUnitMrp": "397.8"
  392.             }
  393.           ],
  394.           "context": {
  395.             "cartId": "7378614127",
  396.             "parentOrderId": "",
  397.             "childOrderId": ""
  398.           },
  399.           "attributes": {},
  400.           "origin": null,
  401.           "commitments": {
  402.             "optionId": "e994f0f0-52b6-44c0-ba41-2ca62b342ebd",
  403.             "estimatedContactTime": 1664880813620,
  404.             "retailerGstStateCode": "24",
  405.             "retailerId": "2282",
  406.             "retailerType": "alpha_mp_seller",
  407.             "deliveryMode": "NON_COURIER",
  408.             "deliverySpeed": "STANDARD",
  409.             "charges": null,
  410.             "estimatedDeliveryDate": {
  411.               "minTime": 1664994600000,
  412.               "maxTime": 1665160200000
  413.             },
  414.             "fulfilabilityTier": null
  415.           }
  416.         }
  417.       ]
  418.     },
  419.     "Error": null
  420.   }
  421. ]
Advertisement
Add Comment
Please, Sign In to add comment