gvsandeep

241201282077302784

Oct 19th, 2022
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 77.86 KB | None | 0 0
  1. [
  2.   {
  3.     "Timestamp": "2022-10-18T02:46:30.572+00:00",
  4.     "Topic": "oms.pe.split-service.events",
  5.     "Partition": 0,
  6.     "Offset": 8298857,
  7.     "SchemaId": null,
  8.     "SchemaType": null,
  9.     "Key": [
  10.       84,
  11.       117,
  12.       101,
  13.       32,
  14.       79,
  15.       99,
  16.       116,
  17.       32,
  18.       49,
  19.       56,
  20.       32,
  21.       48,
  22.       56,
  23.       58,
  24.       49,
  25.       54,
  26.       58,
  27.       51,
  28.       48,
  29.       32,
  30.       73,
  31.       83,
  32.       84,
  33.       32,
  34.       50,
  35.       48,
  36.       50,
  37.       50
  38.     ],
  39.     "Headers": {
  40.       "singularityheader": "appId=415*ctrlguid=1664570591*acctguid=87d0c50e-a3d3-467c-b6b0-88bd10008827*ts=1666061190552*btid=58201*guid=f5535416-20ff-4953-9bc8-01d7783d3daf*exitguid=65|3|50|49|1|50|1|2|12|3|167|1|2|13|2|95|3*donotresolve=true*unresolvedexitid=33348*tcop=1:494021*cidfrom=2300*etypeorder=CUSTOM*esubtype=Kafka*cidto={[UNRESOLVED][33348]}*tcop=1:494021",
  41.       "__TypeId__": "com.pharmeasy.splitservice.event.FinalSplitsEvaluationEvent"
  42.     },
  43.     "Message": {
  44.       "eventDetail": {
  45.         "id": "3aae7bda-50f5-4015-82cf-0c84784c40ad",
  46.         "timestamp": 1666061190572,
  47.         "eventType": "FINAL_SPLITS_EVALUATION",
  48.         "version": 1
  49.       },
  50.       "locationFacts": {
  51.         "cityId": 2,
  52.         "stateId": 1,
  53.         "supplyCityId": 13
  54.       },
  55.       "retailerAssignmentRequest": {
  56.         "currentTime": 1666061190563,
  57.         "deliveryPincode": 110030,
  58.         "hasAllPrefetchedRxs": false,
  59.         "context": {
  60.           "cartId": "74556581",
  61.           "parentOrderId": "",
  62.           "childOrderId": ""
  63.         }
  64.       },
  65.       "retailerAssignmentResponse": {
  66.         "retailerAssignmentDetails": [
  67.           {
  68.             "deliverySpeed": "STANDARD",
  69.             "assignmentTime": 1666064790563
  70.           },
  71.           {
  72.             "deliverySpeed": "PRIORITY",
  73.             "assignmentTime": 1666062990563
  74.           }
  75.         ]
  76.       },
  77.       "context": {
  78.         "identifier": "74556581|NA|NA",
  79.         "parentOrderId": "NA",
  80.         "cartId": "74556581",
  81.         "childOrderId": "NA"
  82.       },
  83.       "productAttributesMap": {
  84.         "I33569": {
  85.           "ucode": "I33569",
  86.           "vertical": "MEDICINE",
  87.           "medicineCategory": "CHRONIC",
  88.           "medicineType": "RX",
  89.           "fulfilability": "IN_STOCK",
  90.           "highMarginSubstituteAvailable": false,
  91.           "hasAvailableSubstitute": true,
  92.           "hasAvailableVariant": false,
  93.           "flipForGreen": false,
  94.           "discountedMrp": 637.5,
  95.           "volume": 27.49,
  96.           "privateLabelProduct": false,
  97.           "slowSellingMedicine": false,
  98.           "refrigerated": false
  99.         },
  100.         "085766": {
  101.           "ucode": "085766",
  102.           "vertical": "MEDICINE",
  103.           "medicineCategory": "CHRONIC",
  104.           "medicineType": "RX",
  105.           "fulfilability": "IN_STOCK",
  106.           "highMarginSubstituteAvailable": true,
  107.           "hasAvailableSubstitute": true,
  108.           "hasAvailableVariant": false,
  109.           "flipForGreen": true,
  110.           "discountedMrp": 57.83,
  111.           "volume": 60.77,
  112.           "privateLabelProduct": false,
  113.           "slowSellingMedicine": false,
  114.           "refrigerated": false
  115.         }
  116.       },
  117.       "softRoutingFacts": {
  118.         "d68dd6f5-0d0b-4bc2-b9dc-38a5c275b69f": {
  119.           "medicine_types": "RX",
  120.           "medicine_categories": "CHRONIC",
  121.           "source": "NEW_OMS",
  122.           "has_substitutable_yellow_medicines": false,
  123.           "has_higher_margin_substitutes": true,
  124.           "cart_value": 2028.16,
  125.           "supply_city_name": 13,
  126.           "demand_city_name": 2,
  127.           "order_placed_hour": 8,
  128.           "platform_type": "ANDROID",
  129.           "retailer_type": "alpha_mp_seller",
  130.           "delivery_types": "NON_COURIER",
  131.           "is_substitution_pitched": false
  132.         }
  133.       },
  134.       "softRoutingResponse": {
  135.         "d68dd6f5-0d0b-4bc2-b9dc-38a5c275b69f": {
  136.           "result": {
  137.             "can_be_performed_by_doctor": true,
  138.             "reason_keys": "PITCH_HIGHER_MARGIN_SUBSTITUTE"
  139.           },
  140.           "ruleSetVersionId": "4881"
  141.         }
  142.       },
  143.       "softRoutingCustomerSegmentFacts": {
  144.         "d68dd6f5-0d0b-4bc2-b9dc-38a5c275b69f": {
  145.           "customer_segment_ids": "71,46,43,44,70,47,41,42,584,411,247,248,168,586,628,98,288,703,588,602,37,195,583,356,478,754,96,305,562,603,250,823,755,706,450,651,581,162,500,608,821,193,393,707,788,563,477,597,382,262,699,240,253,216,572,544",
  146.           "soft_routing_reasons": "PITCH_HIGHER_MARGIN_SUBSTITUTE"
  147.         }
  148.       },
  149.       "softRoutingCustomerSegmentResponse": {
  150.         "d68dd6f5-0d0b-4bc2-b9dc-38a5c275b69f": {
  151.           "result": {
  152.             "is_soft_routing_allowed": true
  153.           },
  154.           "ruleSetVersionId": "4882"
  155.         }
  156.       },
  157.       "request": {
  158.         "placedAt": 1666061190546,
  159.         "customer": {
  160.           "customerId": "31774377",
  161.           "score": {
  162.             "value": "10.00",
  163.             "confidence": "1",
  164.             "label": "GREEN"
  165.           },
  166.           "segmentIds": [
  167.             71,
  168.             46,
  169.             43,
  170.             44,
  171.             70,
  172.             47,
  173.             41,
  174.             42,
  175.             584,
  176.             411,
  177.             247,
  178.             248,
  179.             168,
  180.             586,
  181.             628,
  182.             98,
  183.             288,
  184.             703,
  185.             588,
  186.             602,
  187.             37,
  188.             195,
  189.             583,
  190.             356,
  191.             478,
  192.             754,
  193.             96,
  194.             305,
  195.             562,
  196.             603,
  197.             250,
  198.             823,
  199.             755,
  200.             706,
  201.             450,
  202.             651,
  203.             581,
  204.             162,
  205.             500,
  206.             608,
  207.             821,
  208.             193,
  209.             393,
  210.             707,
  211.             788,
  212.             563,
  213.             477,
  214.             597,
  215.             382,
  216.             262,
  217.             699,
  218.             240,
  219.             253,
  220.             216,
  221.             572,
  222.             544
  223.           ],
  224.           "membershipDetail": null
  225.         },
  226.         "locationAttributes": {
  227.           "zoneId": "110030",
  228.           "zoneType": "PINCODE"
  229.         },
  230.         "splits": [
  231.           {
  232.             "splitId": "d68dd6f5-0d0b-4bc2-b9dc-38a5c275b69f",
  233.             "vertical": "PRODUCT",
  234.             "splitReasons": null,
  235.             "items": [
  236.               {
  237.                 "itemIdentifier": "3aae7bda-50f5-4015-82cf-0c84784c40ad|085766|PRODUCT",
  238.                 "itemType": "PRODUCT",
  239.                 "itemId": "085766",
  240.                 "name": "GLYCOMET 1GM STRIP OF 15 TABLETS",
  241.                 "quantity": 2,
  242.                 "rxDetail": {
  243.                   "mappingType": "DIRECT",
  244.                   "version": 4,
  245.                   "rxId": "6269783d6c8fbc3d4780171c",
  246.                   "itemId": "085766",
  247.                   "itemType": "PRODUCT",
  248.                   "isSubstitutionAllowed": true
  249.                 },
  250.                 "discountedUnitMrp": "57.83"
  251.               },
  252.               {
  253.                 "itemIdentifier": "3aae7bda-50f5-4015-82cf-0c84784c40ad|I33569|PRODUCT",
  254.                 "itemType": "PRODUCT",
  255.                 "itemId": "I33569",
  256.                 "name": "GLYXAMBI 10MG/5MG TABLETS 10'S",
  257.                 "quantity": 3,
  258.                 "rxDetail": {
  259.                   "mappingType": "SUBSTITUTE",
  260.                   "version": 6,
  261.                   "rxId": "6269783d06b6d31d285225e3",
  262.                   "itemId": "I38305",
  263.                   "itemType": "PRODUCT",
  264.                   "isSubstitutionAllowed": true
  265.                 },
  266.                 "discountedUnitMrp": "637.5"
  267.               }
  268.             ],
  269.             "context": {
  270.               "cartId": "74556581",
  271.               "parentOrderId": "",
  272.               "childOrderId": ""
  273.             },
  274.             "attributes": {
  275.               "hasUploadedFiles": false,
  276.               "hasOrderNotes": false,
  277.               "isSubstitutionPitched": false,
  278.               "isSoftRoutingCompleted": false,
  279.               "isAwaitingPrescriptionUpload": false,
  280.               "needApprovalForSubstitution": false,
  281.               "hasAttachedPreviousPrescription": false
  282.             },
  283.             "origin": {
  284.               "source": "CONSUMER",
  285.               "platform": "ANDROID"
  286.             },
  287.             "commitments": {
  288.               "optionId": "6efd6e18-6d88-43c1-ad65-6637ecd86201",
  289.               "estimatedContactTime": 1666064790563,
  290.               "retailerGstStateCode": "06",
  291.               "retailerId": "13546",
  292.               "retailerType": "alpha_mp_seller",
  293.               "deliveryMode": "NON_COURIER",
  294.               "deliverySpeed": "STANDARD",
  295.               "charges": [],
  296.               "estimatedDeliveryDate": {
  297.                 "minTime": 1666031400000,
  298.                 "maxTime": 1666110600000
  299.               },
  300.               "fulfilabilityTier": null
  301.             }
  302.           }
  303.         ]
  304.       },
  305.       "analyticsBoxRequest": {},
  306.       "analyticsBoxResponse": {},
  307.       "abExperiment": {
  308.         "variant": "A",
  309.         "experimentName": "flip-ds-experiment-1"
  310.       },
  311.       "splits": [
  312.         {
  313.           "splitId": "d68dd6f5-0d0b-4bc2-b9dc-38a5c275b69f",
  314.           "vertical": "DRAFT",
  315.           "splitReasons": [
  316.             "PITCH_HIGHER_MARGIN_SUBSTITUTE"
  317.           ],
  318.           "items": [
  319.             {
  320.               "itemIdentifier": "3aae7bda-50f5-4015-82cf-0c84784c40ad|085766|PRODUCT",
  321.               "itemType": "PRODUCT",
  322.               "itemId": "085766",
  323.               "name": "GLYCOMET 1GM STRIP OF 15 TABLETS",
  324.               "quantity": 2,
  325.               "rxDetail": {
  326.                 "mappingType": "DIRECT",
  327.                 "version": 4,
  328.                 "rxId": "6269783d6c8fbc3d4780171c",
  329.                 "itemId": "085766",
  330.                 "itemType": "PRODUCT",
  331.                 "isSubstitutionAllowed": true
  332.               },
  333.               "discountedUnitMrp": "57.83"
  334.             },
  335.             {
  336.               "itemIdentifier": "3aae7bda-50f5-4015-82cf-0c84784c40ad|I33569|PRODUCT",
  337.               "itemType": "PRODUCT",
  338.               "itemId": "I33569",
  339.               "name": "GLYXAMBI 10MG/5MG TABLETS 10'S",
  340.               "quantity": 3,
  341.               "rxDetail": {
  342.                 "mappingType": "SUBSTITUTE",
  343.                 "version": 6,
  344.                 "rxId": "6269783d06b6d31d285225e3",
  345.                 "itemId": "I38305",
  346.                 "itemType": "PRODUCT",
  347.                 "isSubstitutionAllowed": true
  348.               },
  349.               "discountedUnitMrp": "637.5"
  350.             }
  351.           ],
  352.           "context": {
  353.             "cartId": "74556581",
  354.             "parentOrderId": "",
  355.             "childOrderId": ""
  356.           },
  357.           "attributes": {},
  358.           "origin": null,
  359.           "commitments": {
  360.             "optionId": "6efd6e18-6d88-43c1-ad65-6637ecd86201",
  361.             "estimatedContactTime": 1666064790563,
  362.             "retailerGstStateCode": "06",
  363.             "retailerId": "13546",
  364.             "retailerType": "alpha_mp_seller",
  365.             "deliveryMode": "NON_COURIER",
  366.             "deliverySpeed": "STANDARD",
  367.             "charges": [],
  368.             "estimatedDeliveryDate": {
  369.               "minTime": 1666031400000,
  370.               "maxTime": 1666110600000
  371.             },
  372.             "fulfilabilityTier": null
  373.           }
  374.         }
  375.       ]
  376.     },
  377.     "Error": null
  378.   },
  379.   {
  380.     "Timestamp": "2022-10-18T02:46:37.236+00:00",
  381.     "Topic": "oms.pe.split-service.events",
  382.     "Partition": 2,
  383.     "Offset": 8311090,
  384.     "SchemaId": null,
  385.     "SchemaType": null,
  386.     "Key": [
  387.       84,
  388.       117,
  389.       101,
  390.       32,
  391.       79,
  392.       99,
  393.       116,
  394.       32,
  395.       49,
  396.       56,
  397.       32,
  398.       48,
  399.       56,
  400.       58,
  401.       49,
  402.       54,
  403.       58,
  404.       51,
  405.       55,
  406.       32,
  407.       73,
  408.       83,
  409.       84,
  410.       32,
  411.       50,
  412.       48,
  413.       50,
  414.       50
  415.     ],
  416.     "Headers": {
  417.       "singularityheader": "appId=415*ctrlguid=1664570591*acctguid=87d0c50e-a3d3-467c-b6b0-88bd10008827*ts=1666061197225*btid=58201*guid=60479f7c-6bab-48fa-8dc8-421c90a640ed*exitguid=65|3|50|49|1|50|1|2|10|3|172|1*donotresolve=true*unresolvedexitid=33348*tcop=1:494021*cidfrom=2300*etypeorder=CUSTOM*esubtype=Kafka*cidto={[UNRESOLVED][33348]}*tcop=1:494021",
  418.       "__TypeId__": "com.pharmeasy.splitservice.event.FinalSplitsEvaluationEvent"
  419.     },
  420.     "Message": {
  421.       "eventDetail": {
  422.         "id": "33f3f13f-0538-490b-a30d-cc4e927087d6",
  423.         "timestamp": 1666061197235,
  424.         "eventType": "FINAL_SPLITS_EVALUATION",
  425.         "version": 1
  426.       },
  427.       "locationFacts": {
  428.         "cityId": 2,
  429.         "stateId": 1,
  430.         "supplyCityId": 13
  431.       },
  432.       "retailerAssignmentRequest": null,
  433.       "retailerAssignmentResponse": null,
  434.       "context": {
  435.         "identifier": "74556581|NA|NA",
  436.         "parentOrderId": "NA",
  437.         "cartId": "74556581",
  438.         "childOrderId": "NA"
  439.       },
  440.       "productAttributesMap": {
  441.         "I33569": {
  442.           "ucode": "I33569",
  443.           "vertical": "MEDICINE",
  444.           "medicineCategory": "CHRONIC",
  445.           "medicineType": "RX",
  446.           "fulfilability": "IN_STOCK",
  447.           "highMarginSubstituteAvailable": false,
  448.           "hasAvailableSubstitute": true,
  449.           "hasAvailableVariant": false,
  450.           "flipForGreen": false,
  451.           "discountedMrp": 637.5,
  452.           "volume": 27.49,
  453.           "privateLabelProduct": false,
  454.           "slowSellingMedicine": false,
  455.           "refrigerated": false
  456.         },
  457.         "085766": {
  458.           "ucode": "085766",
  459.           "vertical": "MEDICINE",
  460.           "medicineCategory": "CHRONIC",
  461.           "medicineType": "RX",
  462.           "fulfilability": "IN_STOCK",
  463.           "highMarginSubstituteAvailable": true,
  464.           "hasAvailableSubstitute": true,
  465.           "hasAvailableVariant": false,
  466.           "flipForGreen": true,
  467.           "discountedMrp": 57.83,
  468.           "volume": 60.77,
  469.           "privateLabelProduct": false,
  470.           "slowSellingMedicine": false,
  471.           "refrigerated": false
  472.         }
  473.       },
  474.       "softRoutingFacts": {
  475.         "1872765f-ad4b-4452-b46e-813e4326633a": {
  476.           "medicine_types": "RX",
  477.           "medicine_categories": "CHRONIC",
  478.           "source": "NEW_OMS",
  479.           "has_substitutable_yellow_medicines": false,
  480.           "has_higher_margin_substitutes": true,
  481.           "is_priority_delivery_order": true,
  482.           "cart_value": 2028.16,
  483.           "supply_city_name": 13,
  484.           "demand_city_name": 2,
  485.           "order_placed_hour": 8,
  486.           "platform_type": "ANDROID",
  487.           "retailer_type": "alpha_mp_seller",
  488.           "delivery_types": "NON_COURIER",
  489.           "is_substitution_pitched": false
  490.         }
  491.       },
  492.       "softRoutingResponse": {
  493.         "1872765f-ad4b-4452-b46e-813e4326633a": {
  494.           "result": {
  495.             "can_be_performed_by_doctor": false,
  496.             "reason_keys": "NONE"
  497.           },
  498.           "ruleSetVersionId": "4881"
  499.         }
  500.       },
  501.       "softRoutingCustomerSegmentFacts": null,
  502.       "softRoutingCustomerSegmentResponse": null,
  503.       "request": {
  504.         "placedAt": 1666061197240,
  505.         "customer": {
  506.           "customerId": "31774377",
  507.           "score": {
  508.             "value": "10.00",
  509.             "confidence": "1",
  510.             "label": "GREEN"
  511.           },
  512.           "segmentIds": [
  513.             71,
  514.             46,
  515.             43,
  516.             44,
  517.             70,
  518.             47,
  519.             41,
  520.             42,
  521.             584,
  522.             411,
  523.             247,
  524.             248,
  525.             168,
  526.             586,
  527.             628,
  528.             98,
  529.             288,
  530.             703,
  531.             588,
  532.             602,
  533.             37,
  534.             195,
  535.             583,
  536.             356,
  537.             478,
  538.             754,
  539.             96,
  540.             305,
  541.             562,
  542.             603,
  543.             250,
  544.             823,
  545.             755,
  546.             706,
  547.             450,
  548.             651,
  549.             581,
  550.             162,
  551.             500,
  552.             608,
  553.             821,
  554.             193,
  555.             393,
  556.             707,
  557.             788,
  558.             563,
  559.             477,
  560.             597,
  561.             382,
  562.             262,
  563.             699,
  564.             240,
  565.             253,
  566.             216,
  567.             572,
  568.             544
  569.           ],
  570.           "membershipDetail": null
  571.         },
  572.         "locationAttributes": {
  573.           "zoneId": "110030",
  574.           "zoneType": "PINCODE"
  575.         },
  576.         "splits": [
  577.           {
  578.             "splitId": "1872765f-ad4b-4452-b46e-813e4326633a",
  579.             "vertical": "PRODUCT",
  580.             "splitReasons": null,
  581.             "items": [
  582.               {
  583.                 "itemIdentifier": "33f3f13f-0538-490b-a30d-cc4e927087d6|085766|PRODUCT",
  584.                 "itemType": "PRODUCT",
  585.                 "itemId": "085766",
  586.                 "name": "GLYCOMET 1GM STRIP OF 15 TABLETS",
  587.                 "quantity": 2,
  588.                 "rxDetail": {
  589.                   "mappingType": "DIRECT",
  590.                   "version": 4,
  591.                   "rxId": "6269783d6c8fbc3d4780171c",
  592.                   "itemId": "085766",
  593.                   "itemType": "PRODUCT",
  594.                   "isSubstitutionAllowed": true
  595.                 },
  596.                 "discountedUnitMrp": "57.83"
  597.               },
  598.               {
  599.                 "itemIdentifier": "33f3f13f-0538-490b-a30d-cc4e927087d6|I33569|PRODUCT",
  600.                 "itemType": "PRODUCT",
  601.                 "itemId": "I33569",
  602.                 "name": "GLYXAMBI 10MG/5MG TABLETS 10'S",
  603.                 "quantity": 3,
  604.                 "rxDetail": {
  605.                   "mappingType": "SUBSTITUTE",
  606.                   "version": 6,
  607.                   "rxId": "6269783d06b6d31d285225e3",
  608.                   "itemId": "I38305",
  609.                   "itemType": "PRODUCT",
  610.                   "isSubstitutionAllowed": true
  611.                 },
  612.                 "discountedUnitMrp": "637.5"
  613.               }
  614.             ],
  615.             "context": {
  616.               "cartId": "74556581",
  617.               "parentOrderId": "",
  618.               "childOrderId": ""
  619.             },
  620.             "attributes": {
  621.               "hasUploadedFiles": false,
  622.               "hasOrderNotes": false,
  623.               "isSubstitutionPitched": false,
  624.               "isSoftRoutingCompleted": false,
  625.               "isAwaitingPrescriptionUpload": false,
  626.               "needApprovalForSubstitution": false,
  627.               "hasAttachedPreviousPrescription": false
  628.             },
  629.             "origin": {
  630.               "source": "CONSUMER",
  631.               "platform": "ANDROID"
  632.             },
  633.             "commitments": {
  634.               "optionId": "a0ead89b-7cd5-4286-a520-f3135accc990",
  635.               "estimatedContactTime": 1666061190080,
  636.               "retailerGstStateCode": "06",
  637.               "retailerId": "13546",
  638.               "retailerType": "alpha_mp_seller",
  639.               "deliveryMode": "NON_COURIER",
  640.               "deliverySpeed": "PRIORITY",
  641.               "charges": [
  642.                 {
  643.                   "attributes": {},
  644.                   "type": "EXPRESS_CHARGE",
  645.                   "maxValue": "40",
  646.                   "applicableValue": "19",
  647.                   "label": "Express Delivery Charge",
  648.                   "description": "Priority Charges",
  649.                   "excludedAbove": "0",
  650.                   "exclusionReason": "Priority Charges",
  651.                   "returnableAmount": "0"
  652.                 }
  653.               ],
  654.               "estimatedDeliveryDate": {
  655.                 "minTime": 1666031400000,
  656.                 "maxTime": 1666074600000
  657.               },
  658.               "fulfilabilityTier": null
  659.             }
  660.           }
  661.         ]
  662.       },
  663.       "analyticsBoxRequest": {},
  664.       "analyticsBoxResponse": {},
  665.       "abExperiment": {
  666.         "variant": null,
  667.         "experimentName": null
  668.       },
  669.       "splits": [
  670.         {
  671.           "splitId": "1872765f-ad4b-4452-b46e-813e4326633a",
  672.           "vertical": "PRODUCT",
  673.           "splitReasons": [
  674.             "FULFILLABLE"
  675.           ],
  676.           "items": [
  677.             {
  678.               "itemIdentifier": "33f3f13f-0538-490b-a30d-cc4e927087d6|085766|PRODUCT",
  679.               "itemType": "PRODUCT",
  680.               "itemId": "085766",
  681.               "name": "GLYCOMET 1GM STRIP OF 15 TABLETS",
  682.               "quantity": 2,
  683.               "rxDetail": {
  684.                 "mappingType": "DIRECT",
  685.                 "version": 4,
  686.                 "rxId": "6269783d6c8fbc3d4780171c",
  687.                 "itemId": "085766",
  688.                 "itemType": "PRODUCT",
  689.                 "isSubstitutionAllowed": true
  690.               },
  691.               "discountedUnitMrp": "57.83"
  692.             },
  693.             {
  694.               "itemIdentifier": "33f3f13f-0538-490b-a30d-cc4e927087d6|I33569|PRODUCT",
  695.               "itemType": "PRODUCT",
  696.               "itemId": "I33569",
  697.               "name": "GLYXAMBI 10MG/5MG TABLETS 10'S",
  698.               "quantity": 3,
  699.               "rxDetail": {
  700.                 "mappingType": "SUBSTITUTE",
  701.                 "version": 6,
  702.                 "rxId": "6269783d06b6d31d285225e3",
  703.                 "itemId": "I38305",
  704.                 "itemType": "PRODUCT",
  705.                 "isSubstitutionAllowed": true
  706.               },
  707.               "discountedUnitMrp": "637.5"
  708.             }
  709.           ],
  710.           "context": {
  711.             "cartId": "74556581",
  712.             "parentOrderId": "",
  713.             "childOrderId": ""
  714.           },
  715.           "attributes": {},
  716.           "origin": null,
  717.           "commitments": {
  718.             "optionId": "a0ead89b-7cd5-4286-a520-f3135accc990",
  719.             "estimatedContactTime": 1666061190080,
  720.             "retailerGstStateCode": "06",
  721.             "retailerId": "13546",
  722.             "retailerType": "alpha_mp_seller",
  723.             "deliveryMode": "NON_COURIER",
  724.             "deliverySpeed": "PRIORITY",
  725.             "charges": [
  726.               {
  727.                 "attributes": {},
  728.                 "type": "EXPRESS_CHARGE",
  729.                 "maxValue": "40",
  730.                 "applicableValue": "19",
  731.                 "label": "Express Delivery Charge",
  732.                 "description": "Priority Charges",
  733.                 "excludedAbove": "0",
  734.                 "exclusionReason": "Priority Charges",
  735.                 "returnableAmount": "0"
  736.               }
  737.             ],
  738.             "estimatedDeliveryDate": {
  739.               "minTime": 1666031400000,
  740.               "maxTime": 1666074600000
  741.             },
  742.             "fulfilabilityTier": null
  743.           }
  744.         }
  745.       ]
  746.     },
  747.     "Error": null
  748.   },
  749.   {
  750.     "Timestamp": "2022-10-18T02:46:41.499+00:00",
  751.     "Topic": "oms.pe.split-service.events",
  752.     "Partition": 1,
  753.     "Offset": 8278015,
  754.     "SchemaId": null,
  755.     "SchemaType": null,
  756.     "Key": [
  757.       84,
  758.       117,
  759.       101,
  760.       32,
  761.       79,
  762.       99,
  763.       116,
  764.       32,
  765.       49,
  766.       56,
  767.       32,
  768.       48,
  769.       56,
  770.       58,
  771.       49,
  772.       54,
  773.       58,
  774.       52,
  775.       49,
  776.       32,
  777.       73,
  778.       83,
  779.       84,
  780.       32,
  781.       50,
  782.       48,
  783.       50,
  784.       50
  785.     ],
  786.     "Headers": {
  787.       "singularityheader": "appId=415*ctrlguid=1664570591*acctguid=87d0c50e-a3d3-467c-b6b0-88bd10008827*ts=1666061201487*btid=58201*guid=6dc0cc0f-b67e-4d65-a5e6-cf5efbc2d738*exitguid=65|5|50|49|1|50|1|2|10|2|174|1*donotresolve=true*unresolvedexitid=33348*tcop=1:494021*cidfrom=2300*etypeorder=CUSTOM*esubtype=Kafka*cidto={[UNRESOLVED][33348]}*tcop=1:494021",
  788.       "__TypeId__": "com.pharmeasy.splitservice.event.FinalSplitsEvaluationEvent"
  789.     },
  790.     "Message": {
  791.       "eventDetail": {
  792.         "id": "a02f62d1-76ef-4bf6-b6c5-8e4e84132c44",
  793.         "timestamp": 1666061201498,
  794.         "eventType": "FINAL_SPLITS_EVALUATION",
  795.         "version": 1
  796.       },
  797.       "locationFacts": {
  798.         "cityId": 2,
  799.         "stateId": 1,
  800.         "supplyCityId": 13
  801.       },
  802.       "retailerAssignmentRequest": null,
  803.       "retailerAssignmentResponse": null,
  804.       "context": {
  805.         "identifier": "74556581|NA|NA",
  806.         "parentOrderId": "NA",
  807.         "cartId": "74556581",
  808.         "childOrderId": "NA"
  809.       },
  810.       "productAttributesMap": {
  811.         "I33569": {
  812.           "ucode": "I33569",
  813.           "vertical": "MEDICINE",
  814.           "medicineCategory": "CHRONIC",
  815.           "medicineType": "RX",
  816.           "fulfilability": "IN_STOCK",
  817.           "highMarginSubstituteAvailable": false,
  818.           "hasAvailableSubstitute": true,
  819.           "hasAvailableVariant": false,
  820.           "flipForGreen": false,
  821.           "discountedMrp": 637.5,
  822.           "volume": 27.49,
  823.           "refrigerated": false,
  824.           "privateLabelProduct": false,
  825.           "slowSellingMedicine": false
  826.         },
  827.         "085766": {
  828.           "ucode": "085766",
  829.           "vertical": "MEDICINE",
  830.           "medicineCategory": "CHRONIC",
  831.           "medicineType": "RX",
  832.           "fulfilability": "IN_STOCK",
  833.           "highMarginSubstituteAvailable": true,
  834.           "hasAvailableSubstitute": true,
  835.           "hasAvailableVariant": false,
  836.           "flipForGreen": true,
  837.           "discountedMrp": 57.83,
  838.           "volume": 60.77,
  839.           "refrigerated": false,
  840.           "privateLabelProduct": false,
  841.           "slowSellingMedicine": false
  842.         }
  843.       },
  844.       "softRoutingFacts": {
  845.         "1872765f-ad4b-4452-b46e-813e4326633a": {
  846.           "medicine_types": "RX",
  847.           "medicine_categories": "CHRONIC",
  848.           "source": "NEW_OMS",
  849.           "has_substitutable_yellow_medicines": false,
  850.           "has_higher_margin_substitutes": true,
  851.           "is_priority_delivery_order": true,
  852.           "cart_value": 2028.16,
  853.           "supply_city_name": 13,
  854.           "demand_city_name": 2,
  855.           "order_placed_hour": 8,
  856.           "platform_type": "ANDROID",
  857.           "retailer_type": "alpha_mp_seller",
  858.           "delivery_types": "NON_COURIER",
  859.           "is_substitution_pitched": false
  860.         }
  861.       },
  862.       "softRoutingResponse": {
  863.         "1872765f-ad4b-4452-b46e-813e4326633a": {
  864.           "result": {
  865.             "can_be_performed_by_doctor": false,
  866.             "reason_keys": "NONE"
  867.           },
  868.           "ruleSetVersionId": "4881"
  869.         }
  870.       },
  871.       "softRoutingCustomerSegmentFacts": null,
  872.       "softRoutingCustomerSegmentResponse": null,
  873.       "request": {
  874.         "placedAt": 1666061201477,
  875.         "customer": {
  876.           "customerId": "31774377",
  877.           "score": null,
  878.           "segmentIds": [
  879.             71,
  880.             46,
  881.             43,
  882.             44,
  883.             70,
  884.             47,
  885.             41,
  886.             42,
  887.             584,
  888.             411,
  889.             247,
  890.             248,
  891.             168,
  892.             586,
  893.             628,
  894.             98,
  895.             288,
  896.             703,
  897.             588,
  898.             602,
  899.             37,
  900.             195,
  901.             583,
  902.             356,
  903.             478,
  904.             754,
  905.             96,
  906.             305,
  907.             562,
  908.             603,
  909.             250,
  910.             823,
  911.             755,
  912.             706,
  913.             450,
  914.             651,
  915.             581,
  916.             162,
  917.             500,
  918.             608,
  919.             821,
  920.             193,
  921.             393,
  922.             707,
  923.             788,
  924.             563,
  925.             477,
  926.             597,
  927.             382,
  928.             262,
  929.             699,
  930.             240,
  931.             253,
  932.             216,
  933.             572,
  934.             544
  935.           ],
  936.           "membershipDetail": null
  937.         },
  938.         "locationAttributes": {
  939.           "zoneId": "110030",
  940.           "zoneType": "PINCODE"
  941.         },
  942.         "splits": [
  943.           {
  944.             "splitId": "1872765f-ad4b-4452-b46e-813e4326633a",
  945.             "vertical": "PRODUCT",
  946.             "splitReasons": null,
  947.             "items": [
  948.               {
  949.                 "itemIdentifier": "a02f62d1-76ef-4bf6-b6c5-8e4e84132c44|085766|PRODUCT",
  950.                 "itemType": "PRODUCT",
  951.                 "itemId": "085766",
  952.                 "name": "GLYCOMET 1GM STRIP OF 15 TABLETS",
  953.                 "quantity": 2,
  954.                 "rxDetail": {
  955.                   "mappingType": "DIRECT",
  956.                   "version": 4,
  957.                   "rxId": "6269783d6c8fbc3d4780171c",
  958.                   "itemId": "085766",
  959.                   "itemType": "PRODUCT",
  960.                   "isSubstitutionAllowed": true
  961.                 },
  962.                 "discountedUnitMrp": "57.83"
  963.               },
  964.               {
  965.                 "itemIdentifier": "a02f62d1-76ef-4bf6-b6c5-8e4e84132c44|I33569|PRODUCT",
  966.                 "itemType": "PRODUCT",
  967.                 "itemId": "I33569",
  968.                 "name": "GLYXAMBI 10MG/5MG TABLETS 10'S",
  969.                 "quantity": 3,
  970.                 "rxDetail": {
  971.                   "mappingType": "SUBSTITUTE",
  972.                   "version": 6,
  973.                   "rxId": "6269783d06b6d31d285225e3",
  974.                   "itemId": "I38305",
  975.                   "itemType": "PRODUCT",
  976.                   "isSubstitutionAllowed": true
  977.                 },
  978.                 "discountedUnitMrp": "637.5"
  979.               }
  980.             ],
  981.             "context": {
  982.               "cartId": "74556581",
  983.               "parentOrderId": "",
  984.               "childOrderId": ""
  985.             },
  986.             "attributes": {
  987.               "hasUploadedFiles": false,
  988.               "hasOrderNotes": false,
  989.               "isSubstitutionPitched": false,
  990.               "isSoftRoutingCompleted": false,
  991.               "isAwaitingPrescriptionUpload": false,
  992.               "needApprovalForSubstitution": false,
  993.               "hasAttachedPreviousPrescription": false
  994.             },
  995.             "origin": {
  996.               "source": "CONSUMER",
  997.               "platform": "ANDROID"
  998.             },
  999.             "commitments": {
  1000.               "optionId": "a0ead89b-7cd5-4286-a520-f3135accc990",
  1001.               "estimatedContactTime": 1666061190080,
  1002.               "retailerGstStateCode": "06",
  1003.               "retailerId": "13546",
  1004.               "retailerType": "alpha_mp_seller",
  1005.               "deliveryMode": "NON_COURIER",
  1006.               "deliverySpeed": "PRIORITY",
  1007.               "charges": [
  1008.                 {
  1009.                   "attributes": {},
  1010.                   "type": "EXPRESS_CHARGE",
  1011.                   "maxValue": "40",
  1012.                   "applicableValue": "19",
  1013.                   "label": "Express Delivery Charge",
  1014.                   "description": "Priority Charges",
  1015.                   "excludedAbove": "0",
  1016.                   "exclusionReason": "Priority Charges",
  1017.                   "returnableAmount": "0"
  1018.                 }
  1019.               ],
  1020.               "estimatedDeliveryDate": {
  1021.                 "minTime": 1666031400000,
  1022.                 "maxTime": 1666074600000
  1023.               },
  1024.               "fulfilabilityTier": null
  1025.             }
  1026.           }
  1027.         ]
  1028.       },
  1029.       "analyticsBoxRequest": {},
  1030.       "analyticsBoxResponse": {},
  1031.       "abExperiment": {
  1032.         "variant": null,
  1033.         "experimentName": null
  1034.       },
  1035.       "splits": [
  1036.         {
  1037.           "splitId": "1872765f-ad4b-4452-b46e-813e4326633a",
  1038.           "vertical": "PRODUCT",
  1039.           "splitReasons": [
  1040.             "FULFILLABLE"
  1041.           ],
  1042.           "items": [
  1043.             {
  1044.               "itemIdentifier": "a02f62d1-76ef-4bf6-b6c5-8e4e84132c44|085766|PRODUCT",
  1045.               "itemType": "PRODUCT",
  1046.               "itemId": "085766",
  1047.               "name": "GLYCOMET 1GM STRIP OF 15 TABLETS",
  1048.               "quantity": 2,
  1049.               "rxDetail": {
  1050.                 "mappingType": "DIRECT",
  1051.                 "version": 4,
  1052.                 "rxId": "6269783d6c8fbc3d4780171c",
  1053.                 "itemId": "085766",
  1054.                 "itemType": "PRODUCT",
  1055.                 "isSubstitutionAllowed": true
  1056.               },
  1057.               "discountedUnitMrp": "57.83"
  1058.             },
  1059.             {
  1060.               "itemIdentifier": "a02f62d1-76ef-4bf6-b6c5-8e4e84132c44|I33569|PRODUCT",
  1061.               "itemType": "PRODUCT",
  1062.               "itemId": "I33569",
  1063.               "name": "GLYXAMBI 10MG/5MG TABLETS 10'S",
  1064.               "quantity": 3,
  1065.               "rxDetail": {
  1066.                 "mappingType": "SUBSTITUTE",
  1067.                 "version": 6,
  1068.                 "rxId": "6269783d06b6d31d285225e3",
  1069.                 "itemId": "I38305",
  1070.                 "itemType": "PRODUCT",
  1071.                 "isSubstitutionAllowed": true
  1072.               },
  1073.               "discountedUnitMrp": "637.5"
  1074.             }
  1075.           ],
  1076.           "context": {
  1077.             "cartId": "74556581",
  1078.             "parentOrderId": "",
  1079.             "childOrderId": ""
  1080.           },
  1081.           "attributes": {},
  1082.           "origin": null,
  1083.           "commitments": {
  1084.             "optionId": "a0ead89b-7cd5-4286-a520-f3135accc990",
  1085.             "estimatedContactTime": 1666061190080,
  1086.             "retailerGstStateCode": "06",
  1087.             "retailerId": "13546",
  1088.             "retailerType": "alpha_mp_seller",
  1089.             "deliveryMode": "NON_COURIER",
  1090.             "deliverySpeed": "PRIORITY",
  1091.             "charges": [
  1092.               {
  1093.                 "attributes": {},
  1094.                 "type": "EXPRESS_CHARGE",
  1095.                 "maxValue": "40",
  1096.                 "applicableValue": "19",
  1097.                 "label": "Express Delivery Charge",
  1098.                 "description": "Priority Charges",
  1099.                 "excludedAbove": "0",
  1100.                 "exclusionReason": "Priority Charges",
  1101.                 "returnableAmount": "0"
  1102.               }
  1103.             ],
  1104.             "estimatedDeliveryDate": {
  1105.               "minTime": 1666031400000,
  1106.               "maxTime": 1666074600000
  1107.             },
  1108.             "fulfilabilityTier": null
  1109.           }
  1110.         }
  1111.       ]
  1112.     },
  1113.     "Error": null
  1114.   },
  1115.   {
  1116.     "Timestamp": "2022-10-18T02:46:41.837+00:00",
  1117.     "Topic": "oms.pe.split-service.events",
  1118.     "Partition": 1,
  1119.     "Offset": 8278019,
  1120.     "SchemaId": null,
  1121.     "SchemaType": null,
  1122.     "Key": [
  1123.       84,
  1124.       117,
  1125.       101,
  1126.       32,
  1127.       79,
  1128.       99,
  1129.       116,
  1130.       32,
  1131.       49,
  1132.       56,
  1133.       32,
  1134.       48,
  1135.       56,
  1136.       58,
  1137.       49,
  1138.       54,
  1139.       58,
  1140.       52,
  1141.       49,
  1142.       32,
  1143.       73,
  1144.       83,
  1145.       84,
  1146.       32,
  1147.       50,
  1148.       48,
  1149.       50,
  1150.       50
  1151.     ],
  1152.     "Headers": {
  1153.       "singularityheader": "appId=415*ctrlguid=1664570591*acctguid=87d0c50e-a3d3-467c-b6b0-88bd10008827*ts=1666061201825*btid=58201*guid=c3566275-fb66-4af6-8310-38869b9afc99*exitguid=65|3|50|49|1|50|1|2|10|3|172|1*donotresolve=true*unresolvedexitid=33348*tcop=1:494021*cidfrom=2300*etypeorder=CUSTOM*esubtype=Kafka*cidto={[UNRESOLVED][33348]}*tcop=1:494021",
  1154.       "__TypeId__": "com.pharmeasy.splitservice.event.FinalSplitsEvaluationEvent"
  1155.     },
  1156.     "Message": {
  1157.       "eventDetail": {
  1158.         "id": "5c5a0d43-6dec-4b1c-a146-2f85b6fba590",
  1159.         "timestamp": 1666061201836,
  1160.         "eventType": "FINAL_SPLITS_EVALUATION",
  1161.         "version": 1
  1162.       },
  1163.       "locationFacts": {
  1164.         "cityId": 2,
  1165.         "stateId": 1,
  1166.         "supplyCityId": 13
  1167.       },
  1168.       "retailerAssignmentRequest": null,
  1169.       "retailerAssignmentResponse": null,
  1170.       "context": {
  1171.         "identifier": "74556581|NA|NA",
  1172.         "parentOrderId": "NA",
  1173.         "cartId": "74556581",
  1174.         "childOrderId": "NA"
  1175.       },
  1176.       "productAttributesMap": {
  1177.         "I33569": {
  1178.           "ucode": "I33569",
  1179.           "vertical": "MEDICINE",
  1180.           "medicineCategory": "CHRONIC",
  1181.           "medicineType": "RX",
  1182.           "fulfilability": "IN_STOCK",
  1183.           "highMarginSubstituteAvailable": false,
  1184.           "hasAvailableSubstitute": true,
  1185.           "hasAvailableVariant": false,
  1186.           "flipForGreen": false,
  1187.           "discountedMrp": 637.5,
  1188.           "volume": 27.49,
  1189.           "privateLabelProduct": false,
  1190.           "slowSellingMedicine": false,
  1191.           "refrigerated": false
  1192.         },
  1193.         "085766": {
  1194.           "ucode": "085766",
  1195.           "vertical": "MEDICINE",
  1196.           "medicineCategory": "CHRONIC",
  1197.           "medicineType": "RX",
  1198.           "fulfilability": "IN_STOCK",
  1199.           "highMarginSubstituteAvailable": true,
  1200.           "hasAvailableSubstitute": true,
  1201.           "hasAvailableVariant": false,
  1202.           "flipForGreen": true,
  1203.           "discountedMrp": 57.83,
  1204.           "volume": 60.77,
  1205.           "privateLabelProduct": false,
  1206.           "slowSellingMedicine": false,
  1207.           "refrigerated": false
  1208.         }
  1209.       },
  1210.       "softRoutingFacts": {
  1211.         "1872765f-ad4b-4452-b46e-813e4326633a": {
  1212.           "medicine_types": "RX",
  1213.           "medicine_categories": "CHRONIC",
  1214.           "source": "NEW_OMS",
  1215.           "has_substitutable_yellow_medicines": false,
  1216.           "has_higher_margin_substitutes": true,
  1217.           "is_priority_delivery_order": true,
  1218.           "cart_value": 2028.16,
  1219.           "supply_city_name": 13,
  1220.           "demand_city_name": 2,
  1221.           "order_placed_hour": 8,
  1222.           "platform_type": "ANDROID",
  1223.           "retailer_type": "alpha_mp_seller",
  1224.           "delivery_types": "NON_COURIER",
  1225.           "is_substitution_pitched": false
  1226.         }
  1227.       },
  1228.       "softRoutingResponse": {
  1229.         "1872765f-ad4b-4452-b46e-813e4326633a": {
  1230.           "result": {
  1231.             "can_be_performed_by_doctor": false,
  1232.             "reason_keys": "NONE"
  1233.           },
  1234.           "ruleSetVersionId": "4881"
  1235.         }
  1236.       },
  1237.       "softRoutingCustomerSegmentFacts": null,
  1238.       "softRoutingCustomerSegmentResponse": null,
  1239.       "request": {
  1240.         "placedAt": 1666061201840,
  1241.         "customer": {
  1242.           "customerId": "31774377",
  1243.           "score": {
  1244.             "value": "10.00",
  1245.             "confidence": "1",
  1246.             "label": "GREEN"
  1247.           },
  1248.           "segmentIds": [
  1249.             71,
  1250.             46,
  1251.             43,
  1252.             44,
  1253.             70,
  1254.             47,
  1255.             41,
  1256.             42,
  1257.             584,
  1258.             411,
  1259.             247,
  1260.             248,
  1261.             168,
  1262.             586,
  1263.             628,
  1264.             98,
  1265.             288,
  1266.             703,
  1267.             588,
  1268.             602,
  1269.             37,
  1270.             195,
  1271.             583,
  1272.             356,
  1273.             478,
  1274.             754,
  1275.             96,
  1276.             305,
  1277.             562,
  1278.             603,
  1279.             250,
  1280.             823,
  1281.             755,
  1282.             706,
  1283.             450,
  1284.             651,
  1285.             581,
  1286.             162,
  1287.             500,
  1288.             608,
  1289.             821,
  1290.             193,
  1291.             393,
  1292.             707,
  1293.             788,
  1294.             563,
  1295.             477,
  1296.             597,
  1297.             382,
  1298.             262,
  1299.             699,
  1300.             240,
  1301.             253,
  1302.             216,
  1303.             572,
  1304.             544
  1305.           ],
  1306.           "membershipDetail": null
  1307.         },
  1308.         "locationAttributes": {
  1309.           "zoneId": "110030",
  1310.           "zoneType": "PINCODE"
  1311.         },
  1312.         "splits": [
  1313.           {
  1314.             "splitId": "1872765f-ad4b-4452-b46e-813e4326633a",
  1315.             "vertical": "PRODUCT",
  1316.             "splitReasons": null,
  1317.             "items": [
  1318.               {
  1319.                 "itemIdentifier": "5c5a0d43-6dec-4b1c-a146-2f85b6fba590|085766|PRODUCT",
  1320.                 "itemType": "PRODUCT",
  1321.                 "itemId": "085766",
  1322.                 "name": "GLYCOMET 1GM STRIP OF 15 TABLETS",
  1323.                 "quantity": 2,
  1324.                 "rxDetail": {
  1325.                   "mappingType": "DIRECT",
  1326.                   "version": 4,
  1327.                   "rxId": "6269783d6c8fbc3d4780171c",
  1328.                   "itemId": "085766",
  1329.                   "itemType": "PRODUCT",
  1330.                   "isSubstitutionAllowed": true
  1331.                 },
  1332.                 "discountedUnitMrp": "57.83"
  1333.               },
  1334.               {
  1335.                 "itemIdentifier": "5c5a0d43-6dec-4b1c-a146-2f85b6fba590|I33569|PRODUCT",
  1336.                 "itemType": "PRODUCT",
  1337.                 "itemId": "I33569",
  1338.                 "name": "GLYXAMBI 10MG/5MG TABLETS 10'S",
  1339.                 "quantity": 3,
  1340.                 "rxDetail": {
  1341.                   "mappingType": "SUBSTITUTE",
  1342.                   "version": 6,
  1343.                   "rxId": "6269783d06b6d31d285225e3",
  1344.                   "itemId": "I38305",
  1345.                   "itemType": "PRODUCT",
  1346.                   "isSubstitutionAllowed": true
  1347.                 },
  1348.                 "discountedUnitMrp": "637.5"
  1349.               }
  1350.             ],
  1351.             "context": {
  1352.               "cartId": "74556581",
  1353.               "parentOrderId": "",
  1354.               "childOrderId": ""
  1355.             },
  1356.             "attributes": {
  1357.               "hasUploadedFiles": false,
  1358.               "hasOrderNotes": false,
  1359.               "isSubstitutionPitched": false,
  1360.               "isSoftRoutingCompleted": false,
  1361.               "isAwaitingPrescriptionUpload": false,
  1362.               "needApprovalForSubstitution": false,
  1363.               "hasAttachedPreviousPrescription": false
  1364.             },
  1365.             "origin": {
  1366.               "source": "CONSUMER",
  1367.               "platform": "ANDROID"
  1368.             },
  1369.             "commitments": {
  1370.               "optionId": "a0ead89b-7cd5-4286-a520-f3135accc990",
  1371.               "estimatedContactTime": 1666061190080,
  1372.               "retailerGstStateCode": "06",
  1373.               "retailerId": "13546",
  1374.               "retailerType": "alpha_mp_seller",
  1375.               "deliveryMode": "NON_COURIER",
  1376.               "deliverySpeed": "PRIORITY",
  1377.               "charges": [
  1378.                 {
  1379.                   "attributes": {},
  1380.                   "type": "EXPRESS_CHARGE",
  1381.                   "maxValue": "40",
  1382.                   "applicableValue": "19",
  1383.                   "label": "Express Delivery Charge",
  1384.                   "description": "Priority Charges",
  1385.                   "excludedAbove": "0",
  1386.                   "exclusionReason": "Priority Charges",
  1387.                   "returnableAmount": "0"
  1388.                 }
  1389.               ],
  1390.               "estimatedDeliveryDate": {
  1391.                 "minTime": 1666031400000,
  1392.                 "maxTime": 1666074600000
  1393.               },
  1394.               "fulfilabilityTier": null
  1395.             }
  1396.           }
  1397.         ]
  1398.       },
  1399.       "analyticsBoxRequest": {},
  1400.       "analyticsBoxResponse": {},
  1401.       "abExperiment": {
  1402.         "variant": null,
  1403.         "experimentName": null
  1404.       },
  1405.       "splits": [
  1406.         {
  1407.           "splitId": "1872765f-ad4b-4452-b46e-813e4326633a",
  1408.           "vertical": "PRODUCT",
  1409.           "splitReasons": [
  1410.             "FULFILLABLE"
  1411.           ],
  1412.           "items": [
  1413.             {
  1414.               "itemIdentifier": "5c5a0d43-6dec-4b1c-a146-2f85b6fba590|085766|PRODUCT",
  1415.               "itemType": "PRODUCT",
  1416.               "itemId": "085766",
  1417.               "name": "GLYCOMET 1GM STRIP OF 15 TABLETS",
  1418.               "quantity": 2,
  1419.               "rxDetail": {
  1420.                 "mappingType": "DIRECT",
  1421.                 "version": 4,
  1422.                 "rxId": "6269783d6c8fbc3d4780171c",
  1423.                 "itemId": "085766",
  1424.                 "itemType": "PRODUCT",
  1425.                 "isSubstitutionAllowed": true
  1426.               },
  1427.               "discountedUnitMrp": "57.83"
  1428.             },
  1429.             {
  1430.               "itemIdentifier": "5c5a0d43-6dec-4b1c-a146-2f85b6fba590|I33569|PRODUCT",
  1431.               "itemType": "PRODUCT",
  1432.               "itemId": "I33569",
  1433.               "name": "GLYXAMBI 10MG/5MG TABLETS 10'S",
  1434.               "quantity": 3,
  1435.               "rxDetail": {
  1436.                 "mappingType": "SUBSTITUTE",
  1437.                 "version": 6,
  1438.                 "rxId": "6269783d06b6d31d285225e3",
  1439.                 "itemId": "I38305",
  1440.                 "itemType": "PRODUCT",
  1441.                 "isSubstitutionAllowed": true
  1442.               },
  1443.               "discountedUnitMrp": "637.5"
  1444.             }
  1445.           ],
  1446.           "context": {
  1447.             "cartId": "74556581",
  1448.             "parentOrderId": "",
  1449.             "childOrderId": ""
  1450.           },
  1451.           "attributes": {},
  1452.           "origin": null,
  1453.           "commitments": {
  1454.             "optionId": "a0ead89b-7cd5-4286-a520-f3135accc990",
  1455.             "estimatedContactTime": 1666061190080,
  1456.             "retailerGstStateCode": "06",
  1457.             "retailerId": "13546",
  1458.             "retailerType": "alpha_mp_seller",
  1459.             "deliveryMode": "NON_COURIER",
  1460.             "deliverySpeed": "PRIORITY",
  1461.             "charges": [
  1462.               {
  1463.                 "attributes": {},
  1464.                 "type": "EXPRESS_CHARGE",
  1465.                 "maxValue": "40",
  1466.                 "applicableValue": "19",
  1467.                 "label": "Express Delivery Charge",
  1468.                 "description": "Priority Charges",
  1469.                 "excludedAbove": "0",
  1470.                 "exclusionReason": "Priority Charges",
  1471.                 "returnableAmount": "0"
  1472.               }
  1473.             ],
  1474.             "estimatedDeliveryDate": {
  1475.               "minTime": 1666031400000,
  1476.               "maxTime": 1666074600000
  1477.             },
  1478.             "fulfilabilityTier": null
  1479.           }
  1480.         }
  1481.       ]
  1482.     },
  1483.     "Error": null
  1484.   },
  1485.   {
  1486.     "Timestamp": "2022-10-18T02:46:42.354+00:00",
  1487.     "Topic": "oms.pe.split-service.events",
  1488.     "Partition": 0,
  1489.     "Offset": 8298892,
  1490.     "SchemaId": null,
  1491.     "SchemaType": null,
  1492.     "Key": [
  1493.       84,
  1494.       117,
  1495.       101,
  1496.       32,
  1497.       79,
  1498.       99,
  1499.       116,
  1500.       32,
  1501.       49,
  1502.       56,
  1503.       32,
  1504.       48,
  1505.       56,
  1506.       58,
  1507.       49,
  1508.       54,
  1509.       58,
  1510.       52,
  1511.       50,
  1512.       32,
  1513.       73,
  1514.       83,
  1515.       84,
  1516.       32,
  1517.       50,
  1518.       48,
  1519.       50,
  1520.       50
  1521.     ],
  1522.     "Headers": {
  1523.       "singularityheader": "appId=415*ctrlguid=1664570591*acctguid=87d0c50e-a3d3-467c-b6b0-88bd10008827*ts=1666061202343*btid=58201*guid=61888471-1dff-4187-b235-b55b122ae0a1*exitguid=65|3|50|49|1|50|1|2|10|3|172|1*donotresolve=true*unresolvedexitid=33348*tcop=1:494021*cidfrom=2300*etypeorder=CUSTOM*esubtype=Kafka*cidto={[UNRESOLVED][33348]}*tcop=1:494021",
  1524.       "__TypeId__": "com.pharmeasy.splitservice.event.FinalSplitsEvaluationEvent"
  1525.     },
  1526.     "Message": {
  1527.       "eventDetail": {
  1528.         "id": "4e57c67d-954f-4a67-86cc-2a728a9ddc68",
  1529.         "timestamp": 1666061202353,
  1530.         "eventType": "FINAL_SPLITS_EVALUATION",
  1531.         "version": 1
  1532.       },
  1533.       "locationFacts": {
  1534.         "cityId": 2,
  1535.         "stateId": 1,
  1536.         "supplyCityId": 13
  1537.       },
  1538.       "retailerAssignmentRequest": null,
  1539.       "retailerAssignmentResponse": null,
  1540.       "context": {
  1541.         "identifier": "74556581|NA|NA",
  1542.         "parentOrderId": "NA",
  1543.         "cartId": "74556581",
  1544.         "childOrderId": "NA"
  1545.       },
  1546.       "productAttributesMap": {
  1547.         "I33569": {
  1548.           "ucode": "I33569",
  1549.           "vertical": "MEDICINE",
  1550.           "medicineCategory": "CHRONIC",
  1551.           "medicineType": "RX",
  1552.           "fulfilability": "IN_STOCK",
  1553.           "highMarginSubstituteAvailable": false,
  1554.           "hasAvailableSubstitute": true,
  1555.           "hasAvailableVariant": false,
  1556.           "flipForGreen": false,
  1557.           "discountedMrp": 637.5,
  1558.           "volume": 27.49,
  1559.           "privateLabelProduct": false,
  1560.           "slowSellingMedicine": false,
  1561.           "refrigerated": false
  1562.         },
  1563.         "085766": {
  1564.           "ucode": "085766",
  1565.           "vertical": "MEDICINE",
  1566.           "medicineCategory": "CHRONIC",
  1567.           "medicineType": "RX",
  1568.           "fulfilability": "IN_STOCK",
  1569.           "highMarginSubstituteAvailable": true,
  1570.           "hasAvailableSubstitute": true,
  1571.           "hasAvailableVariant": false,
  1572.           "flipForGreen": true,
  1573.           "discountedMrp": 57.83,
  1574.           "volume": 60.77,
  1575.           "privateLabelProduct": false,
  1576.           "slowSellingMedicine": false,
  1577.           "refrigerated": false
  1578.         }
  1579.       },
  1580.       "softRoutingFacts": {
  1581.         "1872765f-ad4b-4452-b46e-813e4326633a": {
  1582.           "medicine_types": "RX",
  1583.           "medicine_categories": "CHRONIC",
  1584.           "source": "NEW_OMS",
  1585.           "has_substitutable_yellow_medicines": false,
  1586.           "has_higher_margin_substitutes": true,
  1587.           "is_priority_delivery_order": true,
  1588.           "cart_value": 2028.16,
  1589.           "supply_city_name": 13,
  1590.           "demand_city_name": 2,
  1591.           "order_placed_hour": 8,
  1592.           "platform_type": "ANDROID",
  1593.           "retailer_type": "alpha_mp_seller",
  1594.           "delivery_types": "NON_COURIER",
  1595.           "is_substitution_pitched": false
  1596.         }
  1597.       },
  1598.       "softRoutingResponse": {
  1599.         "1872765f-ad4b-4452-b46e-813e4326633a": {
  1600.           "result": {
  1601.             "can_be_performed_by_doctor": false,
  1602.             "reason_keys": "NONE"
  1603.           },
  1604.           "ruleSetVersionId": "4881"
  1605.         }
  1606.       },
  1607.       "softRoutingCustomerSegmentFacts": null,
  1608.       "softRoutingCustomerSegmentResponse": null,
  1609.       "request": {
  1610.         "placedAt": 1666061202359,
  1611.         "customer": {
  1612.           "customerId": "31774377",
  1613.           "score": {
  1614.             "value": "10.00",
  1615.             "confidence": "1",
  1616.             "label": "GREEN"
  1617.           },
  1618.           "segmentIds": [
  1619.             71,
  1620.             46,
  1621.             43,
  1622.             44,
  1623.             70,
  1624.             47,
  1625.             41,
  1626.             42,
  1627.             584,
  1628.             411,
  1629.             247,
  1630.             248,
  1631.             168,
  1632.             586,
  1633.             628,
  1634.             98,
  1635.             288,
  1636.             703,
  1637.             588,
  1638.             602,
  1639.             37,
  1640.             195,
  1641.             583,
  1642.             356,
  1643.             478,
  1644.             754,
  1645.             96,
  1646.             305,
  1647.             562,
  1648.             603,
  1649.             250,
  1650.             823,
  1651.             755,
  1652.             706,
  1653.             450,
  1654.             651,
  1655.             581,
  1656.             162,
  1657.             500,
  1658.             608,
  1659.             821,
  1660.             193,
  1661.             393,
  1662.             707,
  1663.             788,
  1664.             563,
  1665.             477,
  1666.             597,
  1667.             382,
  1668.             262,
  1669.             699,
  1670.             240,
  1671.             253,
  1672.             216,
  1673.             572,
  1674.             544
  1675.           ],
  1676.           "membershipDetail": null
  1677.         },
  1678.         "locationAttributes": {
  1679.           "zoneId": "110030",
  1680.           "zoneType": "PINCODE"
  1681.         },
  1682.         "splits": [
  1683.           {
  1684.             "splitId": "1872765f-ad4b-4452-b46e-813e4326633a",
  1685.             "vertical": "PRODUCT",
  1686.             "splitReasons": null,
  1687.             "items": [
  1688.               {
  1689.                 "itemIdentifier": "4e57c67d-954f-4a67-86cc-2a728a9ddc68|085766|PRODUCT",
  1690.                 "itemType": "PRODUCT",
  1691.                 "itemId": "085766",
  1692.                 "name": "GLYCOMET 1GM STRIP OF 15 TABLETS",
  1693.                 "quantity": 2,
  1694.                 "rxDetail": {
  1695.                   "mappingType": "DIRECT",
  1696.                   "version": 4,
  1697.                   "rxId": "6269783d6c8fbc3d4780171c",
  1698.                   "itemId": "085766",
  1699.                   "itemType": "PRODUCT",
  1700.                   "isSubstitutionAllowed": true
  1701.                 },
  1702.                 "discountedUnitMrp": "57.83"
  1703.               },
  1704.               {
  1705.                 "itemIdentifier": "4e57c67d-954f-4a67-86cc-2a728a9ddc68|I33569|PRODUCT",
  1706.                 "itemType": "PRODUCT",
  1707.                 "itemId": "I33569",
  1708.                 "name": "GLYXAMBI 10MG/5MG TABLETS 10'S",
  1709.                 "quantity": 3,
  1710.                 "rxDetail": {
  1711.                   "mappingType": "SUBSTITUTE",
  1712.                   "version": 6,
  1713.                   "rxId": "6269783d06b6d31d285225e3",
  1714.                   "itemId": "I38305",
  1715.                   "itemType": "PRODUCT",
  1716.                   "isSubstitutionAllowed": true
  1717.                 },
  1718.                 "discountedUnitMrp": "637.5"
  1719.               }
  1720.             ],
  1721.             "context": {
  1722.               "cartId": "74556581",
  1723.               "parentOrderId": "",
  1724.               "childOrderId": ""
  1725.             },
  1726.             "attributes": {
  1727.               "hasUploadedFiles": false,
  1728.               "hasOrderNotes": false,
  1729.               "isSubstitutionPitched": false,
  1730.               "isSoftRoutingCompleted": false,
  1731.               "isAwaitingPrescriptionUpload": false,
  1732.               "needApprovalForSubstitution": false,
  1733.               "hasAttachedPreviousPrescription": false
  1734.             },
  1735.             "origin": {
  1736.               "source": "CONSUMER",
  1737.               "platform": "ANDROID"
  1738.             },
  1739.             "commitments": {
  1740.               "optionId": "a0ead89b-7cd5-4286-a520-f3135accc990",
  1741.               "estimatedContactTime": 1666061190080,
  1742.               "retailerGstStateCode": "06",
  1743.               "retailerId": "13546",
  1744.               "retailerType": "alpha_mp_seller",
  1745.               "deliveryMode": "NON_COURIER",
  1746.               "deliverySpeed": "PRIORITY",
  1747.               "charges": [
  1748.                 {
  1749.                   "attributes": {},
  1750.                   "type": "EXPRESS_CHARGE",
  1751.                   "maxValue": "40",
  1752.                   "applicableValue": "19",
  1753.                   "label": "Express Delivery Charge",
  1754.                   "description": "Priority Charges",
  1755.                   "excludedAbove": "0",
  1756.                   "exclusionReason": "Priority Charges",
  1757.                   "returnableAmount": "0"
  1758.                 }
  1759.               ],
  1760.               "estimatedDeliveryDate": {
  1761.                 "minTime": 1666031400000,
  1762.                 "maxTime": 1666074600000
  1763.               },
  1764.               "fulfilabilityTier": null
  1765.             }
  1766.           }
  1767.         ]
  1768.       },
  1769.       "analyticsBoxRequest": {},
  1770.       "analyticsBoxResponse": {},
  1771.       "abExperiment": {
  1772.         "variant": null,
  1773.         "experimentName": null
  1774.       },
  1775.       "splits": [
  1776.         {
  1777.           "splitId": "1872765f-ad4b-4452-b46e-813e4326633a",
  1778.           "vertical": "PRODUCT",
  1779.           "splitReasons": [
  1780.             "FULFILLABLE"
  1781.           ],
  1782.           "items": [
  1783.             {
  1784.               "itemIdentifier": "4e57c67d-954f-4a67-86cc-2a728a9ddc68|085766|PRODUCT",
  1785.               "itemType": "PRODUCT",
  1786.               "itemId": "085766",
  1787.               "name": "GLYCOMET 1GM STRIP OF 15 TABLETS",
  1788.               "quantity": 2,
  1789.               "rxDetail": {
  1790.                 "mappingType": "DIRECT",
  1791.                 "version": 4,
  1792.                 "rxId": "6269783d6c8fbc3d4780171c",
  1793.                 "itemId": "085766",
  1794.                 "itemType": "PRODUCT",
  1795.                 "isSubstitutionAllowed": true
  1796.               },
  1797.               "discountedUnitMrp": "57.83"
  1798.             },
  1799.             {
  1800.               "itemIdentifier": "4e57c67d-954f-4a67-86cc-2a728a9ddc68|I33569|PRODUCT",
  1801.               "itemType": "PRODUCT",
  1802.               "itemId": "I33569",
  1803.               "name": "GLYXAMBI 10MG/5MG TABLETS 10'S",
  1804.               "quantity": 3,
  1805.               "rxDetail": {
  1806.                 "mappingType": "SUBSTITUTE",
  1807.                 "version": 6,
  1808.                 "rxId": "6269783d06b6d31d285225e3",
  1809.                 "itemId": "I38305",
  1810.                 "itemType": "PRODUCT",
  1811.                 "isSubstitutionAllowed": true
  1812.               },
  1813.               "discountedUnitMrp": "637.5"
  1814.             }
  1815.           ],
  1816.           "context": {
  1817.             "cartId": "74556581",
  1818.             "parentOrderId": "",
  1819.             "childOrderId": ""
  1820.           },
  1821.           "attributes": {},
  1822.           "origin": null,
  1823.           "commitments": {
  1824.             "optionId": "a0ead89b-7cd5-4286-a520-f3135accc990",
  1825.             "estimatedContactTime": 1666061190080,
  1826.             "retailerGstStateCode": "06",
  1827.             "retailerId": "13546",
  1828.             "retailerType": "alpha_mp_seller",
  1829.             "deliveryMode": "NON_COURIER",
  1830.             "deliverySpeed": "PRIORITY",
  1831.             "charges": [
  1832.               {
  1833.                 "attributes": {},
  1834.                 "type": "EXPRESS_CHARGE",
  1835.                 "maxValue": "40",
  1836.                 "applicableValue": "19",
  1837.                 "label": "Express Delivery Charge",
  1838.                 "description": "Priority Charges",
  1839.                 "excludedAbove": "0",
  1840.                 "exclusionReason": "Priority Charges",
  1841.                 "returnableAmount": "0"
  1842.               }
  1843.             ],
  1844.             "estimatedDeliveryDate": {
  1845.               "minTime": 1666031400000,
  1846.               "maxTime": 1666074600000
  1847.             },
  1848.             "fulfilabilityTier": null
  1849.           }
  1850.         }
  1851.       ]
  1852.     },
  1853.     "Error": null
  1854.   },
  1855.   {
  1856.     "Timestamp": "2022-10-18T02:46:44.691+00:00",
  1857.     "Topic": "oms.pe.split-service.events",
  1858.     "Partition": 0,
  1859.     "Offset": 8298907,
  1860.     "SchemaId": null,
  1861.     "SchemaType": null,
  1862.     "Key": [
  1863.       84,
  1864.       117,
  1865.       101,
  1866.       32,
  1867.       79,
  1868.       99,
  1869.       116,
  1870.       32,
  1871.       49,
  1872.       56,
  1873.       32,
  1874.       48,
  1875.       56,
  1876.       58,
  1877.       49,
  1878.       54,
  1879.       58,
  1880.       52,
  1881.       52,
  1882.       32,
  1883.       73,
  1884.       83,
  1885.       84,
  1886.       32,
  1887.       50,
  1888.       48,
  1889.       50,
  1890.       50
  1891.     ],
  1892.     "Headers": {
  1893.       "singularityheader": "appId=415*ctrlguid=1664570591*acctguid=87d0c50e-a3d3-467c-b6b0-88bd10008827*ts=1666061204679*btid=58201*guid=9a12b2e3-e013-45f6-8a13-55215c4a21a0*exitguid=65|3|50|49|1|50|1|2|10|3|172|1*donotresolve=true*unresolvedexitid=33348*tcop=1:494021*cidfrom=2300*etypeorder=CUSTOM*esubtype=Kafka*cidto={[UNRESOLVED][33348]}*tcop=1:494021",
  1894.       "__TypeId__": "com.pharmeasy.splitservice.event.FinalSplitsEvaluationEvent"
  1895.     },
  1896.     "Message": {
  1897.       "eventDetail": {
  1898.         "id": "8258233a-9da9-433f-a2c9-d52c9163ca70",
  1899.         "timestamp": 1666061204690,
  1900.         "eventType": "FINAL_SPLITS_EVALUATION",
  1901.         "version": 1
  1902.       },
  1903.       "locationFacts": {
  1904.         "cityId": 2,
  1905.         "stateId": 1,
  1906.         "supplyCityId": 13
  1907.       },
  1908.       "retailerAssignmentRequest": null,
  1909.       "retailerAssignmentResponse": null,
  1910.       "context": {
  1911.         "identifier": "74556581|NA|NA",
  1912.         "parentOrderId": "NA",
  1913.         "cartId": "74556581",
  1914.         "childOrderId": "NA"
  1915.       },
  1916.       "productAttributesMap": {
  1917.         "I33569": {
  1918.           "ucode": "I33569",
  1919.           "vertical": "MEDICINE",
  1920.           "medicineCategory": "CHRONIC",
  1921.           "medicineType": "RX",
  1922.           "fulfilability": "IN_STOCK",
  1923.           "highMarginSubstituteAvailable": false,
  1924.           "hasAvailableSubstitute": true,
  1925.           "hasAvailableVariant": false,
  1926.           "flipForGreen": false,
  1927.           "discountedMrp": 637.5,
  1928.           "volume": 27.49,
  1929.           "privateLabelProduct": false,
  1930.           "slowSellingMedicine": false,
  1931.           "refrigerated": false
  1932.         },
  1933.         "085766": {
  1934.           "ucode": "085766",
  1935.           "vertical": "MEDICINE",
  1936.           "medicineCategory": "CHRONIC",
  1937.           "medicineType": "RX",
  1938.           "fulfilability": "IN_STOCK",
  1939.           "highMarginSubstituteAvailable": true,
  1940.           "hasAvailableSubstitute": true,
  1941.           "hasAvailableVariant": false,
  1942.           "flipForGreen": true,
  1943.           "discountedMrp": 57.83,
  1944.           "volume": 60.77,
  1945.           "privateLabelProduct": false,
  1946.           "slowSellingMedicine": false,
  1947.           "refrigerated": false
  1948.         }
  1949.       },
  1950.       "softRoutingFacts": {
  1951.         "1872765f-ad4b-4452-b46e-813e4326633a": {
  1952.           "medicine_types": "RX",
  1953.           "medicine_categories": "CHRONIC",
  1954.           "source": "NEW_OMS",
  1955.           "has_substitutable_yellow_medicines": false,
  1956.           "has_higher_margin_substitutes": true,
  1957.           "is_priority_delivery_order": true,
  1958.           "cart_value": 2028.16,
  1959.           "supply_city_name": 13,
  1960.           "demand_city_name": 2,
  1961.           "order_placed_hour": 8,
  1962.           "platform_type": "ANDROID",
  1963.           "retailer_type": "alpha_mp_seller",
  1964.           "delivery_types": "NON_COURIER",
  1965.           "is_substitution_pitched": false
  1966.         }
  1967.       },
  1968.       "softRoutingResponse": {
  1969.         "1872765f-ad4b-4452-b46e-813e4326633a": {
  1970.           "result": {
  1971.             "can_be_performed_by_doctor": false,
  1972.             "reason_keys": "NONE"
  1973.           },
  1974.           "ruleSetVersionId": "4881"
  1975.         }
  1976.       },
  1977.       "softRoutingCustomerSegmentFacts": null,
  1978.       "softRoutingCustomerSegmentResponse": null,
  1979.       "request": {
  1980.         "placedAt": 1666061204672,
  1981.         "customer": {
  1982.           "customerId": "31774377",
  1983.           "score": {
  1984.             "value": "10.00",
  1985.             "confidence": "1",
  1986.             "label": "GREEN"
  1987.           },
  1988.           "segmentIds": [
  1989.             71,
  1990.             46,
  1991.             43,
  1992.             44,
  1993.             70,
  1994.             47,
  1995.             41,
  1996.             42,
  1997.             584,
  1998.             411,
  1999.             247,
  2000.             248,
  2001.             168,
  2002.             586,
  2003.             628,
  2004.             98,
  2005.             288,
  2006.             703,
  2007.             588,
  2008.             602,
  2009.             37,
  2010.             195,
  2011.             583,
  2012.             356,
  2013.             478,
  2014.             754,
  2015.             96,
  2016.             305,
  2017.             562,
  2018.             603,
  2019.             250,
  2020.             823,
  2021.             755,
  2022.             706,
  2023.             450,
  2024.             651,
  2025.             581,
  2026.             162,
  2027.             500,
  2028.             608,
  2029.             821,
  2030.             193,
  2031.             393,
  2032.             707,
  2033.             788,
  2034.             563,
  2035.             477,
  2036.             597,
  2037.             382,
  2038.             262,
  2039.             699,
  2040.             240,
  2041.             253,
  2042.             216,
  2043.             572,
  2044.             544
  2045.           ],
  2046.           "membershipDetail": null
  2047.         },
  2048.         "locationAttributes": {
  2049.           "zoneId": "110030",
  2050.           "zoneType": "PINCODE"
  2051.         },
  2052.         "splits": [
  2053.           {
  2054.             "splitId": "1872765f-ad4b-4452-b46e-813e4326633a",
  2055.             "vertical": "PRODUCT",
  2056.             "splitReasons": null,
  2057.             "items": [
  2058.               {
  2059.                 "itemIdentifier": "8258233a-9da9-433f-a2c9-d52c9163ca70|085766|PRODUCT",
  2060.                 "itemType": "PRODUCT",
  2061.                 "itemId": "085766",
  2062.                 "name": "GLYCOMET 1GM STRIP OF 15 TABLETS",
  2063.                 "quantity": 2,
  2064.                 "rxDetail": {
  2065.                   "mappingType": "DIRECT",
  2066.                   "version": 4,
  2067.                   "rxId": "6269783d6c8fbc3d4780171c",
  2068.                   "itemId": "085766",
  2069.                   "itemType": "PRODUCT",
  2070.                   "isSubstitutionAllowed": true
  2071.                 },
  2072.                 "discountedUnitMrp": "57.83"
  2073.               },
  2074.               {
  2075.                 "itemIdentifier": "8258233a-9da9-433f-a2c9-d52c9163ca70|I33569|PRODUCT",
  2076.                 "itemType": "PRODUCT",
  2077.                 "itemId": "I33569",
  2078.                 "name": "GLYXAMBI 10MG/5MG TABLETS 10'S",
  2079.                 "quantity": 3,
  2080.                 "rxDetail": {
  2081.                   "mappingType": "SUBSTITUTE",
  2082.                   "version": 6,
  2083.                   "rxId": "6269783d06b6d31d285225e3",
  2084.                   "itemId": "I38305",
  2085.                   "itemType": "PRODUCT",
  2086.                   "isSubstitutionAllowed": true
  2087.                 },
  2088.                 "discountedUnitMrp": "637.5"
  2089.               }
  2090.             ],
  2091.             "context": {
  2092.               "cartId": "74556581",
  2093.               "parentOrderId": "",
  2094.               "childOrderId": ""
  2095.             },
  2096.             "attributes": {
  2097.               "hasUploadedFiles": false,
  2098.               "hasOrderNotes": false,
  2099.               "isSubstitutionPitched": false,
  2100.               "isSoftRoutingCompleted": false,
  2101.               "isAwaitingPrescriptionUpload": false,
  2102.               "needApprovalForSubstitution": false,
  2103.               "hasAttachedPreviousPrescription": false
  2104.             },
  2105.             "origin": {
  2106.               "source": "CONSUMER",
  2107.               "platform": "ANDROID"
  2108.             },
  2109.             "commitments": {
  2110.               "optionId": "a0ead89b-7cd5-4286-a520-f3135accc990",
  2111.               "estimatedContactTime": 1666061190080,
  2112.               "retailerGstStateCode": "06",
  2113.               "retailerId": "13546",
  2114.               "retailerType": "alpha_mp_seller",
  2115.               "deliveryMode": "NON_COURIER",
  2116.               "deliverySpeed": "PRIORITY",
  2117.               "charges": [
  2118.                 {
  2119.                   "attributes": {},
  2120.                   "type": "EXPRESS_CHARGE",
  2121.                   "maxValue": "40",
  2122.                   "applicableValue": "19",
  2123.                   "label": "Express Delivery Charge",
  2124.                   "description": "Priority Charges",
  2125.                   "excludedAbove": "0",
  2126.                   "exclusionReason": "Priority Charges",
  2127.                   "returnableAmount": "0"
  2128.                 }
  2129.               ],
  2130.               "estimatedDeliveryDate": {
  2131.                 "minTime": 1666031400000,
  2132.                 "maxTime": 1666074600000
  2133.               },
  2134.               "fulfilabilityTier": null
  2135.             }
  2136.           }
  2137.         ]
  2138.       },
  2139.       "analyticsBoxRequest": {},
  2140.       "analyticsBoxResponse": {},
  2141.       "abExperiment": {
  2142.         "variant": null,
  2143.         "experimentName": null
  2144.       },
  2145.       "splits": [
  2146.         {
  2147.           "splitId": "1872765f-ad4b-4452-b46e-813e4326633a",
  2148.           "vertical": "PRODUCT",
  2149.           "splitReasons": [
  2150.             "FULFILLABLE"
  2151.           ],
  2152.           "items": [
  2153.             {
  2154.               "itemIdentifier": "8258233a-9da9-433f-a2c9-d52c9163ca70|085766|PRODUCT",
  2155.               "itemType": "PRODUCT",
  2156.               "itemId": "085766",
  2157.               "name": "GLYCOMET 1GM STRIP OF 15 TABLETS",
  2158.               "quantity": 2,
  2159.               "rxDetail": {
  2160.                 "mappingType": "DIRECT",
  2161.                 "version": 4,
  2162.                 "rxId": "6269783d6c8fbc3d4780171c",
  2163.                 "itemId": "085766",
  2164.                 "itemType": "PRODUCT",
  2165.                 "isSubstitutionAllowed": true
  2166.               },
  2167.               "discountedUnitMrp": "57.83"
  2168.             },
  2169.             {
  2170.               "itemIdentifier": "8258233a-9da9-433f-a2c9-d52c9163ca70|I33569|PRODUCT",
  2171.               "itemType": "PRODUCT",
  2172.               "itemId": "I33569",
  2173.               "name": "GLYXAMBI 10MG/5MG TABLETS 10'S",
  2174.               "quantity": 3,
  2175.               "rxDetail": {
  2176.                 "mappingType": "SUBSTITUTE",
  2177.                 "version": 6,
  2178.                 "rxId": "6269783d06b6d31d285225e3",
  2179.                 "itemId": "I38305",
  2180.                 "itemType": "PRODUCT",
  2181.                 "isSubstitutionAllowed": true
  2182.               },
  2183.               "discountedUnitMrp": "637.5"
  2184.             }
  2185.           ],
  2186.           "context": {
  2187.             "cartId": "74556581",
  2188.             "parentOrderId": "",
  2189.             "childOrderId": ""
  2190.           },
  2191.           "attributes": {},
  2192.           "origin": null,
  2193.           "commitments": {
  2194.             "optionId": "a0ead89b-7cd5-4286-a520-f3135accc990",
  2195.             "estimatedContactTime": 1666061190080,
  2196.             "retailerGstStateCode": "06",
  2197.             "retailerId": "13546",
  2198.             "retailerType": "alpha_mp_seller",
  2199.             "deliveryMode": "NON_COURIER",
  2200.             "deliverySpeed": "PRIORITY",
  2201.             "charges": [
  2202.               {
  2203.                 "attributes": {},
  2204.                 "type": "EXPRESS_CHARGE",
  2205.                 "maxValue": "40",
  2206.                 "applicableValue": "19",
  2207.                 "label": "Express Delivery Charge",
  2208.                 "description": "Priority Charges",
  2209.                 "excludedAbove": "0",
  2210.                 "exclusionReason": "Priority Charges",
  2211.                 "returnableAmount": "0"
  2212.               }
  2213.             ],
  2214.             "estimatedDeliveryDate": {
  2215.               "minTime": 1666031400000,
  2216.               "maxTime": 1666074600000
  2217.             },
  2218.             "fulfilabilityTier": null
  2219.           }
  2220.         }
  2221.       ]
  2222.     },
  2223.     "Error": null
  2224.   },
  2225.   {
  2226.     "Timestamp": "2022-10-18T02:46:46.866+00:00",
  2227.     "Topic": "oms.pe.split-service.events",
  2228.     "Partition": 2,
  2229.     "Offset": 8311161,
  2230.     "SchemaId": null,
  2231.     "SchemaType": null,
  2232.     "Key": [
  2233.       84,
  2234.       117,
  2235.       101,
  2236.       32,
  2237.       79,
  2238.       99,
  2239.       116,
  2240.       32,
  2241.       49,
  2242.       56,
  2243.       32,
  2244.       48,
  2245.       56,
  2246.       58,
  2247.       49,
  2248.       54,
  2249.       58,
  2250.       52,
  2251.       54,
  2252.       32,
  2253.       73,
  2254.       83,
  2255.       84,
  2256.       32,
  2257.       50,
  2258.       48,
  2259.       50,
  2260.       50
  2261.     ],
  2262.     "Headers": {
  2263.       "singularityheader": "appId=415*ctrlguid=1664570591*acctguid=87d0c50e-a3d3-467c-b6b0-88bd10008827*ts=1666061206846*btid=58201*guid=3c3f7817-d907-4059-97c5-a9005ab202aa*exitguid=65|5|50|49|1|50|1|2|10|3|172|1*donotresolve=true*unresolvedexitid=33348*tcop=1:494021*cidfrom=2300*etypeorder=CUSTOM*esubtype=Kafka*cidto={[UNRESOLVED][33348]}*tcop=1:494021",
  2264.       "__TypeId__": "com.pharmeasy.splitservice.event.FinalSplitsEvaluationEvent"
  2265.     },
  2266.     "Message": {
  2267.       "eventDetail": {
  2268.         "id": "ca18fa78-2924-45a4-b2f3-c59cb57f573f",
  2269.         "timestamp": 1666061206865,
  2270.         "eventType": "FINAL_SPLITS_EVALUATION",
  2271.         "version": 1
  2272.       },
  2273.       "locationFacts": {
  2274.         "cityId": 2,
  2275.         "stateId": 1,
  2276.         "supplyCityId": 13
  2277.       },
  2278.       "retailerAssignmentRequest": null,
  2279.       "retailerAssignmentResponse": null,
  2280.       "context": {
  2281.         "identifier": "74556581|NA|NA",
  2282.         "parentOrderId": "NA",
  2283.         "cartId": "74556581",
  2284.         "childOrderId": "NA"
  2285.       },
  2286.       "productAttributesMap": {
  2287.         "I33569": {
  2288.           "ucode": "I33569",
  2289.           "vertical": "MEDICINE",
  2290.           "medicineCategory": "CHRONIC",
  2291.           "medicineType": "RX",
  2292.           "fulfilability": "IN_STOCK",
  2293.           "highMarginSubstituteAvailable": false,
  2294.           "hasAvailableSubstitute": true,
  2295.           "hasAvailableVariant": false,
  2296.           "flipForGreen": false,
  2297.           "discountedMrp": 637.5,
  2298.           "volume": 27.49,
  2299.           "refrigerated": false,
  2300.           "privateLabelProduct": false,
  2301.           "slowSellingMedicine": false
  2302.         },
  2303.         "085766": {
  2304.           "ucode": "085766",
  2305.           "vertical": "MEDICINE",
  2306.           "medicineCategory": "CHRONIC",
  2307.           "medicineType": "RX",
  2308.           "fulfilability": "IN_STOCK",
  2309.           "highMarginSubstituteAvailable": true,
  2310.           "hasAvailableSubstitute": true,
  2311.           "hasAvailableVariant": false,
  2312.           "flipForGreen": true,
  2313.           "discountedMrp": 57.83,
  2314.           "volume": 60.77,
  2315.           "refrigerated": false,
  2316.           "privateLabelProduct": false,
  2317.           "slowSellingMedicine": false
  2318.         }
  2319.       },
  2320.       "softRoutingFacts": {
  2321.         "1872765f-ad4b-4452-b46e-813e4326633a": {
  2322.           "medicine_types": "RX",
  2323.           "medicine_categories": "CHRONIC",
  2324.           "source": "NEW_OMS",
  2325.           "has_substitutable_yellow_medicines": false,
  2326.           "has_higher_margin_substitutes": true,
  2327.           "is_priority_delivery_order": true,
  2328.           "cart_value": 2028.16,
  2329.           "supply_city_name": 13,
  2330.           "demand_city_name": 2,
  2331.           "order_placed_hour": 8,
  2332.           "platform_type": "ANDROID",
  2333.           "retailer_type": "alpha_mp_seller",
  2334.           "delivery_types": "NON_COURIER",
  2335.           "is_substitution_pitched": false
  2336.         }
  2337.       },
  2338.       "softRoutingResponse": {
  2339.         "1872765f-ad4b-4452-b46e-813e4326633a": {
  2340.           "result": {
  2341.             "can_be_performed_by_doctor": false,
  2342.             "reason_keys": "NONE"
  2343.           },
  2344.           "ruleSetVersionId": "4881"
  2345.         }
  2346.       },
  2347.       "softRoutingCustomerSegmentFacts": null,
  2348.       "softRoutingCustomerSegmentResponse": null,
  2349.       "request": {
  2350.         "placedAt": 1666061206834,
  2351.         "customer": {
  2352.           "customerId": "31774377",
  2353.           "score": null,
  2354.           "segmentIds": [
  2355.             71,
  2356.             46,
  2357.             43,
  2358.             44,
  2359.             70,
  2360.             47,
  2361.             41,
  2362.             42,
  2363.             584,
  2364.             411,
  2365.             247,
  2366.             248,
  2367.             168,
  2368.             586,
  2369.             628,
  2370.             98,
  2371.             288,
  2372.             703,
  2373.             588,
  2374.             602,
  2375.             37,
  2376.             195,
  2377.             583,
  2378.             356,
  2379.             478,
  2380.             754,
  2381.             96,
  2382.             305,
  2383.             562,
  2384.             603,
  2385.             250,
  2386.             823,
  2387.             755,
  2388.             706,
  2389.             450,
  2390.             651,
  2391.             581,
  2392.             162,
  2393.             500,
  2394.             608,
  2395.             821,
  2396.             193,
  2397.             393,
  2398.             707,
  2399.             788,
  2400.             563,
  2401.             477,
  2402.             597,
  2403.             382,
  2404.             262,
  2405.             699,
  2406.             240,
  2407.             253,
  2408.             216,
  2409.             572,
  2410.             544
  2411.           ],
  2412.           "membershipDetail": null
  2413.         },
  2414.         "locationAttributes": {
  2415.           "zoneId": "110030",
  2416.           "zoneType": "PINCODE"
  2417.         },
  2418.         "splits": [
  2419.           {
  2420.             "splitId": "1872765f-ad4b-4452-b46e-813e4326633a",
  2421.             "vertical": "PRODUCT",
  2422.             "splitReasons": null,
  2423.             "items": [
  2424.               {
  2425.                 "itemIdentifier": "ca18fa78-2924-45a4-b2f3-c59cb57f573f|085766|PRODUCT",
  2426.                 "itemType": "PRODUCT",
  2427.                 "itemId": "085766",
  2428.                 "name": "GLYCOMET 1GM STRIP OF 15 TABLETS",
  2429.                 "quantity": 2,
  2430.                 "rxDetail": {
  2431.                   "mappingType": "DIRECT",
  2432.                   "version": 4,
  2433.                   "rxId": "6269783d6c8fbc3d4780171c",
  2434.                   "itemId": "085766",
  2435.                   "itemType": "PRODUCT",
  2436.                   "isSubstitutionAllowed": true
  2437.                 },
  2438.                 "discountedUnitMrp": "57.83"
  2439.               },
  2440.               {
  2441.                 "itemIdentifier": "ca18fa78-2924-45a4-b2f3-c59cb57f573f|I33569|PRODUCT",
  2442.                 "itemType": "PRODUCT",
  2443.                 "itemId": "I33569",
  2444.                 "name": "GLYXAMBI 10MG/5MG TABLETS 10'S",
  2445.                 "quantity": 3,
  2446.                 "rxDetail": {
  2447.                   "mappingType": "SUBSTITUTE",
  2448.                   "version": 6,
  2449.                   "rxId": "6269783d06b6d31d285225e3",
  2450.                   "itemId": "I38305",
  2451.                   "itemType": "PRODUCT",
  2452.                   "isSubstitutionAllowed": true
  2453.                 },
  2454.                 "discountedUnitMrp": "637.5"
  2455.               }
  2456.             ],
  2457.             "context": {
  2458.               "cartId": "74556581",
  2459.               "parentOrderId": "",
  2460.               "childOrderId": ""
  2461.             },
  2462.             "attributes": {
  2463.               "hasUploadedFiles": false,
  2464.               "hasOrderNotes": false,
  2465.               "isSubstitutionPitched": false,
  2466.               "isSoftRoutingCompleted": false,
  2467.               "isAwaitingPrescriptionUpload": false,
  2468.               "needApprovalForSubstitution": false,
  2469.               "hasAttachedPreviousPrescription": false
  2470.             },
  2471.             "origin": {
  2472.               "source": "CONSUMER",
  2473.               "platform": "ANDROID"
  2474.             },
  2475.             "commitments": {
  2476.               "optionId": "a0ead89b-7cd5-4286-a520-f3135accc990",
  2477.               "estimatedContactTime": 1666061190080,
  2478.               "retailerGstStateCode": "06",
  2479.               "retailerId": "13546",
  2480.               "retailerType": "alpha_mp_seller",
  2481.               "deliveryMode": "NON_COURIER",
  2482.               "deliverySpeed": "PRIORITY",
  2483.               "charges": [
  2484.                 {
  2485.                   "attributes": {},
  2486.                   "type": "EXPRESS_CHARGE",
  2487.                   "maxValue": "40",
  2488.                   "applicableValue": "19",
  2489.                   "label": "Express Delivery Charge",
  2490.                   "description": "Priority Charges",
  2491.                   "excludedAbove": "0",
  2492.                   "exclusionReason": "Priority Charges",
  2493.                   "returnableAmount": "0"
  2494.                 }
  2495.               ],
  2496.               "estimatedDeliveryDate": {
  2497.                 "minTime": 1666031400000,
  2498.                 "maxTime": 1666074600000
  2499.               },
  2500.               "fulfilabilityTier": null
  2501.             }
  2502.           }
  2503.         ]
  2504.       },
  2505.       "analyticsBoxRequest": {},
  2506.       "analyticsBoxResponse": {},
  2507.       "abExperiment": {
  2508.         "variant": null,
  2509.         "experimentName": null
  2510.       },
  2511.       "splits": [
  2512.         {
  2513.           "splitId": "1872765f-ad4b-4452-b46e-813e4326633a",
  2514.           "vertical": "PRODUCT",
  2515.           "splitReasons": [
  2516.             "FULFILLABLE"
  2517.           ],
  2518.           "items": [
  2519.             {
  2520.               "itemIdentifier": "ca18fa78-2924-45a4-b2f3-c59cb57f573f|085766|PRODUCT",
  2521.               "itemType": "PRODUCT",
  2522.               "itemId": "085766",
  2523.               "name": "GLYCOMET 1GM STRIP OF 15 TABLETS",
  2524.               "quantity": 2,
  2525.               "rxDetail": {
  2526.                 "mappingType": "DIRECT",
  2527.                 "version": 4,
  2528.                 "rxId": "6269783d6c8fbc3d4780171c",
  2529.                 "itemId": "085766",
  2530.                 "itemType": "PRODUCT",
  2531.                 "isSubstitutionAllowed": true
  2532.               },
  2533.               "discountedUnitMrp": "57.83"
  2534.             },
  2535.             {
  2536.               "itemIdentifier": "ca18fa78-2924-45a4-b2f3-c59cb57f573f|I33569|PRODUCT",
  2537.               "itemType": "PRODUCT",
  2538.               "itemId": "I33569",
  2539.               "name": "GLYXAMBI 10MG/5MG TABLETS 10'S",
  2540.               "quantity": 3,
  2541.               "rxDetail": {
  2542.                 "mappingType": "SUBSTITUTE",
  2543.                 "version": 6,
  2544.                 "rxId": "6269783d06b6d31d285225e3",
  2545.                 "itemId": "I38305",
  2546.                 "itemType": "PRODUCT",
  2547.                 "isSubstitutionAllowed": true
  2548.               },
  2549.               "discountedUnitMrp": "637.5"
  2550.             }
  2551.           ],
  2552.           "context": {
  2553.             "cartId": "74556581",
  2554.             "parentOrderId": "",
  2555.             "childOrderId": ""
  2556.           },
  2557.           "attributes": {},
  2558.           "origin": null,
  2559.           "commitments": {
  2560.             "optionId": "a0ead89b-7cd5-4286-a520-f3135accc990",
  2561.             "estimatedContactTime": 1666061190080,
  2562.             "retailerGstStateCode": "06",
  2563.             "retailerId": "13546",
  2564.             "retailerType": "alpha_mp_seller",
  2565.             "deliveryMode": "NON_COURIER",
  2566.             "deliverySpeed": "PRIORITY",
  2567.             "charges": [
  2568.               {
  2569.                 "attributes": {},
  2570.                 "type": "EXPRESS_CHARGE",
  2571.                 "maxValue": "40",
  2572.                 "applicableValue": "19",
  2573.                 "label": "Express Delivery Charge",
  2574.                 "description": "Priority Charges",
  2575.                 "excludedAbove": "0",
  2576.                 "exclusionReason": "Priority Charges",
  2577.                 "returnableAmount": "0"
  2578.               }
  2579.             ],
  2580.             "estimatedDeliveryDate": {
  2581.               "minTime": 1666031400000,
  2582.               "maxTime": 1666074600000
  2583.             },
  2584.             "fulfilabilityTier": null
  2585.           }
  2586.         }
  2587.       ]
  2588.     },
  2589.     "Error": null
  2590.   }
  2591. ]
Advertisement
Add Comment
Please, Sign In to add comment