From 144652dd448dbe3001fd010eef5d8722a19ff723 Mon Sep 17 00:00:00 2001 From: Tushar Jaiswal Date: Mon, 16 Dec 2024 16:19:08 +0530 Subject: [PATCH 1/2] log_issue_fixed --- ekart/Cancel-RTO/confirm.json | 36 +- ekart/Cancel-RTO/init.json | 22 +- ekart/Cancel-RTO/on_cancel.json | 699 +++++++++--------- ekart/Cancel-RTO/on_confirm.json | 46 +- ekart/Cancel-RTO/on_init.json | 24 +- ekart/Cancel-RTO/on_search.json | 16 +- ekart/Cancel-RTO/on_status_rto_delivered.json | 218 ++++-- ekart/Cancel-RTO/out_for_delivery_status.json | 249 +++++++ ekart/Cancel-RTO/out_for_pickup_status.json | 248 +++++++ ekart/Cancel-RTO/pickup_complete_status.json | 249 +++++++ ekart/Cancel-RTO/search.json | 22 +- ekart/flow-1/on_search.json | 2 +- ekart/flow-1/search.json | 2 +- ekart/flow-2/confirm.json | 147 ++-- ekart/flow-2/init.json | 70 +- ekart/flow-2/on_confirm.json | 40 +- ekart/flow-2/on_init.json | 24 +- ekart/flow-2/on_search.json | 46 +- ekart/flow-2/on_status_delivered.json | 79 +- ekart/flow-2/on_status_in_transit.json | 75 +- ekart/flow-2/on_status_out_for_delivery.json | 77 +- ekart/flow-2/on_status_out_for_pickup.json | 73 +- ekart/flow-2/on_status_pickup_complete.json | 75 +- ekart/flow-2/on_update.json | 156 ++-- ekart/flow-2/search.json | 72 +- ekart/flow-2/update.json | 12 +- ekart/flow-3-Cancel/cancel.json | 10 +- ekart/flow-3-Cancel/confirm.json | 36 +- ekart/flow-3-Cancel/init.json | 22 +- ekart/flow-3-Cancel/on_cancel.json | 540 +++++++------- ekart/flow-3-Cancel/on_confirm.json | 46 +- ekart/flow-3-Cancel/on_init.json | 24 +- ekart/flow-3-Cancel/on_search.json | 278 +++---- ekart/flow-3-Cancel/on_status_cancelled.json | 157 ++-- ekart/flow-3-Cancel/search.json | 8 +- 35 files changed, 2252 insertions(+), 1648 deletions(-) create mode 100644 ekart/Cancel-RTO/out_for_delivery_status.json create mode 100644 ekart/Cancel-RTO/out_for_pickup_status.json create mode 100644 ekart/Cancel-RTO/pickup_complete_status.json diff --git a/ekart/Cancel-RTO/confirm.json b/ekart/Cancel-RTO/confirm.json index 3454dddaba..e9ebca1ea3 100644 --- a/ekart/Cancel-RTO/confirm.json +++ b/ekart/Cancel-RTO/confirm.json @@ -3,11 +3,11 @@ "action": "confirm", "bap_id": "pramaan.ondc.org/alpha/mock-server", "bap_uri": "https://pramaan.ondc.org/alpha/mock-server/lspbuyer", - "transaction_id": "c06e1f0d-ff2b-4565-aca7-ccd702be59a2", - "message_id": "7b61bb80-9121-4569-9335-782fccc8074d", + "transaction_id": "f5066114-9111-47c5-a2bf-a2e023d3623e", + "message_id": "22e04e36-e780-4770-bd5a-f8986b37e0c0", "city": "std:080", "country": "IND", - "timestamp": "2024-12-06T10:44:37.546Z", + "timestamp": "2024-12-16T06:35:53.839Z", "ttl": "PT30S", "bpp_id": "ondc-preprod.api.flipkart.com", "bpp_uri": "https://ondc-preprod.api.flipkart.com/", @@ -16,7 +16,7 @@ }, "message": { "order": { - "id": "dUvNAgwiBRXLmAcrMxXncmBeIhfZR73D", + "id": "BHD6mKmj7ZKNl2BOLAM4bQBNwfPZIWUN", "state": "Created", "provider": { "id": "Ekart" @@ -36,7 +36,7 @@ }, "time": { "label": "TAT", - "timestamp": "2024-12-11", + "timestamp": "2024-12-21", "duration": "P5D" }, "category_id": "Standard Delivery", @@ -79,10 +79,10 @@ "name": "7/6, August Kranti Marg", "building": "Siri Fort Institutional", "locality": "Siri Fort Institutional Area, Siri Fort", - "city": "New Delhi", - "state": "Delhi", + "city": "Bengaluru", + "state": "Karnataka", "country": "India", - "area_code": "110049" + "area_code": "560103" } }, "contact": { @@ -103,10 +103,10 @@ "name": "7/6, August Kranti Marg", "building": "Siri Fort Institutional", "locality": "Siri Fort Institutional Area, Siri Fort", - "city": "New Delhi", - "state": "Delhi", + "city": "Alappuzha", + "state": "Kerala", "country": "India", - "area_code": "110049" + "area_code": "688001" } }, "contact": { @@ -153,8 +153,8 @@ "tax_number": "29AAACU1901H1ZK", "phone": "9886098860", "email": "sharique.efgh@gmail.com", - "created_at": "2024-12-06T10:44:34.748Z", - "updated_at": "2024-12-06T10:44:34.748Z" + "created_at": "2024-12-16T06:35:52.501Z", + "updated_at": "2024-12-16T06:35:52.501Z" }, "payment": { "at_ondcorgsettlement_details": [ @@ -162,11 +162,7 @@ "settlement_counterparty": "seller-app", "settlement_type": "neft", "settlement_bank_account_no": "XXXXXXXXXXXX", - "settlement_ifsc_code": "XXXXXXXXx", - "upi_address": null, - "settlement_status": null, - "settlement_reference": null, - "settlement_timestamp": null + "settlement_ifsc_code": "XXXXXXXXx" } ], "type": "POST-FULFILLMENT", @@ -269,8 +265,8 @@ ] } ], - "created_at": "2024-12-06T10:44:37.545Z", - "updated_at": "2024-12-06T10:44:37.545Z" + "created_at": "2024-12-16T06:35:53.839Z", + "updated_at": "2024-12-16T06:35:53.839Z" } } } \ No newline at end of file diff --git a/ekart/Cancel-RTO/init.json b/ekart/Cancel-RTO/init.json index ef2e0526c2..cc0adf40d5 100644 --- a/ekart/Cancel-RTO/init.json +++ b/ekart/Cancel-RTO/init.json @@ -3,11 +3,11 @@ "action": "init", "bap_id": "pramaan.ondc.org/alpha/mock-server", "bap_uri": "https://pramaan.ondc.org/alpha/mock-server/lspbuyer", - "transaction_id": "c06e1f0d-ff2b-4565-aca7-ccd702be59a2", - "message_id": "24b3988e-4d8a-429c-b5b3-2f6cff35f133", + "transaction_id": "f5066114-9111-47c5-a2bf-a2e023d3623e", + "message_id": "ef377ba9-0dec-422c-8019-52b7f8dd5e8d", "city": "std:080", "country": "IND", - "timestamp": "2024-12-06T10:44:34.748Z", + "timestamp": "2024-12-16T06:35:52.502Z", "ttl": "PT30S", "bpp_id": "ondc-preprod.api.flipkart.com", "bpp_uri": "https://ondc-preprod.api.flipkart.com/", @@ -40,10 +40,10 @@ "name": "7/6, August Kranti Marg", "building": "Siri Fort Institutional", "locality": "Siri Fort Institutional Area, Siri Fort", - "city": "New Delhi", - "state": "Delhi", + "city": "Bengaluru", + "state": "Karnataka", "country": "India", - "area_code": "110049" + "area_code": "560103" } }, "contact": { @@ -58,10 +58,10 @@ "name": "7/6, August Kranti Marg", "building": "Siri Fort Institutional", "locality": "Siri Fort Institutional Area, Siri Fort", - "city": "New Delhi", - "state": "Delhi", + "city": "Alappuzha", + "state": "Kerala", "country": "India", - "area_code": "110049" + "area_code": "688001" } }, "contact": { @@ -85,8 +85,8 @@ "tax_number": "29AAACU1901H1ZK", "phone": "9886098860", "email": "sharique.efgh@gmail.com", - "created_at": "2024-12-06T10:44:34.748Z", - "updated_at": "2024-12-06T10:44:34.748Z" + "created_at": "2024-12-16T06:35:52.501Z", + "updated_at": "2024-12-16T06:35:52.501Z" }, "payment": { "collected_by": "BAP", diff --git a/ekart/Cancel-RTO/on_cancel.json b/ekart/Cancel-RTO/on_cancel.json index 73f1a00647..8d6392b125 100644 --- a/ekart/Cancel-RTO/on_cancel.json +++ b/ekart/Cancel-RTO/on_cancel.json @@ -1,357 +1,344 @@ { - "context": { - "domain": "nic2004:60232", - "action": "on_cancel", - "country": "IND", - "city": "std:080", - "core_version": "1.2.0", - "bap_id": "pramaan.ondc.org/alpha/mock-server", - "bap_uri": "https://pramaan.ondc.org/alpha/mock-server/lspbuyer", - "transaction_id": "c06e1f0d-ff2b-4565-aca7-ccd702be59a2", - "message_id": "7b61bb80-9121-4569-8335-782fccc8074d", - "timestamp": "2024-12-06T10:47:22.672Z", - "bpp_id": "ondc-preprod.api.flipkart.com", - "bpp_uri": "https://ondc-preprod.api.flipkart.com/", - "ttl": "PT30S" - }, - "message": { - "order": { - "id": "dUvNAgwiBRXLmAcrMxXncmBeIhfZR73D", - "state": "Cancelled", - "cancellation": { - "cancelled_by": "ondc-preprod.api.flipkart.com", - "reason": { - "id": "015" - } - }, - "provider": { - "id": "Ekart" - }, - "items": [ - { - "id": "ECONOMY", - "descriptor": { - "name": "ECONOMY", - "code": "P2H2P", - "short_desc": "Upto 5 working days for Delivery", - "long_desc": "Upto 5 working days for Delivery" - }, - "price": { - "currency": "INR", - "value": "59.87" - }, - "time": { - "label": "TAT", - "timestamp": "2024-12-11", - "duration": "P5D" - }, - "category_id": "Standard Delivery", - "fulfillment_id": "1", - "parent_item_id": "" - }, - { - "id": "ECONOMY-RTO", - "descriptor": { - "name": "ECONOMY-RTO", - "code": "P2H2P", - "short_desc": "Upto 5 working days for Delivery", - "long_desc": "Upto 5 working days for Delivery" - }, - "time": { - "label": "TAT", - "timestamp": "2024-12-11", - "duration": "P5D" - }, - "category_id": "Standard Delivery", - "fulfillment_id": "2" - } - ], - "billing": { - "name": "Mayur", - "address": { - "name": "7/6, August Kranti Marg", - "building": "Siri Fort Institutional", - "locality": "Siri Fort Institutional Area, Siri Fort", - "city": "New Delhi", - "state": "Delhi", - "country": "India", - "area_code": "140301" - }, - "email": "sharique.efgh@gmail.com", - "phone": "9886098860", - "created_at": "2024-12-06T10:44:34.748Z", - "updated_at": "2024-12-06T10:44:34.748Z", - "tax_number": "29AAACU1901H1ZK" - }, - "fulfillments": [ - { - "id": "1", - "state": { - "descriptor": { - "code": "Cancelled" - } - }, - "tracking": false, - "tags": [ - { - "code": "rto_event", - "list": [ - { - "code": "cancellation_reason_id", - "value": "015" - }, - { - "code": "cancelled_by", - "value": "ondc-preprod.api.flipkart.com" - }, - { - "code": "retry_count", - "value": "3" - }, - { - "code": "rto_id", - "value": "2" - } - ] - }, - { - "code": "precancel_state", - "list": [ - { - "code": "fulfillment_state", - "value": "Pending" - }, - { - "code": "updated_at", - "value": "2024-12-06T10:46:37.997444Z" - } - ] - } - ], - "type": "Delivery", - "start": { - "location": { - "gps": "12.929178,77.683249", - "address": { - "name": "7/6, August Kranti Marg", - "building": "Siri Fort Institutional", - "locality": "Siri Fort Institutional Area, Siri Fort", - "city": "New Delhi", - "state": "Delhi", - "country": "India", - "area_code": "110049" - } - }, - "time": { - "range": { - "start": "2024-12-06T10:44:38.245771Z", - "end": "2024-12-11T00:00:00.000Z" - } - }, - "contact": { - "phone": "9886098860", - "email": "abcd.efgh@gmail.com" - }, - "person": { - "name": "Mayur" - } - }, - "end": { - "location": { - "gps": "9.485331,76.326523", - "address": { - "name": "7/6, August Kranti Marg", - "building": "Siri Fort Institutional", - "locality": "Siri Fort Institutional Area, Siri Fort", - "city": "New Delhi", - "state": "Delhi", - "country": "India", - "area_code": "110049" - } - }, - "time": { - "range": { - "start": "2024-12-06T10:44:38.245790Z", - "end": "2024-12-11T00:00:00.000Z" - } - }, - "contact": { - "phone": "9886098860", - "email": "abcd.efgh@gmail.com" - }, - "person": { - "name": "Mayur" - } - }, - "@ondc/org/awb_no": "ACSP0612104437" - }, - { - "id": "2", - "tracking": false, - "state": { - "descriptor": { - "code": "RTO-Initiated" - } - }, - "type": "RTO", - "start": { - "time": { - "timestamp": "2024-12-06T10:47:22.515092Z" - } - } - } - ], - "quote": { - "price": { - "currency": "INR", - "value": "112.17" - }, - "breakup": [ - { - "@ondc/org/item_id": "1", - "@ondc/org/title_type": "delivery", - "price": { - "currency": "INR", - "value": "50.74" - } - }, - { - "@ondc/org/item_id": "1", - "@ondc/org/title_type": "tax", - "price": { - "currency": "INR", - "value": "9.13" - } - }, - { - "@ondc/org/item_id": "2", - "@ondc/org/title_type": "rto", - "price": { - "currency": "INR", - "value": "44.32" - } - }, - { - "@ondc/org/item_id": "2", - "@ondc/org/title_type": "tax", - "price": { - "currency": "INR", - "value": "7.98" - } - } - ] - }, - "payment": { - "at_ondcorgsettlement_details": [ - { - "settlement_counterparty": "seller-app", - "settlement_type": "neft", - "settlement_bank_account_no": "XXXXXXXXXXXX", - "settlement_ifsc_code": "XXXXXXXXx" - } - ], - "type": "POST-FULFILLMENT", - "status": "NOT-PAID", - "collected_by": "BAP" - }, - "created_at": "2024-12-06T10:44:37.545Z", - "updated_at": "2024-12-06T10:47:22.516264Z", - "@ondc/org/linked_order": { - "items": [ - { - "category_id": "Grocery", - "descriptor": { - "name": "Atta" - }, - "quantity": { - "count": 2, - "measure": { - "value": 0.5, - "unit": "kilogram" - } - }, - "price": { - "currency": "INR", - "value": "150.00" - } - } - ], - "provider": { - "descriptor": { - "name": "GPL Store" - }, - "address": { - "name": "Twin Towers", - "building": "Building or House No", - "street": "6th Block", - "locality": "our locality", - "city": "Mohali", - "state": "Punjab", - "area_code": "140301" - } - }, - "order": { - "id": "O1", - "weight": { - "value": 1, - "unit": "kilogram" - }, - "dimensions": { - "length": { - "value": 1, - "unit": "centimeter" - }, - "breadth": { - "value": 1, - "unit": "centimeter" - }, - "height": { - "value": 1, - "unit": "centimeter" - } - } - } - }, - "tags": [ - { - "code": "bpp_terms", - "list": [ - { - "code": "max_liability", - "value": "2" - }, - { - "code": "max_liability_cap", - "value": "10000" - }, - { - "code": "mandatory_arbitration", - "value": "false" - }, - { - "code": "court_jurisdiction", - "value": "Banglore" - }, - { - "code": "delay_interest", - "value": "1000" - }, - { - "code": "static_terms", - "value": "https://github.com/ONDC-Official/protocol-network-extension/discussions/79" - } - ] - }, - { - "code": "bap_terms", - "list": [ - { - "code": "accept_bpp_terms", - "value": "Y" - } - ] - } - ] - } - } -} + "context": { + "domain": "nic2004:60232", + "action": "on_cancel", + "country": "IND", + "city": "std:080", + "core_version": "1.2.0", + "bap_id": "pramaan.ondc.org/alpha/mock-server", + "bap_uri": "https://pramaan.ondc.org/alpha/mock-server/lspbuyer", + "transaction_id": "f5066114-9111-47c5-a2bf-a2e023d3623e", + "message_id": "0364ebc7-69de-49a3-ae5e-d79d2657157d", + "timestamp": "2024-12-16T06:38:57.936Z", + "bpp_id": "ondc-preprod.api.flipkart.com", + "bpp_uri": "https://ondc-preprod.api.flipkart.com/", + "ttl": "PT30S" + }, + "message": { + "order": { + "id": "BHD6mKmj7ZKNl2BOLAM4bQBNwfPZIWUN", + "state": "Cancelled", + "cancellation": { + "cancelled_by": "ondc-preprod.api.flipkart.com", + "reason": { + "id": "015" + } + }, + "provider": { + "id": "Ekart" + }, + "items": [ + { + "id": "ECONOMY", + "descriptor": { + "name": "ECONOMY", + "code": "P2H2P", + "short_desc": "Upto 5 working days for Delivery", + "long_desc": "Upto 5 working days for Delivery" + }, + "price": { + "currency": "INR", + "value": "59.87" + }, + "time": { + "label": "TAT", + "timestamp": "2024-12-21", + "duration": "P5D" + }, + "category_id": "Standard Delivery", + "fulfillment_id": "1", + "parent_item_id": "" + }, + { + "id": "ECONOMY-RTO", + "descriptor": { + "name": "ECONOMY-RTO", + "code": "P2H2P", + "short_desc": "Upto 5 working days for Delivery", + "long_desc": "Upto 5 working days for Delivery" + }, + "time": { + "label": "TAT", + "timestamp": "2024-12-21", + "duration": "P5D" + }, + "category_id": "Standard Delivery", + "fulfillment_id": "2" + } + ], + "billing": { + "name": "Mayur", + "address": { + "name": "7/6, August Kranti Marg", + "building": "Siri Fort Institutional", + "locality": "Siri Fort Institutional Area, Siri Fort", + "city": "New Delhi", + "state": "Delhi", + "country": "India", + "area_code": "140301" + }, + "email": "sharique.efgh@gmail.com", + "phone": "9886098860", + "created_at": "2024-12-16T06:35:52.501Z", + "updated_at": "2024-12-16T06:35:52.501Z", + "tax_number": "29AAACU1901H1ZK" + }, + "fulfillments": [ + { + "id": "1", + "state": { + "descriptor": { + "code": "Cancelled" + } + }, + "tracking": false, + "tags": [ + { + "code": "rto_event", + "list": [ + { + "code": "cancellation_reason_id", + "value": "015" + }, + { + "code": "cancelled_by", + "value": "ondc-preprod.api.flipkart.com" + }, + { + "code": "retry_count", + "value": "3" + }, + { + "code": "rto_id", + "value": "2" + } + ] + }, + { + "code": "precancel_state", + "list": [ + { + "code": "fulfillment_state", + "value": "Out-for-delivery" + }, + { + "code": "updated_at", + "value": "2024-12-16T06:36:49.845Z" + } + ] + } + ], + "type": "Delivery", + "start": { + "location": { + "gps": "12.929178,77.683249", + "address": { + "name": "7/6, August Kranti Marg", + "building": "Siri Fort Institutional", + "locality": "Siri Fort Institutional Area, Siri Fort", + "city": "Bengaluru", + "state": "Karnataka", + "country": "India", + "area_code": "560103" + } + }, + "time": { + "timestamp": "2024-12-16T06:36:43.531Z", + "range": { + "start": "2024-12-16T06:35:54.688Z", + "end": "2024-12-21T00:00:00.000Z" + } + }, + "contact": { + "phone": "9886098860", + "email": "abcd.efgh@gmail.com" + }, + "person": { + "name": "Mayur" + } + }, + "end": { + "location": { + "gps": "9.485331,76.326523", + "address": { + "name": "7/6, August Kranti Marg", + "building": "Siri Fort Institutional", + "locality": "Siri Fort Institutional Area, Siri Fort", + "city": "Alappuzha", + "state": "Kerala", + "country": "India", + "area_code": "688001" + } + }, + "time": { + "range": { + "start": "2024-12-16T06:35:54.688Z", + "end": "2024-12-21T00:00:00.000Z" + } + }, + "contact": { + "phone": "9886098860", + "email": "abcd.efgh@gmail.com" + }, + "person": { + "name": "Mayur" + } + }, + "@ondc/org/awb_no": "ACSP1612063554" + }, + { + "id": "2", + "state": { + "descriptor": { + "code": "RTO-Initiated" + } + }, + "tracking": false, + "type": "RTO", + "start": { + "location": { + "gps": "9.485331,76.326523", + "address": { + "name": "7/6, August Kranti Marg", + "building": "Siri Fort Institutional", + "locality": "Siri Fort Institutional Area, Siri Fort", + "city": "Alappuzha", + "state": "Kerala", + "country": "India", + "area_code": "688001" + } + }, + "time": { + "timestamp": "2024-12-16T06:38:57.002Z" + } + }, + "end": { + "location": { + "gps": "12.929178,77.683249", + "address": { + "name": "7/6, August Kranti Marg", + "building": "Siri Fort Institutional", + "locality": "Siri Fort Institutional Area, Siri Fort", + "city": "Bengaluru", + "state": "Karnataka", + "country": "India", + "area_code": "560103" + } + } + } + } + ], + "quote": { + "price": { + "currency": "INR", + "value": "112.17" + }, + "breakup": [ + { + "@ondc/org/item_id": "1", + "@ondc/org/title_type": "delivery", + "price": { + "currency": "INR", + "value": "50.74" + } + }, + { + "@ondc/org/item_id": "1", + "@ondc/org/title_type": "tax", + "price": { + "currency": "INR", + "value": "9.13" + } + }, + { + "@ondc/org/item_id": "2", + "@ondc/org/title_type": "rto", + "price": { + "currency": "INR", + "value": "44.32" + } + }, + { + "@ondc/org/item_id": "2", + "@ondc/org/title_type": "tax", + "price": { + "currency": "INR", + "value": "7.98" + } + } + ] + }, + "payment": { + "at_ondcorgsettlement_details": [ + { + "settlement_counterparty": "seller-app", + "settlement_type": "neft", + "settlement_bank_account_no": "XXXXXXXXXXXX", + "settlement_ifsc_code": "XXXXXXXXx" + } + ], + "type": "POST-FULFILLMENT", + "status": "NOT-PAID", + "collected_by": "BAP" + }, + "created_at": "2024-12-16T06:35:53.839Z", + "updated_at": "2024-12-16T06:38:57.002Z", + "@ondc/org/linked_order": { + "items": [ + { + "category_id": "Grocery", + "descriptor": { + "name": "Atta" + }, + "quantity": { + "count": 2, + "measure": { + "value": 0.5, + "unit": "kilogram" + } + }, + "price": { + "currency": "INR", + "value": "150.00" + } + } + ], + "provider": { + "descriptor": { + "name": "GPL Store" + }, + "address": { + "name": "Twin Towers", + "building": "Building or House No", + "street": "6th Block", + "locality": "our locality", + "city": "Mohali", + "state": "Punjab", + "area_code": "140301" + } + }, + "order": { + "id": "O1", + "weight": { + "value": 1, + "unit": "kilogram" + }, + "dimensions": { + "length": { + "value": 1, + "unit": "centimeter" + }, + "breadth": { + "value": 1, + "unit": "centimeter" + }, + "height": { + "value": 1, + "unit": "centimeter" + } + } + } + } + } + } +} \ No newline at end of file diff --git a/ekart/Cancel-RTO/on_confirm.json b/ekart/Cancel-RTO/on_confirm.json index 0f3c671214..e24fca3c57 100644 --- a/ekart/Cancel-RTO/on_confirm.json +++ b/ekart/Cancel-RTO/on_confirm.json @@ -7,16 +7,16 @@ "core_version": "1.2.0", "bap_id": "pramaan.ondc.org/alpha/mock-server", "bap_uri": "https://pramaan.ondc.org/alpha/mock-server/lspbuyer", - "transaction_id": "c06e1f0d-ff2b-4565-aca7-ccd702be59a2", - "message_id": "7b61bb80-9121-4569-9335-782fccc8074d", - "timestamp": "2024-12-06T10:44:37.948Z", + "transaction_id": "f5066114-9111-47c5-a2bf-a2e023d3623e", + "message_id": "22e04e36-e780-4770-bd5a-f8986b37e0c0", + "timestamp": "2024-12-16T06:35:54.705Z", "bpp_id": "ondc-preprod.api.flipkart.com", "bpp_uri": "https://ondc-preprod.api.flipkart.com/", "ttl": "PT30S" }, "message": { "order": { - "id": "dUvNAgwiBRXLmAcrMxXncmBeIhfZR73D", + "id": "BHD6mKmj7ZKNl2BOLAM4bQBNwfPZIWUN", "state": "Accepted", "provider": { "id": "Ekart" @@ -36,7 +36,7 @@ }, "time": { "label": "TAT", - "timestamp": "2024-12-11", + "timestamp": "2024-12-21", "duration": "P5D" }, "category_id": "Standard Delivery", @@ -57,8 +57,8 @@ }, "email": "sharique.efgh@gmail.com", "phone": "9886098860", - "created_at": "2024-12-06T10:44:34.748Z", - "updated_at": "2024-12-06T10:44:34.748Z", + "created_at": "2024-12-16T06:35:52.501Z", + "updated_at": "2024-12-16T06:35:52.501Z", "tax_number": "29AAACU1901H1ZK" }, "fulfillments": [ @@ -98,16 +98,16 @@ "name": "7/6, August Kranti Marg", "building": "Siri Fort Institutional", "locality": "Siri Fort Institutional Area, Siri Fort", - "city": "New Delhi", - "state": "Delhi", + "city": "Bengaluru", + "state": "Karnataka", "country": "India", - "area_code": "110049" + "area_code": "560103" } }, "time": { "range": { - "start": "2024-12-06T10:44:38.245771Z", - "end": "2024-12-11T00:00:00.000Z" + "start": "2024-12-16T06:35:54.688Z", + "end": "2024-12-21T00:00:00.000Z" } }, "contact": { @@ -125,16 +125,16 @@ "name": "7/6, August Kranti Marg", "building": "Siri Fort Institutional", "locality": "Siri Fort Institutional Area, Siri Fort", - "city": "New Delhi", - "state": "Delhi", + "city": "Alappuzha", + "state": "Kerala", "country": "India", - "area_code": "110049" + "area_code": "688001" } }, "time": { "range": { - "start": "2024-12-06T10:44:38.245790Z", - "end": "2024-12-11T00:00:00.000Z" + "start": "2024-12-16T06:35:54.688Z", + "end": "2024-12-21T00:00:00.000Z" } }, "contact": { @@ -145,7 +145,7 @@ "name": "Mayur" } }, - "@ondc/org/awb_no": "ACSP0612104437" + "@ondc/org/awb_no": "ACSP1612063554" } ], "quote": { @@ -178,19 +178,15 @@ "settlement_counterparty": "seller-app", "settlement_type": "neft", "settlement_bank_account_no": "XXXXXXXXXXXX", - "settlement_ifsc_code": "XXXXXXXXx", - "upi_address": null, - "settlement_status": null, - "settlement_reference": null, - "settlement_timestamp": null + "settlement_ifsc_code": "XXXXXXXXx" } ], "type": "POST-FULFILLMENT", "status": "NOT-PAID", "collected_by": "BAP" }, - "created_at": "2024-12-06T10:44:37.545Z", - "updated_at": "2024-12-06T10:44:38.245302Z", + "created_at": "2024-12-16T06:35:53.839Z", + "updated_at": "2024-12-16T06:35:54.688Z", "@ondc/org/linked_order": { "items": [ { diff --git a/ekart/Cancel-RTO/on_init.json b/ekart/Cancel-RTO/on_init.json index 74a4e4a2a8..3594e01196 100644 --- a/ekart/Cancel-RTO/on_init.json +++ b/ekart/Cancel-RTO/on_init.json @@ -7,9 +7,9 @@ "core_version": "1.2.0", "bap_id": "pramaan.ondc.org/alpha/mock-server", "bap_uri": "https://pramaan.ondc.org/alpha/mock-server/lspbuyer", - "transaction_id": "c06e1f0d-ff2b-4565-aca7-ccd702be59a2", - "message_id": "24b3988e-4d8a-429c-b5b3-2f6cff35f133", - "timestamp": "2024-12-06T10:44:35.156Z", + "transaction_id": "f5066114-9111-47c5-a2bf-a2e023d3623e", + "message_id": "ef377ba9-0dec-422c-8019-52b7f8dd5e8d", + "timestamp": "2024-12-16T06:35:52.757Z", "bpp_id": "ondc-preprod.api.flipkart.com", "bpp_uri": "https://ondc-preprod.api.flipkart.com/" }, @@ -35,10 +35,10 @@ "name": "7/6, August Kranti Marg", "building": "Siri Fort Institutional", "locality": "Siri Fort Institutional Area, Siri Fort", - "city": "New Delhi", - "state": "Delhi", + "city": "Bengaluru", + "state": "Karnataka", "country": "India", - "area_code": "110049" + "area_code": "560103" } }, "contact": { @@ -53,10 +53,10 @@ "name": "7/6, August Kranti Marg", "building": "Siri Fort Institutional", "locality": "Siri Fort Institutional Area, Siri Fort", - "city": "New Delhi", - "state": "Delhi", + "city": "Alappuzha", + "state": "Kerala", "country": "India", - "area_code": "110049" + "area_code": "688001" } }, "contact": { @@ -97,11 +97,7 @@ "settlement_counterparty": "seller-app", "settlement_type": "neft", "settlement_bank_account_no": "XXXXXXXXXXXX", - "settlement_ifsc_code": "XXXXXXXXx", - "upi_address": null, - "settlement_status": null, - "settlement_reference": null, - "settlement_timestamp": null + "settlement_ifsc_code": "XXXXXXXXx" } ], "type": "POST-FULFILLMENT", diff --git a/ekart/Cancel-RTO/on_search.json b/ekart/Cancel-RTO/on_search.json index 3af64ffa2f..c739dbae80 100644 --- a/ekart/Cancel-RTO/on_search.json +++ b/ekart/Cancel-RTO/on_search.json @@ -7,9 +7,9 @@ "core_version": "1.2.0", "bap_id": "pramaan.ondc.org/alpha/mock-server", "bap_uri": "https://pramaan.ondc.org/alpha/mock-server/lspbuyer", - "transaction_id": "c06e1f0d-ff2b-4565-aca7-ccd702be59a2", - "message_id": "e50b0c14-a8ed-4c3c-891c-5a8d7d368224", - "timestamp": "2024-12-06T10:44:31.332Z", + "transaction_id": "f5066114-9111-47c5-a2bf-a2e023d3623e", + "message_id": "7467f572-7eb0-4749-a58d-2159e7749966", + "timestamp": "2024-12-16T06:35:51.301Z", "bpp_id": "ondc-preprod.api.flipkart.com", "bpp_uri": "https://ondc-preprod.api.flipkart.com/" }, @@ -32,7 +32,7 @@ { "time": { "label": "TAT", - "timestamp": "2024-12-07", + "timestamp": "2024-12-17", "duration": "PT1200M" }, "id": "Standard Delivery" @@ -63,7 +63,7 @@ }, "time": { "label": "TAT", - "timestamp": "2024-12-11", + "timestamp": "2024-12-21", "duration": "P5D" }, "category_id": "Standard Delivery", @@ -84,7 +84,7 @@ }, "time": { "label": "TAT", - "timestamp": "2024-12-11", + "timestamp": "2024-12-21", "duration": "P5D" }, "category_id": "Standard Delivery", @@ -105,7 +105,7 @@ }, "time": { "label": "TAT", - "timestamp": "2024-12-09", + "timestamp": "2024-12-19", "duration": "P3D" }, "category_id": "Standard Delivery", @@ -126,7 +126,7 @@ }, "time": { "label": "TAT", - "timestamp": "2024-12-09", + "timestamp": "2024-12-19", "duration": "P3D" }, "category_id": "Standard Delivery", diff --git a/ekart/Cancel-RTO/on_status_rto_delivered.json b/ekart/Cancel-RTO/on_status_rto_delivered.json index 8e43f33767..5a10ac3cbd 100644 --- a/ekart/Cancel-RTO/on_status_rto_delivered.json +++ b/ekart/Cancel-RTO/on_status_rto_delivered.json @@ -1,28 +1,32 @@ { "context": { "domain": "nic2004:60232", + "action": "on_status", "country": "IND", "city": "std:080", - "action": "on_status", "core_version": "1.2.0", "bap_id": "pramaan.ondc.org/alpha/mock-server", "bap_uri": "https://pramaan.ondc.org/alpha/mock-server/lspbuyer", + "transaction_id": "f5066114-9111-47c5-a2bf-a2e023d3623e", + "message_id": "dd4264e6-247d-4445-8541-1024914e100c", + "timestamp": "2024-12-16T06:40:19.810Z", "bpp_id": "ondc-preprod.api.flipkart.com", "bpp_uri": "https://ondc-preprod.api.flipkart.com/", - "transaction_id": "c06e1f0d-ff2b-4565-aca7-ccd702be59a2", - "message_id": "7b61vb80-9121-4569-9335-782fccc8074d", - "timestamp": "2024-12-06T10:49:31.935049Z", "ttl": "PT30S" }, "message": { "order": { - "id": "dUvNAgwiBRXLmAcrMxXncmBeIhfZR73D", + "id": "BHD6mKmj7ZKNl2BOLAM4bQBNwfPZIWUN", "state": "Cancelled", "cancellation": { "cancelled_by": "ondc-preprod.api.flipkart.com", - "reason": { "id": "015" } + "reason": { + "id": "015" + } + }, + "provider": { + "id": "Ekart" }, - "provider": { "id": "Ekart" }, "items": [ { "id": "ECONOMY", @@ -32,10 +36,13 @@ "short_desc": "Upto 5 working days for Delivery", "long_desc": "Upto 5 working days for Delivery" }, - "price": { "currency": "INR", "value": "59.87" }, + "price": { + "currency": "INR", + "value": "59.87" + }, "time": { "label": "TAT", - "timestamp": "2024-12-11", + "timestamp": "2024-12-21", "duration": "P5D" }, "category_id": "Standard Delivery", @@ -52,7 +59,7 @@ }, "time": { "label": "TAT", - "timestamp": "2024-12-11", + "timestamp": "2024-12-21", "duration": "P5D" }, "category_id": "Standard Delivery", @@ -72,14 +79,18 @@ }, "email": "sharique.efgh@gmail.com", "phone": "9886098860", - "created_at": "2024-12-06T10:44:34.748Z", - "updated_at": "2024-12-06T10:44:34.748Z", + "created_at": "2024-12-16T06:35:52.501Z", + "updated_at": "2024-12-16T06:35:52.501Z", "tax_number": "29AAACU1901H1ZK" }, "fulfillments": [ { "id": "1", - "state": { "descriptor": { "code": "Cancelled" } }, + "state": { + "descriptor": { + "code": "Cancelled" + } + }, "tracking": false, "tags": [ { @@ -93,7 +104,10 @@ "code": "cancelled_by", "value": "ondc-preprod.api.flipkart.com" }, - { "code": "retry_count", "value": "3" }, + { + "code": "retry_count", + "value": "3" + }, { "code": "rto_id", "value": "2" @@ -105,11 +119,11 @@ "list": [ { "code": "fulfillment_state", - "value": "Pending" + "value": "Out-for-delivery" }, { "code": "updated_at", - "value": "2024-12-06T10:46:37.997444Z" + "value": "2024-12-16T06:36:49.845Z" } ] } @@ -122,23 +136,26 @@ "name": "7/6, August Kranti Marg", "building": "Siri Fort Institutional", "locality": "Siri Fort Institutional Area, Siri Fort", - "city": "New Delhi", - "state": "Delhi", + "city": "Bengaluru", + "state": "Karnataka", "country": "India", - "area_code": "110049" + "area_code": "560103" } }, "time": { + "timestamp": "2024-12-16T06:36:43.531Z", "range": { - "start": "2024-12-06T10:44:38.245771Z", - "end": "2024-12-11T00:00:00.000Z" + "start": "2024-12-16T06:35:54.688Z", + "end": "2024-12-21T00:00:00.000Z" } }, "contact": { "phone": "9886098860", "email": "abcd.efgh@gmail.com" }, - "person": { "name": "Mayur" } + "person": { + "name": "Mayur" + } }, "end": { "location": { @@ -147,58 +164,110 @@ "name": "7/6, August Kranti Marg", "building": "Siri Fort Institutional", "locality": "Siri Fort Institutional Area, Siri Fort", - "city": "New Delhi", - "state": "Delhi", + "city": "Alappuzha", + "state": "Kerala", "country": "India", - "area_code": "110049" + "area_code": "688001" } }, "time": { - "timestamp": "2024-12-06T10:49:31.811425Z", "range": { - "start": "2024-12-06T10:44:38.245790Z", - "end": "2024-12-11T00:00:00.000Z" + "start": "2024-12-16T06:35:54.688Z", + "end": "2024-12-21T00:00:00.000Z" } }, "contact": { "phone": "9886098860", "email": "abcd.efgh@gmail.com" }, - "person": { "name": "Mayur" } + "person": { + "name": "Mayur" + } }, - "@ondc/org/awb_no": "ACSP0612104437" + "@ondc/org/awb_no": "ACSP1612063554" }, { "id": "2", - "state": { "descriptor": { "code": "RTO-Delivered" } }, + "state": { + "descriptor": { + "code": "RTO-Delivered" + } + }, + "tracking": false, "type": "RTO", "start": { - "time": { "timestamp": "2024-12-06T10:47:22.515092Z" } + "location": { + "gps": "9.485331,76.326523", + "address": { + "name": "7/6, August Kranti Marg", + "building": "Siri Fort Institutional", + "locality": "Siri Fort Institutional Area, Siri Fort", + "city": "Alappuzha", + "state": "Kerala", + "country": "India", + "area_code": "688001" + } + }, + "time": { + "timestamp": "2024-12-16T06:38:57.002Z" + } + }, + "end": { + "location": { + "gps": "12.929178,77.683249", + "address": { + "name": "7/6, August Kranti Marg", + "building": "Siri Fort Institutional", + "locality": "Siri Fort Institutional Area, Siri Fort", + "city": "Bengaluru", + "state": "Karnataka", + "country": "India", + "area_code": "560103" + } + }, + "time": { + "timestamp": "2024-12-16T06:40:19.652Z" + } } } ], "quote": { - "price": { "currency": "INR", "value": "112.17" }, + "price": { + "currency": "INR", + "value": "112.17" + }, "breakup": [ { "@ondc/org/item_id": "1", "@ondc/org/title_type": "delivery", - "price": { "currency": "INR", "value": "50.74" } + "price": { + "currency": "INR", + "value": "50.74" + } }, { "@ondc/org/item_id": "1", "@ondc/org/title_type": "tax", - "price": { "currency": "INR", "value": "9.13" } + "price": { + "currency": "INR", + "value": "9.13" + } }, { "@ondc/org/item_id": "2", "@ondc/org/title_type": "rto", - "price": { "currency": "INR", "value": "44.32" } + "price": { + "currency": "INR", + "value": "44.32" + } }, { "@ondc/org/item_id": "2", "@ondc/org/title_type": "tax", - "price": { "currency": "INR", "value": "7.98" } + "price": { + "currency": "INR", + "value": "7.98" + } } ] }, @@ -208,33 +277,39 @@ "settlement_counterparty": "seller-app", "settlement_type": "neft", "settlement_bank_account_no": "XXXXXXXXXXXX", - "settlement_ifsc_code": "XXXXXXXXx", - "upi_address": null, - "settlement_status": null, - "settlement_reference": null, - "settlement_timestamp": null + "settlement_ifsc_code": "XXXXXXXXx" } ], "type": "POST-FULFILLMENT", "status": "NOT-PAID", "collected_by": "BAP" }, - "created_at": "2024-12-06T10:44:37.545Z", - "updated_at": "2024-12-06T10:49:31.811383Z", + "created_at": "2024-12-16T06:35:53.839Z", + "updated_at": "2024-12-16T06:40:19.652Z", "@ondc/org/linked_order": { "items": [ { "category_id": "Grocery", - "descriptor": { "name": "Atta" }, + "descriptor": { + "name": "Atta" + }, "quantity": { "count": 2, - "measure": { "value": 0.5, "unit": "kilogram" } + "measure": { + "value": 0.5, + "unit": "kilogram" + } }, - "price": { "currency": "INR", "value": "150.00" } + "price": { + "currency": "INR", + "value": "150.00" + } } ], "provider": { - "descriptor": { "name": "GPL Store" }, + "descriptor": { + "name": "GPL Store" + }, "address": { "name": "Twin Towers", "building": "Building or House No", @@ -247,35 +322,26 @@ }, "order": { "id": "O1", - "weight": { "value": 1, "unit": "kilogram" }, + "weight": { + "value": 1, + "unit": "kilogram" + }, "dimensions": { - "length": { "value": 1, "unit": "centimeter" }, - "breadth": { "value": 1, "unit": "centimeter" }, - "height": { "value": 1, "unit": "centimeter" } - } - } - }, - "tags": [ - { - "code": "bpp_terms", - "list": [ - { "code": "max_liability", "value": "2" }, - { "code": "max_liability_cap", "value": "10000" }, - { "code": "mandatory_arbitration", "value": "false" }, - { "code": "court_jurisdiction", "value": "Banglore" }, - { "code": "delay_interest", "value": "1000" }, - { - "code": "static_terms", - "value": "https://github.com/ONDC-Official/protocol-network-extension/discussions/79" + "length": { + "value": 1, + "unit": "centimeter" + }, + "breadth": { + "value": 1, + "unit": "centimeter" + }, + "height": { + "value": 1, + "unit": "centimeter" } - ] - }, - { - "code": "bap_terms", - "list": [{ "code": "accept_bpp_terms", "value": "Y" }] + } } - ] + } } - }, - "error": null -} + } +} \ No newline at end of file diff --git a/ekart/Cancel-RTO/out_for_delivery_status.json b/ekart/Cancel-RTO/out_for_delivery_status.json new file mode 100644 index 0000000000..1a15b2b592 --- /dev/null +++ b/ekart/Cancel-RTO/out_for_delivery_status.json @@ -0,0 +1,249 @@ +{ + "context": { + "domain": "nic2004:60232", + "action": "on_status", + "country": "IND", + "city": "std:080", + "core_version": "1.2.0", + "bap_id": "pramaan.ondc.org/alpha/mock-server", + "bap_uri": "https://pramaan.ondc.org/alpha/mock-server/lspbuyer", + "transaction_id": "f5066114-9111-47c5-a2bf-a2e023d3623e", + "message_id": "7348090b-c910-4cc0-8b19-2aa308d93f29", + "timestamp": "2024-12-16T06:36:49.988Z", + "bpp_id": "ondc-preprod.api.flipkart.com", + "bpp_uri": "https://ondc-preprod.api.flipkart.com/", + "ttl": "PT30S" + }, + "message": { + "order": { + "id": "BHD6mKmj7ZKNl2BOLAM4bQBNwfPZIWUN", + "state": "In-progress", + "provider": { + "id": "Ekart" + }, + "items": [ + { + "id": "ECONOMY", + "descriptor": { + "name": "ECONOMY", + "code": "P2H2P", + "short_desc": "Upto 5 working days for Delivery", + "long_desc": "Upto 5 working days for Delivery" + }, + "price": { + "currency": "INR", + "value": "59.87" + }, + "time": { + "label": "TAT", + "timestamp": "2024-12-21", + "duration": "P5D" + }, + "category_id": "Standard Delivery", + "fulfillment_id": "1", + "parent_item_id": "" + } + ], + "billing": { + "name": "Mayur", + "address": { + "name": "7/6, August Kranti Marg", + "building": "Siri Fort Institutional", + "locality": "Siri Fort Institutional Area, Siri Fort", + "city": "New Delhi", + "state": "Delhi", + "country": "India", + "area_code": "140301" + }, + "email": "sharique.efgh@gmail.com", + "phone": "9886098860", + "created_at": "2024-12-16T06:35:52.501Z", + "updated_at": "2024-12-16T06:35:52.501Z", + "tax_number": "29AAACU1901H1ZK" + }, + "fulfillments": [ + { + "id": "1", + "state": { + "descriptor": { + "code": "Out-for-delivery" + } + }, + "tracking": false, + "tags": [ + { + "code": "state", + "list": [ + { + "code": "ready_to_ship", + "value": "yes" + } + ] + }, + { + "code": "rto_action", + "list": [ + { + "code": "return_to_origin", + "value": "yes" + } + ] + } + ], + "type": "Delivery", + "start": { + "location": { + "gps": "12.929178,77.683249", + "address": { + "name": "7/6, August Kranti Marg", + "building": "Siri Fort Institutional", + "locality": "Siri Fort Institutional Area, Siri Fort", + "city": "Bengaluru", + "state": "Karnataka", + "country": "India", + "area_code": "560103" + } + }, + "time": { + "timestamp": "2024-12-16T06:36:43.531Z", + "range": { + "start": "2024-12-16T06:35:54.688Z", + "end": "2024-12-21T00:00:00.000Z" + } + }, + "contact": { + "phone": "9886098860", + "email": "abcd.efgh@gmail.com" + }, + "person": { + "name": "Mayur" + } + }, + "end": { + "location": { + "gps": "9.485331,76.326523", + "address": { + "name": "7/6, August Kranti Marg", + "building": "Siri Fort Institutional", + "locality": "Siri Fort Institutional Area, Siri Fort", + "city": "Alappuzha", + "state": "Kerala", + "country": "India", + "area_code": "688001" + } + }, + "time": { + "range": { + "start": "2024-12-16T06:35:54.688Z", + "end": "2024-12-21T00:00:00.000Z" + } + }, + "contact": { + "phone": "9886098860", + "email": "abcd.efgh@gmail.com" + }, + "person": { + "name": "Mayur" + } + }, + "@ondc/org/awb_no": "ACSP1612063554" + } + ], + "quote": { + "price": { + "currency": "INR", + "value": "59.87" + }, + "breakup": [ + { + "@ondc/org/item_id": "1", + "@ondc/org/title_type": "delivery", + "price": { + "currency": "INR", + "value": "50.74" + } + }, + { + "@ondc/org/item_id": "1", + "@ondc/org/title_type": "tax", + "price": { + "currency": "INR", + "value": "9.13" + } + } + ] + }, + "payment": { + "at_ondcorgsettlement_details": [ + { + "settlement_counterparty": "seller-app", + "settlement_type": "neft", + "settlement_bank_account_no": "XXXXXXXXXXXX", + "settlement_ifsc_code": "XXXXXXXXx" + } + ], + "type": "POST-FULFILLMENT", + "status": "NOT-PAID", + "collected_by": "BAP" + }, + "created_at": "2024-12-16T06:35:53.839Z", + "updated_at": "2024-12-16T06:36:49.845Z", + "@ondc/org/linked_order": { + "items": [ + { + "category_id": "Grocery", + "descriptor": { + "name": "Atta" + }, + "quantity": { + "count": 2, + "measure": { + "value": 0.5, + "unit": "kilogram" + } + }, + "price": { + "currency": "INR", + "value": "150.00" + } + } + ], + "provider": { + "descriptor": { + "name": "GPL Store" + }, + "address": { + "name": "Twin Towers", + "building": "Building or House No", + "street": "6th Block", + "locality": "our locality", + "city": "Mohali", + "state": "Punjab", + "area_code": "140301" + } + }, + "order": { + "id": "O1", + "weight": { + "value": 1, + "unit": "kilogram" + }, + "dimensions": { + "length": { + "value": 1, + "unit": "centimeter" + }, + "breadth": { + "value": 1, + "unit": "centimeter" + }, + "height": { + "value": 1, + "unit": "centimeter" + } + } + } + } + } + } +} \ No newline at end of file diff --git a/ekart/Cancel-RTO/out_for_pickup_status.json b/ekart/Cancel-RTO/out_for_pickup_status.json new file mode 100644 index 0000000000..d5a5b75e7d --- /dev/null +++ b/ekart/Cancel-RTO/out_for_pickup_status.json @@ -0,0 +1,248 @@ +{ + "context": { + "domain": "nic2004:60232", + "action": "on_status", + "country": "IND", + "city": "std:080", + "core_version": "1.2.0", + "bap_id": "pramaan.ondc.org/alpha/mock-server", + "bap_uri": "https://pramaan.ondc.org/alpha/mock-server/lspbuyer", + "transaction_id": "f5066114-9111-47c5-a2bf-a2e023d3623e", + "message_id": "646737cc-f8dc-412d-bd4c-cc302c5db0a1", + "timestamp": "2024-12-16T06:36:37.428Z", + "bpp_id": "ondc-preprod.api.flipkart.com", + "bpp_uri": "https://ondc-preprod.api.flipkart.com/", + "ttl": "PT30S" + }, + "message": { + "order": { + "id": "BHD6mKmj7ZKNl2BOLAM4bQBNwfPZIWUN", + "state": "In-progress", + "provider": { + "id": "Ekart" + }, + "items": [ + { + "id": "ECONOMY", + "descriptor": { + "name": "ECONOMY", + "code": "P2H2P", + "short_desc": "Upto 5 working days for Delivery", + "long_desc": "Upto 5 working days for Delivery" + }, + "price": { + "currency": "INR", + "value": "59.87" + }, + "time": { + "label": "TAT", + "timestamp": "2024-12-21", + "duration": "P5D" + }, + "category_id": "Standard Delivery", + "fulfillment_id": "1", + "parent_item_id": "" + } + ], + "billing": { + "name": "Mayur", + "address": { + "name": "7/6, August Kranti Marg", + "building": "Siri Fort Institutional", + "locality": "Siri Fort Institutional Area, Siri Fort", + "city": "New Delhi", + "state": "Delhi", + "country": "India", + "area_code": "140301" + }, + "email": "sharique.efgh@gmail.com", + "phone": "9886098860", + "created_at": "2024-12-16T06:35:52.501Z", + "updated_at": "2024-12-16T06:35:52.501Z", + "tax_number": "29AAACU1901H1ZK" + }, + "fulfillments": [ + { + "id": "1", + "state": { + "descriptor": { + "code": "Out-for-pickup" + } + }, + "tracking": false, + "tags": [ + { + "code": "state", + "list": [ + { + "code": "ready_to_ship", + "value": "yes" + } + ] + }, + { + "code": "rto_action", + "list": [ + { + "code": "return_to_origin", + "value": "yes" + } + ] + } + ], + "type": "Delivery", + "start": { + "location": { + "gps": "12.929178,77.683249", + "address": { + "name": "7/6, August Kranti Marg", + "building": "Siri Fort Institutional", + "locality": "Siri Fort Institutional Area, Siri Fort", + "city": "Bengaluru", + "state": "Karnataka", + "country": "India", + "area_code": "560103" + } + }, + "time": { + "range": { + "start": "2024-12-16T06:35:54.688Z", + "end": "2024-12-21T00:00:00.000Z" + } + }, + "contact": { + "phone": "9886098860", + "email": "abcd.efgh@gmail.com" + }, + "person": { + "name": "Mayur" + } + }, + "end": { + "location": { + "gps": "9.485331,76.326523", + "address": { + "name": "7/6, August Kranti Marg", + "building": "Siri Fort Institutional", + "locality": "Siri Fort Institutional Area, Siri Fort", + "city": "Alappuzha", + "state": "Kerala", + "country": "India", + "area_code": "688001" + } + }, + "time": { + "range": { + "start": "2024-12-16T06:35:54.688Z", + "end": "2024-12-21T00:00:00.000Z" + } + }, + "contact": { + "phone": "9886098860", + "email": "abcd.efgh@gmail.com" + }, + "person": { + "name": "Mayur" + } + }, + "@ondc/org/awb_no": "ACSP1612063554" + } + ], + "quote": { + "price": { + "currency": "INR", + "value": "59.87" + }, + "breakup": [ + { + "@ondc/org/item_id": "1", + "@ondc/org/title_type": "delivery", + "price": { + "currency": "INR", + "value": "50.74" + } + }, + { + "@ondc/org/item_id": "1", + "@ondc/org/title_type": "tax", + "price": { + "currency": "INR", + "value": "9.13" + } + } + ] + }, + "payment": { + "at_ondcorgsettlement_details": [ + { + "settlement_counterparty": "seller-app", + "settlement_type": "neft", + "settlement_bank_account_no": "XXXXXXXXXXXX", + "settlement_ifsc_code": "XXXXXXXXx" + } + ], + "type": "POST-FULFILLMENT", + "status": "NOT-PAID", + "collected_by": "BAP" + }, + "created_at": "2024-12-16T06:35:53.839Z", + "updated_at": "2024-12-16T06:36:37.277Z", + "@ondc/org/linked_order": { + "items": [ + { + "category_id": "Grocery", + "descriptor": { + "name": "Atta" + }, + "quantity": { + "count": 2, + "measure": { + "value": 0.5, + "unit": "kilogram" + } + }, + "price": { + "currency": "INR", + "value": "150.00" + } + } + ], + "provider": { + "descriptor": { + "name": "GPL Store" + }, + "address": { + "name": "Twin Towers", + "building": "Building or House No", + "street": "6th Block", + "locality": "our locality", + "city": "Mohali", + "state": "Punjab", + "area_code": "140301" + } + }, + "order": { + "id": "O1", + "weight": { + "value": 1, + "unit": "kilogram" + }, + "dimensions": { + "length": { + "value": 1, + "unit": "centimeter" + }, + "breadth": { + "value": 1, + "unit": "centimeter" + }, + "height": { + "value": 1, + "unit": "centimeter" + } + } + } + } + } + } +} \ No newline at end of file diff --git a/ekart/Cancel-RTO/pickup_complete_status.json b/ekart/Cancel-RTO/pickup_complete_status.json new file mode 100644 index 0000000000..d5812998f2 --- /dev/null +++ b/ekart/Cancel-RTO/pickup_complete_status.json @@ -0,0 +1,249 @@ +{ + "context": { + "domain": "nic2004:60232", + "action": "on_status", + "country": "IND", + "city": "std:080", + "core_version": "1.2.0", + "bap_id": "pramaan.ondc.org/alpha/mock-server", + "bap_uri": "https://pramaan.ondc.org/alpha/mock-server/lspbuyer", + "transaction_id": "f5066114-9111-47c5-a2bf-a2e023d3623e", + "message_id": "ecbcd4f7-0afb-4cde-961d-310654f8bf8f", + "timestamp": "2024-12-16T06:36:43.674Z", + "bpp_id": "ondc-preprod.api.flipkart.com", + "bpp_uri": "https://ondc-preprod.api.flipkart.com/", + "ttl": "PT30S" + }, + "message": { + "order": { + "id": "BHD6mKmj7ZKNl2BOLAM4bQBNwfPZIWUN", + "state": "In-progress", + "provider": { + "id": "Ekart" + }, + "items": [ + { + "id": "ECONOMY", + "descriptor": { + "name": "ECONOMY", + "code": "P2H2P", + "short_desc": "Upto 5 working days for Delivery", + "long_desc": "Upto 5 working days for Delivery" + }, + "price": { + "currency": "INR", + "value": "59.87" + }, + "time": { + "label": "TAT", + "timestamp": "2024-12-21", + "duration": "P5D" + }, + "category_id": "Standard Delivery", + "fulfillment_id": "1", + "parent_item_id": "" + } + ], + "billing": { + "name": "Mayur", + "address": { + "name": "7/6, August Kranti Marg", + "building": "Siri Fort Institutional", + "locality": "Siri Fort Institutional Area, Siri Fort", + "city": "New Delhi", + "state": "Delhi", + "country": "India", + "area_code": "140301" + }, + "email": "sharique.efgh@gmail.com", + "phone": "9886098860", + "created_at": "2024-12-16T06:35:52.501Z", + "updated_at": "2024-12-16T06:35:52.501Z", + "tax_number": "29AAACU1901H1ZK" + }, + "fulfillments": [ + { + "id": "1", + "state": { + "descriptor": { + "code": "Order-picked-up" + } + }, + "tracking": false, + "tags": [ + { + "code": "state", + "list": [ + { + "code": "ready_to_ship", + "value": "yes" + } + ] + }, + { + "code": "rto_action", + "list": [ + { + "code": "return_to_origin", + "value": "yes" + } + ] + } + ], + "type": "Delivery", + "start": { + "location": { + "gps": "12.929178,77.683249", + "address": { + "name": "7/6, August Kranti Marg", + "building": "Siri Fort Institutional", + "locality": "Siri Fort Institutional Area, Siri Fort", + "city": "Bengaluru", + "state": "Karnataka", + "country": "India", + "area_code": "560103" + } + }, + "time": { + "timestamp": "2024-12-16T06:36:43.531Z", + "range": { + "start": "2024-12-16T06:35:54.688Z", + "end": "2024-12-21T00:00:00.000Z" + } + }, + "contact": { + "phone": "9886098860", + "email": "abcd.efgh@gmail.com" + }, + "person": { + "name": "Mayur" + } + }, + "end": { + "location": { + "gps": "9.485331,76.326523", + "address": { + "name": "7/6, August Kranti Marg", + "building": "Siri Fort Institutional", + "locality": "Siri Fort Institutional Area, Siri Fort", + "city": "Alappuzha", + "state": "Kerala", + "country": "India", + "area_code": "688001" + } + }, + "time": { + "range": { + "start": "2024-12-16T06:35:54.688Z", + "end": "2024-12-21T00:00:00.000Z" + } + }, + "contact": { + "phone": "9886098860", + "email": "abcd.efgh@gmail.com" + }, + "person": { + "name": "Mayur" + } + }, + "@ondc/org/awb_no": "ACSP1612063554" + } + ], + "quote": { + "price": { + "currency": "INR", + "value": "59.87" + }, + "breakup": [ + { + "@ondc/org/item_id": "1", + "@ondc/org/title_type": "delivery", + "price": { + "currency": "INR", + "value": "50.74" + } + }, + { + "@ondc/org/item_id": "1", + "@ondc/org/title_type": "tax", + "price": { + "currency": "INR", + "value": "9.13" + } + } + ] + }, + "payment": { + "at_ondcorgsettlement_details": [ + { + "settlement_counterparty": "seller-app", + "settlement_type": "neft", + "settlement_bank_account_no": "XXXXXXXXXXXX", + "settlement_ifsc_code": "XXXXXXXXx" + } + ], + "type": "POST-FULFILLMENT", + "status": "NOT-PAID", + "collected_by": "BAP" + }, + "created_at": "2024-12-16T06:35:53.839Z", + "updated_at": "2024-12-16T06:36:43.531Z", + "@ondc/org/linked_order": { + "items": [ + { + "category_id": "Grocery", + "descriptor": { + "name": "Atta" + }, + "quantity": { + "count": 2, + "measure": { + "value": 0.5, + "unit": "kilogram" + } + }, + "price": { + "currency": "INR", + "value": "150.00" + } + } + ], + "provider": { + "descriptor": { + "name": "GPL Store" + }, + "address": { + "name": "Twin Towers", + "building": "Building or House No", + "street": "6th Block", + "locality": "our locality", + "city": "Mohali", + "state": "Punjab", + "area_code": "140301" + } + }, + "order": { + "id": "O1", + "weight": { + "value": 1, + "unit": "kilogram" + }, + "dimensions": { + "length": { + "value": 1, + "unit": "centimeter" + }, + "breadth": { + "value": 1, + "unit": "centimeter" + }, + "height": { + "value": 1, + "unit": "centimeter" + } + } + } + } + } + } +} \ No newline at end of file diff --git a/ekart/Cancel-RTO/search.json b/ekart/Cancel-RTO/search.json index a831e832ef..9bf2331193 100644 --- a/ekart/Cancel-RTO/search.json +++ b/ekart/Cancel-RTO/search.json @@ -1,16 +1,16 @@ { "context": { - "action": "search", - "country": "IND", - "city": "std:080", - "bap_id": "pramaan.ondc.org/alpha/mock-server", - "bap_uri": "https://pramaan.ondc.org/alpha/mock-server/lspbuyer", - "transaction_id": "c06e1f0d-ff2b-4565-aca7-ccd702be59a2", - "message_id": "e50b0c14-a8ed-4c3c-891c-5a8d7d368224", - "timestamp": "2024-12-06T10:44:30.408Z", - "ttl": "PT30S", - "core_version": "1.2.0", - "domain": "nic2004:60232" + "action": "search", + "country": "IND", + "city": "std:080", + "bap_id": "pramaan.ondc.org/alpha/mock-server", + "bap_uri": "https://pramaan.ondc.org/alpha/mock-server/lspbuyer", + "transaction_id": "f5066114-9111-47c5-a2bf-a2e023d3623e", + "message_id": "7467f572-7eb0-4749-a58d-2159e7749966", + "timestamp": "2024-12-16T06:35:50.842Z", + "ttl": "PT30S", + "core_version": "1.2.0", + "domain": "nic2004:60232" }, "message": { "intent": { diff --git a/ekart/flow-1/on_search.json b/ekart/flow-1/on_search.json index 5be02b4da0..7d4413c384 100644 --- a/ekart/flow-1/on_search.json +++ b/ekart/flow-1/on_search.json @@ -11,7 +11,7 @@ "bpp_uri": "https://ondc-preprod.api.flipkart.com/", "transaction_id": "be26c04b-1723-437b-8235-1befb7b6136c", "message_id": "dad2ba24-6daa-4384-a97c-06ba965d1679", - "timestamp": "2024-12-06T10:44:02.634434Z" + "timestamp": "2024-12-06T10:44:02.634Z" }, "message": { "catalog": { diff --git a/ekart/flow-1/search.json b/ekart/flow-1/search.json index d24204f428..e8aa2b6c36 100644 --- a/ekart/flow-1/search.json +++ b/ekart/flow-1/search.json @@ -11,7 +11,7 @@ "bpp_uri": "https://ondc-preprod.api.flipkart.com/", "transaction_id": "be26c04b-1723-437b-8235-1befb7b6136c", "message_id": "dad2ba24-6daa-4384-a97c-06ba965d1679", - "timestamp": "2024-12-06T10:44:01.424534Z", + "timestamp": "2024-12-06T10:44:01.424Z", "ttl": "PT30S" }, "message": { diff --git a/ekart/flow-2/confirm.json b/ekart/flow-2/confirm.json index 70ca5ffc61..b91acc2e09 100644 --- a/ekart/flow-2/confirm.json +++ b/ekart/flow-2/confirm.json @@ -1,23 +1,23 @@ { "context": { - "domain": "nic2004:60232", - "country": "IND", - "city": "std:080", "action": "confirm", - "core_version": "1.2.0", "bap_id": "pramaan.ondc.org/alpha/mock-server", "bap_uri": "https://pramaan.ondc.org/alpha/mock-server/lspbuyer", + "transaction_id": "d840b9a2-3499-4b5b-bf05-994d4fc400c5", + "message_id": "f3eea4fd-0fb2-46df-8cf1-1b2d296ca08a", + "city": "std:080", + "country": "IND", + "timestamp": "2024-12-16T09:44:27.532Z", + "ttl": "PT30S", "bpp_id": "ondc-preprod.api.flipkart.com", "bpp_uri": "https://ondc-preprod.api.flipkart.com/", - "transaction_id": "be26c04b-1723-437b-8235-1befb7b6136c", - "message_id": "e0bacaf4-393a-43ec-902a-d00e6d95f15f", - "timestamp": "2024-12-06T10:44:18.248964Z", - "ttl": "PT30S" + "core_version": "1.2.0", + "domain": "nic2004:60232" }, "message": { "order": { - "id": "T0fHK3zz3phthLxW3PkiuhMJKpuSVDsJ", - "state": "Accepted", + "id": "MfxSi3gmv3Wm8CccmpJOif1kZYX5Vbki", + "state": "Created", "provider": { "id": "Ekart" }, "items": [ { @@ -31,7 +31,7 @@ "price": { "currency": "INR", "value": "59.87" }, "time": { "label": "TAT", - "timestamp": "2024-12-11", + "timestamp": "2024-12-21", "duration": "P5D" }, "category_id": "Standard Delivery", @@ -39,40 +39,24 @@ "parent_item_id": "" } ], - "billing": { - "name": "Mayur", - "address": { - "name": "7/6, August Kranti Marg", - "building": "Siri Fort Institutional", - "locality": "Siri Fort Institutional Area, Siri Fort", - "city": "New Delhi", - "state": "Delhi", - "country": "India", - "area_code": "140301" - }, - "email": "sharique.efgh@gmail.com", - "phone": "9886098860", - "created_at": "2024-12-06T10:44:17.065Z", - "updated_at": "2024-12-06T10:44:17.065Z", - "tax_number": "29AAACU1901H1ZK" + "quote": { + "price": { "currency": "INR", "value": "59.87" }, + "breakup": [ + { + "@ondc/org/item_id": "1", + "@ondc/org/title_type": "delivery", + "price": { "currency": "INR", "value": "50.74" } + }, + { + "@ondc/org/item_id": "1", + "@ondc/org/title_type": "tax", + "price": { "currency": "INR", "value": "9.13" } + } + ] }, "fulfillments": [ { "id": "1", - "state": { "descriptor": { "code": "Pending" } }, - "tracking": false, - "tags": [ - { - "code": "state", - "list": [{ "code": "ready_to_ship", "value": "no" }] - }, - { - "code": "rto_action", - "list": [ - { "code": "return_to_origin", "value": "yes" } - ] - } - ], "type": "Delivery", "start": { "location": { @@ -81,17 +65,17 @@ "name": "7/6, August Kranti Marg", "building": "Siri Fort Institutional", "locality": "Siri Fort Institutional Area, Siri Fort", - "city": "Bengaluru", - "state": "Karnataka", + "city": "New Delhi", + "state": "Delhi", "country": "India", - "area_code": "560103" + "area_code": "110049" } }, - "time": {}, "contact": { "phone": "9886098860", "email": "abcd.efgh@gmail.com" }, + "time": {}, "person": { "name": "Mayur" } }, "end": { @@ -101,10 +85,10 @@ "name": "7/6, August Kranti Marg", "building": "Siri Fort Institutional", "locality": "Siri Fort Institutional Area, Siri Fort", - "city": "Alappuzha", - "state": "Kerala", + "city": "New Delhi", + "state": "Delhi", "country": "India", - "area_code": "688001" + "area_code": "110049" } }, "contact": { @@ -113,23 +97,36 @@ }, "person": { "name": "Mayur" } }, - "@ondc/org/awb_no": "ACSP0612104420" + "tags": [ + { + "code": "state", + "list": [{ "code": "ready_to_ship", "value": "no" }] + }, + { + "code": "rto_action", + "list": [ + { "code": "return_to_origin", "value": "yes" } + ] + } + ] } ], - "quote": { - "price": { "currency": "INR", "value": "59.87" }, - "breakup": [ - { - "@ondc/org/item_id": "1", - "@ondc/org/title_type": "delivery", - "price": { "currency": "INR", "value": "50.74" } - }, - { - "@ondc/org/item_id": "1", - "@ondc/org/title_type": "tax", - "price": { "currency": "INR", "value": "9.13" } - } - ] + "billing": { + "name": "Mayur", + "address": { + "name": "7/6, August Kranti Marg", + "building": "Siri Fort Institutional", + "locality": "Siri Fort Institutional Area, Siri Fort", + "city": "New Delhi", + "state": "Delhi", + "country": "India", + "area_code": "140301" + }, + "tax_number": "29AAACU1901H1ZK", + "phone": "9886098860", + "email": "sharique.efgh@gmail.com", + "created_at": "2024-12-16T09:44:25.746Z", + "updated_at": "2024-12-16T09:44:25.746Z" }, "payment": { "at_ondcorgsettlement_details": [ @@ -137,19 +134,13 @@ "settlement_counterparty": "seller-app", "settlement_type": "neft", "settlement_bank_account_no": "XXXXXXXXXXXX", - "settlement_ifsc_code": "XXXXXXXXx", - "upi_address": null, - "settlement_status": null, - "settlement_reference": null, - "settlement_timestamp": null + "settlement_ifsc_code": "XXXXXXXXx" } ], "type": "POST-FULFILLMENT", "status": "NOT-PAID", "collected_by": "BAP" }, - "created_at": "2024-12-06T10:44:19.998Z", - "updated_at": "2024-12-06T10:44:20.920424Z", "@ondc/org/linked_order": { "items": [ { @@ -157,7 +148,7 @@ "descriptor": { "name": "Atta" }, "quantity": { "count": 2, - "measure": { "value": 0.5, "unit": "kilogram" } + "measure": { "unit": "kilogram", "value": 0.5 } }, "price": { "currency": "INR", "value": "150.00" } } @@ -176,11 +167,11 @@ }, "order": { "id": "O1", - "weight": { "value": 1, "unit": "kilogram" }, + "weight": { "unit": "kilogram", "value": 1 }, "dimensions": { - "length": { "value": 1, "unit": "centimeter" }, - "breadth": { "value": 1, "unit": "centimeter" }, - "height": { "value": 1, "unit": "centimeter" } + "length": { "unit": "centimeter", "value": 1 }, + "breadth": { "unit": "centimeter", "value": 1 }, + "height": { "unit": "centimeter", "value": 1 } } } }, @@ -203,7 +194,9 @@ "code": "bap_terms", "list": [{ "code": "accept_bpp_terms", "value": "Y" }] } - ] + ], + "created_at": "2024-12-16T09:44:27.532Z", + "updated_at": "2024-12-16T09:44:27.532Z" } } -} +} \ No newline at end of file diff --git a/ekart/flow-2/init.json b/ekart/flow-2/init.json index 77312eb7e4..9a3df92d5e 100644 --- a/ekart/flow-2/init.json +++ b/ekart/flow-2/init.json @@ -1,18 +1,18 @@ { "context": { - "domain": "nic2004:60232", - "country": "IND", - "city": "std:080", "action": "init", - "core_version": "1.2.0", "bap_id": "pramaan.ondc.org/alpha/mock-server", "bap_uri": "https://pramaan.ondc.org/alpha/mock-server/lspbuyer", + "transaction_id": "d840b9a2-3499-4b5b-bf05-994d4fc400c5", + "message_id": "9d9ced56-30d5-4fd1-9a60-fac48597ca1d", + "city": "std:080", + "country": "IND", + "timestamp": "2024-12-16T09:44:25.747Z", + "ttl": "PT30S", "bpp_id": "ondc-preprod.api.flipkart.com", "bpp_uri": "https://ondc-preprod.api.flipkart.com/", - "transaction_id": "be26c04b-1723-437b-8235-1befb7b6136c", - "message_id": "f70084ec-275a-49d9-9211-8180fef861f1", - "timestamp": "2024-12-06T10:44:16.924439Z", - "ttl": "PT30S" + "core_version": "1.2.0", + "domain": "nic2004:60232" }, "message": { "order": { @@ -20,28 +20,11 @@ "items": [ { "id": "ECONOMY", - "descriptor": { "code": "P2H2P" }, "category_id": "Standard Delivery", - "fulfillment_id": "1" + "fulfillment_id": "1", + "descriptor": { "code": "P2H2P" } } ], - "billing": { - "name": "Mayur", - "address": { - "name": "7/6, August Kranti Marg", - "building": "Siri Fort Institutional", - "locality": "Siri Fort Institutional Area, Siri Fort", - "city": "New Delhi", - "state": "Delhi", - "country": "India", - "area_code": "140301" - }, - "email": "sharique.efgh@gmail.com", - "phone": "9886098860", - "created_at": "2024-12-06T10:44:17.065Z", - "updated_at": "2024-12-06T10:44:17.065Z", - "tax_number": "29AAACU1901H1ZK" - }, "fulfillments": [ { "id": "1", @@ -53,10 +36,10 @@ "name": "7/6, August Kranti Marg", "building": "Siri Fort Institutional", "locality": "Siri Fort Institutional Area, Siri Fort", - "city": "Bengaluru", - "state": "Karnataka", + "city": "New Delhi", + "state": "Delhi", "country": "India", - "area_code": "560103" + "area_code": "110049" } }, "contact": { @@ -71,10 +54,10 @@ "name": "7/6, August Kranti Marg", "building": "Siri Fort Institutional", "locality": "Siri Fort Institutional Area, Siri Fort", - "city": "Alappuzha", - "state": "Kerala", + "city": "New Delhi", + "state": "Delhi", "country": "India", - "area_code": "688001" + "area_code": "110049" } }, "contact": { @@ -84,7 +67,24 @@ } } ], - "payment": { "type": "POST-FULFILLMENT", "collected_by": "BAP" } + "billing": { + "name": "Mayur", + "address": { + "name": "7/6, August Kranti Marg", + "building": "Siri Fort Institutional", + "locality": "Siri Fort Institutional Area, Siri Fort", + "city": "New Delhi", + "state": "Delhi", + "country": "India", + "area_code": "140301" + }, + "tax_number": "29AAACU1901H1ZK", + "phone": "9886098860", + "email": "sharique.efgh@gmail.com", + "created_at": "2024-12-16T09:44:25.746Z", + "updated_at": "2024-12-16T09:44:25.746Z" + }, + "payment": { "collected_by": "BAP", "type": "POST-FULFILLMENT" } } } -} +} \ No newline at end of file diff --git a/ekart/flow-2/on_confirm.json b/ekart/flow-2/on_confirm.json index ad2794e5ec..f2d6f3948d 100644 --- a/ekart/flow-2/on_confirm.json +++ b/ekart/flow-2/on_confirm.json @@ -9,14 +9,14 @@ "bap_uri": "https://pramaan.ondc.org/alpha/mock-server/lspbuyer", "bpp_id": "ondc-preprod.api.flipkart.com", "bpp_uri": "https://ondc-preprod.api.flipkart.com/", - "transaction_id": "be26c04b-1723-437b-8235-1befb7b6136c", - "message_id": "e0bacaf4-393a-43ec-902a-d00e6d95f15f", - "timestamp": "2024-12-06T10:44:18.748964Z", + "transaction_id": "d840b9a2-3499-4b5b-bf05-994d4fc400c5", + "message_id": "f3eea4fd-0fb2-46df-8cf1-1b2d296ca08a", + "timestamp": "2024-12-16T09:44:28.275Z", "ttl": "PT30S" }, "message": { "order": { - "id": "T0fHK3zz3phthLxW3PkiuhMJKpuSVDsJ", + "id": "MfxSi3gmv3Wm8CccmpJOif1kZYX5Vbki", "state": "Accepted", "provider": { "id": "Ekart" }, "items": [ @@ -31,7 +31,7 @@ "price": { "currency": "INR", "value": "59.87" }, "time": { "label": "TAT", - "timestamp": "2024-12-11", + "timestamp": "2024-12-21", "duration": "P5D" }, "category_id": "Standard Delivery", @@ -52,8 +52,8 @@ }, "email": "sharique.efgh@gmail.com", "phone": "9886098860", - "created_at": "2024-12-06T10:44:17.065Z", - "updated_at": "2024-12-06T10:44:17.065Z", + "created_at": "2024-12-16T09:44:25.746Z", + "updated_at": "2024-12-16T09:44:25.746Z", "tax_number": "29AAACU1901H1ZK" }, "fulfillments": [ @@ -81,10 +81,10 @@ "name": "7/6, August Kranti Marg", "building": "Siri Fort Institutional", "locality": "Siri Fort Institutional Area, Siri Fort", - "city": "Bengaluru", - "state": "Karnataka", + "city": "New Delhi", + "state": "Delhi", "country": "India", - "area_code": "560103" + "area_code": "110049" } }, "time": {}, @@ -101,10 +101,10 @@ "name": "7/6, August Kranti Marg", "building": "Siri Fort Institutional", "locality": "Siri Fort Institutional Area, Siri Fort", - "city": "Alappuzha", - "state": "Kerala", + "city": "New Delhi", + "state": "Delhi", "country": "India", - "area_code": "688001" + "area_code": "110049" } }, "contact": { @@ -113,7 +113,7 @@ }, "person": { "name": "Mayur" } }, - "@ondc/org/awb_no": "ACSP0612104420" + "@ondc/org/awb_no": "ACSP1612094427" } ], "quote": { @@ -137,19 +137,15 @@ "settlement_counterparty": "seller-app", "settlement_type": "neft", "settlement_bank_account_no": "XXXXXXXXXXXX", - "settlement_ifsc_code": "XXXXXXXXx", - "upi_address": null, - "settlement_status": null, - "settlement_reference": null, - "settlement_timestamp": null + "settlement_ifsc_code": "XXXXXXXXx" } ], "type": "POST-FULFILLMENT", "status": "NOT-PAID", "collected_by": "BAP" }, - "created_at": "2024-12-06T10:44:19.998Z", - "updated_at": "2024-12-06T10:44:20.920424Z", + "created_at": "2024-12-16T09:44:27.532Z", + "updated_at": "2024-12-16T09:44:28.264Z", "@ondc/org/linked_order": { "items": [ { @@ -206,4 +202,4 @@ ] } } -} +} \ No newline at end of file diff --git a/ekart/flow-2/on_init.json b/ekart/flow-2/on_init.json index 555e3ce02a..a9de1c021d 100644 --- a/ekart/flow-2/on_init.json +++ b/ekart/flow-2/on_init.json @@ -9,9 +9,9 @@ "bap_uri": "https://pramaan.ondc.org/alpha/mock-server/lspbuyer", "bpp_id": "ondc-preprod.api.flipkart.com", "bpp_uri": "https://ondc-preprod.api.flipkart.com/", - "transaction_id": "be26c04b-1723-437b-8235-1befb7b6136c", - "message_id": "f70084ec-275a-49d9-9211-8180fef861f1", - "timestamp": "2024-12-06T10:44:17.454739Z" + "transaction_id": "d840b9a2-3499-4b5b-bf05-994d4fc400c5", + "message_id": "9d9ced56-30d5-4fd1-9a60-fac48597ca1d", + "timestamp": "2024-12-16T09:44:26.014Z" }, "message": { "order": { @@ -28,10 +28,10 @@ "name": "7/6, August Kranti Marg", "building": "Siri Fort Institutional", "locality": "Siri Fort Institutional Area, Siri Fort", - "city": "Bengaluru", - "state": "Karnataka", + "city": "New Delhi", + "state": "Delhi", "country": "India", - "area_code": "560103" + "area_code": "110049" } }, "contact": { @@ -46,10 +46,10 @@ "name": "7/6, August Kranti Marg", "building": "Siri Fort Institutional", "locality": "Siri Fort Institutional Area, Siri Fort", - "city": "Alappuzha", - "state": "Kerala", + "city": "New Delhi", + "state": "Delhi", "country": "India", - "area_code": "688001" + "area_code": "110049" } }, "contact": { @@ -81,11 +81,7 @@ "settlement_counterparty": "seller-app", "settlement_type": "neft", "settlement_bank_account_no": "XXXXXXXXXXXX", - "settlement_ifsc_code": "XXXXXXXXx", - "upi_address": null, - "settlement_status": null, - "settlement_reference": null, - "settlement_timestamp": null + "settlement_ifsc_code": "XXXXXXXXx" } ], "type": "POST-FULFILLMENT", diff --git a/ekart/flow-2/on_search.json b/ekart/flow-2/on_search.json index ad48e70372..bf2c25685a 100644 --- a/ekart/flow-2/on_search.json +++ b/ekart/flow-2/on_search.json @@ -9,9 +9,9 @@ "bap_uri": "https://pramaan.ondc.org/alpha/mock-server/lspbuyer", "bpp_id": "ondc-preprod.api.flipkart.com", "bpp_uri": "https://ondc-preprod.api.flipkart.com/", - "transaction_id": "be26c04b-1723-437b-8235-1befb7b6136c", - "message_id": "dad2ba24-6daa-4384-a97c-06ba965d1679", - "timestamp": "2024-12-06T10:44:02.634434Z" + "transaction_id": "d840b9a2-3499-4b5b-bf05-994d4fc400c5", + "message_id": "7080d39b-8261-495b-ba6f-e1704ffc5a86", + "timestamp": "2024-12-16T09:44:13.959Z" }, "message": { "catalog": { @@ -32,21 +32,15 @@ { "time": { "label": "TAT", - "timestamp": "2024-12-07", + "timestamp": "2024-12-17", "duration": "PT1200M" }, "id": "Standard Delivery" } ], "fulfillments": [ - { - "id": "1", - "type": "Delivery" - }, - { - "id": "2", - "type": "RTO" - } + { "id": "1", "type": "Delivery" }, + { "id": "2", "type": "RTO" } ], "items": [ { @@ -57,13 +51,10 @@ "short_desc": "Upto 5 working days for Delivery", "long_desc": "Upto 5 working days for Delivery" }, - "price": { - "currency": "INR", - "value": "59.87" - }, + "price": { "currency": "INR", "value": "59.87" }, "time": { "label": "TAT", - "timestamp": "2024-12-11", + "timestamp": "2024-12-21", "duration": "P5D" }, "category_id": "Standard Delivery", @@ -78,13 +69,10 @@ "short_desc": "RTO quote", "long_desc": "RTO quote" }, - "price": { - "currency": "INR", - "value": "52.3" - }, + "price": { "currency": "INR", "value": "52.3" }, "time": { "label": "TAT", - "timestamp": "2024-12-11", + "timestamp": "2024-12-21", "duration": "P5D" }, "category_id": "Standard Delivery", @@ -99,13 +87,10 @@ "short_desc": "Upto 3 days working for Delivery", "long_desc": "Upto 3 days working for Delivery" }, - "price": { - "currency": "INR", - "value": "59.87" - }, + "price": { "currency": "INR", "value": "59.87" }, "time": { "label": "TAT", - "timestamp": "2024-12-09", + "timestamp": "2024-12-19", "duration": "P3D" }, "category_id": "Standard Delivery", @@ -120,13 +105,10 @@ "short_desc": "RTO quote", "long_desc": "RTO quote" }, - "price": { - "currency": "INR", - "value": "52.3" - }, + "price": { "currency": "INR", "value": "52.3" }, "time": { "label": "TAT", - "timestamp": "2024-12-09", + "timestamp": "2024-12-19", "duration": "P3D" }, "category_id": "Standard Delivery", diff --git a/ekart/flow-2/on_status_delivered.json b/ekart/flow-2/on_status_delivered.json index 9fbc0477d7..82860b5807 100644 --- a/ekart/flow-2/on_status_delivered.json +++ b/ekart/flow-2/on_status_delivered.json @@ -9,14 +9,14 @@ "bap_uri": "https://pramaan.ondc.org/alpha/mock-server/lspbuyer", "bpp_id": "ondc-preprod.api.flipkart.com", "bpp_uri": "https://ondc-preprod.api.flipkart.com/", - "transaction_id": "be26c04b-1723-437b-8235-1befb7b6136c", - "message_id": "e0bacaf4-393a-43ec-902a-d00e6d95f15f", - "timestamp": "2024-12-06T11:03:02.150427Z", + "transaction_id": "d840b9a2-3499-4b5b-bf05-994d4fc400c5", + "message_id": "4c281b06-0e08-4ff6-86fd-ca1b063025f1", + "timestamp": "2024-12-16T10:13:25.198Z", "ttl": "PT30S" }, "message": { "order": { - "id": "T0fHK3zz3phthLxW3PkiuhMJKpuSVDsJ", + "id": "MfxSi3gmv3Wm8CccmpJOif1kZYX5Vbki", "state": "Completed", "provider": { "id": "Ekart" }, "items": [ @@ -31,7 +31,7 @@ "price": { "currency": "INR", "value": "59.87" }, "time": { "label": "TAT", - "timestamp": "2024-12-11", + "timestamp": "2024-12-21", "duration": "P5D" }, "category_id": "Standard Delivery", @@ -52,8 +52,8 @@ }, "email": "sharique.efgh@gmail.com", "phone": "9886098860", - "created_at": "2024-12-06T10:44:17.065Z", - "updated_at": "2024-12-06T10:44:17.065Z", + "created_at": "2024-12-16T09:44:25.746Z", + "updated_at": "2024-12-16T09:44:25.746Z", "tax_number": "29AAACU1901H1ZK" }, "fulfillments": [ @@ -81,23 +81,23 @@ "name": "7/6, August Kranti Marg", "building": "Siri Fort Institutional", "locality": "Siri Fort Institutional Area, Siri Fort", - "city": "Bengaluru", - "state": "Karnataka", + "city": "New Delhi", + "state": "Delhi", "country": "India", - "area_code": "560103" + "area_code": "110049" } }, "time": { - "timestamp": "2024-12-06T11:02:19.404330Z", + "timestamp": "2024-12-16T10:10:47.213Z", "range": { - "start": "2024-12-06T10:45:52.243Z", - "end": "2024-12-11T00:00:00.000Z" + "start": "2024-12-16T09:54:52.385Z", + "end": "2024-12-21T00:00:00.000Z" } }, "instructions": { "code": "2", "images": [ - "https://storage.googleapis.com/externalisation-label-bucket/ACSP0512173039.pdf?X-Goog-Algorithm=GOOG4-RSA-SHA256&X-Goog-Credential=fk-durin-p-inv-label-sa%40fk-durin-p-inv.iam.gserviceaccount.com%2F20241206%2Fauto%2Fstorage%2Fgoog4_request&X-Goog-Date=20241206T101917Z&X-Goog-Expires=43200&X-Goog-SignedHeaders=host&X-Goog-Signature=8a74d0548a3474fe4eaab40c032a36566e02c631907315cb35dee2407287d77a9165e737519868714499ac92af04461041b88848870130f40920b5bca0e4e2ba5450e314920bc0e1576b5a350177b7f8210cbf75e82381b9d02195b1719e6a0562e9f16c31b39ffe8b17d18fe99fa04dde48cd09f0a76e5fc6c89c8a3558b3da269244acbda03ede80eb21a1394d2d4f146b683fd47930767fb0e5519dfbde8dff0dde7889c422628f34b39926481534b8d7a82a009f17ea154289049d6d6170e5b950d274295ed7d4f55c28a9854974f443fa6e58b33d536be16d1bd12151ebd3aadb7afaf687dbf772265c4deac599fd17a7c8c52c41eb823fca4c3a66c099" + "https://storage.googleapis.com/externalisation-label-bucket/ACHP2507093552.pdf?X-Goog-Algorithm=GOOG4-RSA-SHA256&X-Goog-Credential=fk-durin-p-inv-label-sa%40fk-durin-p-inv.iam.gserviceaccount.com%2F20240725%2Fauto%2Fstorage%2Fgoog4_request&X-Goog-Date=20240725T110831Z&X-Goog-Expires=43200&X-Goog-SignedHeaders=host&X-Goog-Signature=bab6bf90d37364f6960a6ee1107defb69b69dcea19dd9331405d6e8ed534b7bdea3d5a53fe3608b3d12f985c9d7a379ea6d56b6f18bc15eb24786c0f7062a9303fe2ca7c729e6d1e607b2ed2f2490e6756a5643013f0678359671f78b6f1d606fb7956e3b8a349d37aee0e364a9a0b87ade510326b930b4a659d61878b7498854da8d090f495aa5ad1971896258b6664c39d92e3ad6e39a5c17ba1cf3a1b31decc9ebebfdb31fa354e8f0420c53fefc0e1f3d21363d09f218761a8c2a87de4aa17b514c9dd8dded352ff6d1917d584f2c8623b54b4929cbbeff25dc80eba4c1dd5dd71937aba27ab906824ca7bc400007ee47e46015d04165f6b402962905820" ], "short_desc": "value of PCC", "long_desc": "additional instructions for pickup" @@ -115,17 +115,17 @@ "name": "7/6, August Kranti Marg", "building": "Siri Fort Institutional", "locality": "Siri Fort Institutional Area, Siri Fort", - "city": "Alappuzha", - "state": "Kerala", + "city": "New Delhi", + "state": "Delhi", "country": "India", - "area_code": "688001" + "area_code": "110049" } }, "time": { - "timestamp": "2024-12-06T11:03:01.933014Z", + "timestamp": "2024-12-16T10:13:25.070Z", "range": { - "start": "2024-12-06T10:45:52.243Z", - "end": "2024-12-11T00:00:00.000Z" + "start": "2024-12-16T09:54:52.385Z", + "end": "2024-12-21T00:00:00.000Z" } }, "contact": { @@ -134,7 +134,7 @@ }, "person": { "name": "Mayur" } }, - "@ondc/org/awb_no": "ACSP0612104420" + "@ondc/org/awb_no": "ACSP1612094427" } ], "quote": { @@ -158,19 +158,15 @@ "settlement_counterparty": "seller-app", "settlement_type": "neft", "settlement_bank_account_no": "XXXXXXXXXXXX", - "settlement_ifsc_code": "XXXXXXXXx", - "upi_address": null, - "settlement_status": null, - "settlement_reference": null, - "settlement_timestamp": null + "settlement_ifsc_code": "XXXXXXXXx" } ], "type": "POST-FULFILLMENT", "status": "NOT-PAID", "collected_by": "BAP" }, - "created_at": "2024-12-06T10:44:19.998Z", - "updated_at": "2024-12-06T11:03:01.932969Z", + "created_at": "2024-12-16T09:44:27.532Z", + "updated_at": "2024-12-16T10:13:25.070Z", "@ondc/org/linked_order": { "items": [ { @@ -204,28 +200,7 @@ "height": { "value": 1, "unit": "centimeter" } } } - }, - "tags": [ - { - "code": "bpp_terms", - "list": [ - { "code": "max_liability", "value": "2" }, - { "code": "max_liability_cap", "value": "10000" }, - { "code": "mandatory_arbitration", "value": "false" }, - { "code": "court_jurisdiction", "value": "Banglore" }, - { "code": "delay_interest", "value": "1000" }, - { - "code": "static_terms", - "value": "https://github.com/ONDC-Official/protocol-network-extension/discussions/79" - } - ] - }, - { - "code": "bap_terms", - "list": [{ "code": "accept_bpp_terms", "value": "Y" }] - } - ] + } } - }, - "error": null -} + } +} \ No newline at end of file diff --git a/ekart/flow-2/on_status_in_transit.json b/ekart/flow-2/on_status_in_transit.json index 45f1a84d1e..8fedf73cfa 100644 --- a/ekart/flow-2/on_status_in_transit.json +++ b/ekart/flow-2/on_status_in_transit.json @@ -9,14 +9,14 @@ "bap_uri": "https://pramaan.ondc.org/alpha/mock-server/lspbuyer", "bpp_id": "ondc-preprod.api.flipkart.com", "bpp_uri": "https://ondc-preprod.api.flipkart.com/", - "transaction_id": "be26c04b-1723-437b-8235-1befb7b6136c", - "message_id": "e0bacaf4-393a-43ec-902a-d00e6d95f15f", - "timestamp": "2024-12-06T11:02:33.789213Z", + "transaction_id": "d840b9a2-3499-4b5b-bf05-994d4fc400c5", + "message_id": "5018d2ad-7df7-4e69-bf92-0e418ae7526b", + "timestamp": "2024-12-16T10:12:27.740Z", "ttl": "PT30S" }, "message": { "order": { - "id": "T0fHK3zz3phthLxW3PkiuhMJKpuSVDsJ", + "id": "MfxSi3gmv3Wm8CccmpJOif1kZYX5Vbki", "state": "In-progress", "provider": { "id": "Ekart" }, "items": [ @@ -31,7 +31,7 @@ "price": { "currency": "INR", "value": "59.87" }, "time": { "label": "TAT", - "timestamp": "2024-12-11", + "timestamp": "2024-12-21", "duration": "P5D" }, "category_id": "Standard Delivery", @@ -52,8 +52,8 @@ }, "email": "sharique.efgh@gmail.com", "phone": "9886098860", - "created_at": "2024-12-06T10:44:17.065Z", - "updated_at": "2024-12-06T10:44:17.065Z", + "created_at": "2024-12-16T09:44:25.746Z", + "updated_at": "2024-12-16T09:44:25.746Z", "tax_number": "29AAACU1901H1ZK" }, "fulfillments": [ @@ -81,23 +81,23 @@ "name": "7/6, August Kranti Marg", "building": "Siri Fort Institutional", "locality": "Siri Fort Institutional Area, Siri Fort", - "city": "Bengaluru", - "state": "Karnataka", + "city": "New Delhi", + "state": "Delhi", "country": "India", - "area_code": "560103" + "area_code": "110049" } }, "time": { - "timestamp": "2024-12-06T11:02:19.404330Z", + "timestamp": "2024-12-16T10:10:47.213Z", "range": { - "start": "2024-12-06T10:45:52.243Z", - "end": "2024-12-11T00:00:00.000Z" + "start": "2024-12-16T09:54:52.385Z", + "end": "2024-12-21T00:00:00.000Z" } }, "instructions": { "code": "2", "images": [ - "https://storage.googleapis.com/externalisation-label-bucket/ACSP0512173039.pdf?X-Goog-Algorithm=GOOG4-RSA-SHA256&X-Goog-Credential=fk-durin-p-inv-label-sa%40fk-durin-p-inv.iam.gserviceaccount.com%2F20241206%2Fauto%2Fstorage%2Fgoog4_request&X-Goog-Date=20241206T101917Z&X-Goog-Expires=43200&X-Goog-SignedHeaders=host&X-Goog-Signature=8a74d0548a3474fe4eaab40c032a36566e02c631907315cb35dee2407287d77a9165e737519868714499ac92af04461041b88848870130f40920b5bca0e4e2ba5450e314920bc0e1576b5a350177b7f8210cbf75e82381b9d02195b1719e6a0562e9f16c31b39ffe8b17d18fe99fa04dde48cd09f0a76e5fc6c89c8a3558b3da269244acbda03ede80eb21a1394d2d4f146b683fd47930767fb0e5519dfbde8dff0dde7889c422628f34b39926481534b8d7a82a009f17ea154289049d6d6170e5b950d274295ed7d4f55c28a9854974f443fa6e58b33d536be16d1bd12151ebd3aadb7afaf687dbf772265c4deac599fd17a7c8c52c41eb823fca4c3a66c099" + "https://storage.googleapis.com/externalisation-label-bucket/ACHP2507093552.pdf?X-Goog-Algorithm=GOOG4-RSA-SHA256&X-Goog-Credential=fk-durin-p-inv-label-sa%40fk-durin-p-inv.iam.gserviceaccount.com%2F20240725%2Fauto%2Fstorage%2Fgoog4_request&X-Goog-Date=20240725T110831Z&X-Goog-Expires=43200&X-Goog-SignedHeaders=host&X-Goog-Signature=bab6bf90d37364f6960a6ee1107defb69b69dcea19dd9331405d6e8ed534b7bdea3d5a53fe3608b3d12f985c9d7a379ea6d56b6f18bc15eb24786c0f7062a9303fe2ca7c729e6d1e607b2ed2f2490e6756a5643013f0678359671f78b6f1d606fb7956e3b8a349d37aee0e364a9a0b87ade510326b930b4a659d61878b7498854da8d090f495aa5ad1971896258b6664c39d92e3ad6e39a5c17ba1cf3a1b31decc9ebebfdb31fa354e8f0420c53fefc0e1f3d21363d09f218761a8c2a87de4aa17b514c9dd8dded352ff6d1917d584f2c8623b54b4929cbbeff25dc80eba4c1dd5dd71937aba27ab906824ca7bc400007ee47e46015d04165f6b402962905820" ], "short_desc": "value of PCC", "long_desc": "additional instructions for pickup" @@ -115,16 +115,16 @@ "name": "7/6, August Kranti Marg", "building": "Siri Fort Institutional", "locality": "Siri Fort Institutional Area, Siri Fort", - "city": "Alappuzha", - "state": "Kerala", + "city": "New Delhi", + "state": "Delhi", "country": "India", - "area_code": "688001" + "area_code": "110049" } }, "time": { "range": { - "start": "2024-12-06T10:45:52.243Z", - "end": "2024-12-11T00:00:00.000Z" + "start": "2024-12-16T09:54:52.385Z", + "end": "2024-12-21T00:00:00.000Z" } }, "contact": { @@ -133,7 +133,7 @@ }, "person": { "name": "Mayur" } }, - "@ondc/org/awb_no": "ACSP0612104420" + "@ondc/org/awb_no": "ACSP1612094427" } ], "quote": { @@ -157,19 +157,15 @@ "settlement_counterparty": "seller-app", "settlement_type": "neft", "settlement_bank_account_no": "XXXXXXXXXXXX", - "settlement_ifsc_code": "XXXXXXXXx", - "upi_address": null, - "settlement_status": null, - "settlement_reference": null, - "settlement_timestamp": null + "settlement_ifsc_code": "XXXXXXXXx" } ], "type": "POST-FULFILLMENT", "status": "NOT-PAID", "collected_by": "BAP" }, - "created_at": "2024-12-06T10:44:19.998Z", - "updated_at": "2024-12-06T11:02:33.654572Z", + "created_at": "2024-12-16T09:44:27.532Z", + "updated_at": "2024-12-16T10:12:27.615Z", "@ondc/org/linked_order": { "items": [ { @@ -203,28 +199,7 @@ "height": { "value": 1, "unit": "centimeter" } } } - }, - "tags": [ - { - "code": "bpp_terms", - "list": [ - { "code": "max_liability", "value": "2" }, - { "code": "max_liability_cap", "value": "10000" }, - { "code": "mandatory_arbitration", "value": "false" }, - { "code": "court_jurisdiction", "value": "Banglore" }, - { "code": "delay_interest", "value": "1000" }, - { - "code": "static_terms", - "value": "https://github.com/ONDC-Official/protocol-network-extension/discussions/79" - } - ] - }, - { - "code": "bap_terms", - "list": [{ "code": "accept_bpp_terms", "value": "Y" }] - } - ] + } } - }, - "error": null + } } diff --git a/ekart/flow-2/on_status_out_for_delivery.json b/ekart/flow-2/on_status_out_for_delivery.json index fa5685ce70..c60d871644 100644 --- a/ekart/flow-2/on_status_out_for_delivery.json +++ b/ekart/flow-2/on_status_out_for_delivery.json @@ -9,14 +9,14 @@ "bap_uri": "https://pramaan.ondc.org/alpha/mock-server/lspbuyer", "bpp_id": "ondc-preprod.api.flipkart.com", "bpp_uri": "https://ondc-preprod.api.flipkart.com/", - "transaction_id": "be26c04b-1723-437b-8235-1befb7b6136c", - "message_id": "e0bacaf4-393a-43ec-902a-d00e6d95f15f", - "timestamp": "2024-12-06T11:02:50.051737Z", + "transaction_id": "d840b9a2-3499-4b5b-bf05-994d4fc400c5", + "message_id": "a3636b07-20d6-4fcc-a0b7-a03166cf79a9", + "timestamp": "2024-12-16T10:13:05.634Z", "ttl": "PT30S" }, "message": { "order": { - "id": "T0fHK3zz3phthLxW3PkiuhMJKpuSVDsJ", + "id": "MfxSi3gmv3Wm8CccmpJOif1kZYX5Vbki", "state": "In-progress", "provider": { "id": "Ekart" }, "items": [ @@ -31,7 +31,7 @@ "price": { "currency": "INR", "value": "59.87" }, "time": { "label": "TAT", - "timestamp": "2024-12-11", + "timestamp": "2024-12-21", "duration": "P5D" }, "category_id": "Standard Delivery", @@ -52,8 +52,8 @@ }, "email": "sharique.efgh@gmail.com", "phone": "9886098860", - "created_at": "2024-12-06T10:44:17.065Z", - "updated_at": "2024-12-06T10:44:17.065Z", + "created_at": "2024-12-16T09:44:25.746Z", + "updated_at": "2024-12-16T09:44:25.746Z", "tax_number": "29AAACU1901H1ZK" }, "fulfillments": [ @@ -81,23 +81,23 @@ "name": "7/6, August Kranti Marg", "building": "Siri Fort Institutional", "locality": "Siri Fort Institutional Area, Siri Fort", - "city": "Bengaluru", - "state": "Karnataka", + "city": "New Delhi", + "state": "Delhi", "country": "India", - "area_code": "560103" + "area_code": "110049" } }, "time": { - "timestamp": "2024-12-06T11:02:19.404330Z", + "timestamp": "2024-12-16T10:10:47.213Z", "range": { - "start": "2024-12-06T10:45:52.243Z", - "end": "2024-12-11T00:00:00.000Z" + "start": "2024-12-16T09:54:52.385Z", + "end": "2024-12-21T00:00:00.000Z" } }, "instructions": { "code": "2", "images": [ - "https://storage.googleapis.com/externalisation-label-bucket/ACSP0512173039.pdf?X-Goog-Algorithm=GOOG4-RSA-SHA256&X-Goog-Credential=fk-durin-p-inv-label-sa%40fk-durin-p-inv.iam.gserviceaccount.com%2F20241206%2Fauto%2Fstorage%2Fgoog4_request&X-Goog-Date=20241206T101917Z&X-Goog-Expires=43200&X-Goog-SignedHeaders=host&X-Goog-Signature=8a74d0548a3474fe4eaab40c032a36566e02c631907315cb35dee2407287d77a9165e737519868714499ac92af04461041b88848870130f40920b5bca0e4e2ba5450e314920bc0e1576b5a350177b7f8210cbf75e82381b9d02195b1719e6a0562e9f16c31b39ffe8b17d18fe99fa04dde48cd09f0a76e5fc6c89c8a3558b3da269244acbda03ede80eb21a1394d2d4f146b683fd47930767fb0e5519dfbde8dff0dde7889c422628f34b39926481534b8d7a82a009f17ea154289049d6d6170e5b950d274295ed7d4f55c28a9854974f443fa6e58b33d536be16d1bd12151ebd3aadb7afaf687dbf772265c4deac599fd17a7c8c52c41eb823fca4c3a66c099" + "https://storage.googleapis.com/externalisation-label-bucket/ACHP2507093552.pdf?X-Goog-Algorithm=GOOG4-RSA-SHA256&X-Goog-Credential=fk-durin-p-inv-label-sa%40fk-durin-p-inv.iam.gserviceaccount.com%2F20240725%2Fauto%2Fstorage%2Fgoog4_request&X-Goog-Date=20240725T110831Z&X-Goog-Expires=43200&X-Goog-SignedHeaders=host&X-Goog-Signature=bab6bf90d37364f6960a6ee1107defb69b69dcea19dd9331405d6e8ed534b7bdea3d5a53fe3608b3d12f985c9d7a379ea6d56b6f18bc15eb24786c0f7062a9303fe2ca7c729e6d1e607b2ed2f2490e6756a5643013f0678359671f78b6f1d606fb7956e3b8a349d37aee0e364a9a0b87ade510326b930b4a659d61878b7498854da8d090f495aa5ad1971896258b6664c39d92e3ad6e39a5c17ba1cf3a1b31decc9ebebfdb31fa354e8f0420c53fefc0e1f3d21363d09f218761a8c2a87de4aa17b514c9dd8dded352ff6d1917d584f2c8623b54b4929cbbeff25dc80eba4c1dd5dd71937aba27ab906824ca7bc400007ee47e46015d04165f6b402962905820" ], "short_desc": "value of PCC", "long_desc": "additional instructions for pickup" @@ -115,16 +115,16 @@ "name": "7/6, August Kranti Marg", "building": "Siri Fort Institutional", "locality": "Siri Fort Institutional Area, Siri Fort", - "city": "Alappuzha", - "state": "Kerala", + "city": "New Delhi", + "state": "Delhi", "country": "India", - "area_code": "688001" + "area_code": "110049" } }, "time": { "range": { - "start": "2024-12-06T10:45:52.243Z", - "end": "2024-12-11T00:00:00.000Z" + "start": "2024-12-16T09:54:52.385Z", + "end": "2024-12-21T00:00:00.000Z" } }, "contact": { @@ -133,7 +133,7 @@ }, "person": { "name": "Mayur" } }, - "@ondc/org/awb_no": "ACSP0612104420" + "@ondc/org/awb_no": "ACSP1612094427" } ], "quote": { @@ -157,19 +157,15 @@ "settlement_counterparty": "seller-app", "settlement_type": "neft", "settlement_bank_account_no": "XXXXXXXXXXXX", - "settlement_ifsc_code": "XXXXXXXXx", - "upi_address": null, - "settlement_status": null, - "settlement_reference": null, - "settlement_timestamp": null + "settlement_ifsc_code": "XXXXXXXXx" } ], "type": "POST-FULFILLMENT", "status": "NOT-PAID", "collected_by": "BAP" }, - "created_at": "2024-12-06T10:44:19.998Z", - "updated_at": "2024-12-06T11:02:49.926833Z", + "created_at": "2024-12-16T09:44:27.532Z", + "updated_at": "2024-12-16T10:13:05.422Z", "@ondc/org/linked_order": { "items": [ { @@ -203,28 +199,7 @@ "height": { "value": 1, "unit": "centimeter" } } } - }, - "tags": [ - { - "code": "bpp_terms", - "list": [ - { "code": "max_liability", "value": "2" }, - { "code": "max_liability_cap", "value": "10000" }, - { "code": "mandatory_arbitration", "value": "false" }, - { "code": "court_jurisdiction", "value": "Banglore" }, - { "code": "delay_interest", "value": "1000" }, - { - "code": "static_terms", - "value": "https://github.com/ONDC-Official/protocol-network-extension/discussions/79" - } - ] - }, - { - "code": "bap_terms", - "list": [{ "code": "accept_bpp_terms", "value": "Y" }] - } - ] + } } - }, - "error": null -} + } +} \ No newline at end of file diff --git a/ekart/flow-2/on_status_out_for_pickup.json b/ekart/flow-2/on_status_out_for_pickup.json index 3ef51d4a2d..30d1f6d996 100644 --- a/ekart/flow-2/on_status_out_for_pickup.json +++ b/ekart/flow-2/on_status_out_for_pickup.json @@ -9,14 +9,14 @@ "bap_uri": "https://pramaan.ondc.org/alpha/mock-server/lspbuyer", "bpp_id": "ondc-preprod.api.flipkart.com", "bpp_uri": "https://ondc-preprod.api.flipkart.com/", - "transaction_id": "be26c04b-1723-437b-8235-1befb7b6136c", - "message_id": "e0bacaf4-393a-43ec-902a-d00e6d95f15f", - "timestamp": "2024-12-06T11:01:52.629159Z", + "transaction_id": "d840b9a2-3499-4b5b-bf05-994d4fc400c5", + "message_id": "b30374cf-bf7e-4885-89d7-2f9b5f62424d", + "timestamp": "2024-12-16T10:10:09.193Z", "ttl": "PT30S" }, "message": { "order": { - "id": "T0fHK3zz3phthLxW3PkiuhMJKpuSVDsJ", + "id": "MfxSi3gmv3Wm8CccmpJOif1kZYX5Vbki", "state": "In-progress", "provider": { "id": "Ekart" }, "items": [ @@ -31,7 +31,7 @@ "price": { "currency": "INR", "value": "59.87" }, "time": { "label": "TAT", - "timestamp": "2024-12-11", + "timestamp": "2024-12-21", "duration": "P5D" }, "category_id": "Standard Delivery", @@ -52,8 +52,8 @@ }, "email": "sharique.efgh@gmail.com", "phone": "9886098860", - "created_at": "2024-12-06T10:44:17.065Z", - "updated_at": "2024-12-06T10:44:17.065Z", + "created_at": "2024-12-16T09:44:25.746Z", + "updated_at": "2024-12-16T09:44:25.746Z", "tax_number": "29AAACU1901H1ZK" }, "fulfillments": [ @@ -81,22 +81,22 @@ "name": "7/6, August Kranti Marg", "building": "Siri Fort Institutional", "locality": "Siri Fort Institutional Area, Siri Fort", - "city": "Bengaluru", - "state": "Karnataka", + "city": "New Delhi", + "state": "Delhi", "country": "India", - "area_code": "560103" + "area_code": "110049" } }, "time": { "range": { - "start": "2024-12-06T10:45:52.243Z", - "end": "2024-12-11T00:00:00.000Z" + "start": "2024-12-16T09:54:52.385Z", + "end": "2024-12-21T00:00:00.000Z" } }, "instructions": { "code": "2", "images": [ - "https://storage.googleapis.com/externalisation-label-bucket/ACSP0512173039.pdf?X-Goog-Algorithm=GOOG4-RSA-SHA256&X-Goog-Credential=fk-durin-p-inv-label-sa%40fk-durin-p-inv.iam.gserviceaccount.com%2F20241206%2Fauto%2Fstorage%2Fgoog4_request&X-Goog-Date=20241206T101917Z&X-Goog-Expires=43200&X-Goog-SignedHeaders=host&X-Goog-Signature=8a74d0548a3474fe4eaab40c032a36566e02c631907315cb35dee2407287d77a9165e737519868714499ac92af04461041b88848870130f40920b5bca0e4e2ba5450e314920bc0e1576b5a350177b7f8210cbf75e82381b9d02195b1719e6a0562e9f16c31b39ffe8b17d18fe99fa04dde48cd09f0a76e5fc6c89c8a3558b3da269244acbda03ede80eb21a1394d2d4f146b683fd47930767fb0e5519dfbde8dff0dde7889c422628f34b39926481534b8d7a82a009f17ea154289049d6d6170e5b950d274295ed7d4f55c28a9854974f443fa6e58b33d536be16d1bd12151ebd3aadb7afaf687dbf772265c4deac599fd17a7c8c52c41eb823fca4c3a66c099" + "https://storage.googleapis.com/externalisation-label-bucket/ACHP2507093552.pdf?X-Goog-Algorithm=GOOG4-RSA-SHA256&X-Goog-Credential=fk-durin-p-inv-label-sa%40fk-durin-p-inv.iam.gserviceaccount.com%2F20240725%2Fauto%2Fstorage%2Fgoog4_request&X-Goog-Date=20240725T110831Z&X-Goog-Expires=43200&X-Goog-SignedHeaders=host&X-Goog-Signature=bab6bf90d37364f6960a6ee1107defb69b69dcea19dd9331405d6e8ed534b7bdea3d5a53fe3608b3d12f985c9d7a379ea6d56b6f18bc15eb24786c0f7062a9303fe2ca7c729e6d1e607b2ed2f2490e6756a5643013f0678359671f78b6f1d606fb7956e3b8a349d37aee0e364a9a0b87ade510326b930b4a659d61878b7498854da8d090f495aa5ad1971896258b6664c39d92e3ad6e39a5c17ba1cf3a1b31decc9ebebfdb31fa354e8f0420c53fefc0e1f3d21363d09f218761a8c2a87de4aa17b514c9dd8dded352ff6d1917d584f2c8623b54b4929cbbeff25dc80eba4c1dd5dd71937aba27ab906824ca7bc400007ee47e46015d04165f6b402962905820" ], "short_desc": "value of PCC", "long_desc": "additional instructions for pickup" @@ -114,16 +114,16 @@ "name": "7/6, August Kranti Marg", "building": "Siri Fort Institutional", "locality": "Siri Fort Institutional Area, Siri Fort", - "city": "Alappuzha", - "state": "Kerala", + "city": "New Delhi", + "state": "Delhi", "country": "India", - "area_code": "688001" + "area_code": "110049" } }, "time": { "range": { - "start": "2024-12-06T10:45:52.243Z", - "end": "2024-12-11T00:00:00.000Z" + "start": "2024-12-16T09:54:52.385Z", + "end": "2024-12-21T00:00:00.000Z" } }, "contact": { @@ -132,7 +132,7 @@ }, "person": { "name": "Mayur" } }, - "@ondc/org/awb_no": "ACSP0612104420" + "@ondc/org/awb_no": "ACSP1612094427" } ], "quote": { @@ -156,19 +156,15 @@ "settlement_counterparty": "seller-app", "settlement_type": "neft", "settlement_bank_account_no": "XXXXXXXXXXXX", - "settlement_ifsc_code": "XXXXXXXXx", - "upi_address": null, - "settlement_status": null, - "settlement_reference": null, - "settlement_timestamp": null + "settlement_ifsc_code": "XXXXXXXXx" } ], "type": "POST-FULFILLMENT", "status": "NOT-PAID", "collected_by": "BAP" }, - "created_at": "2024-12-06T10:44:19.998Z", - "updated_at": "2024-12-06T11:01:52.494977Z", + "created_at": "2024-12-16T09:44:27.532Z", + "updated_at": "2024-12-16T10:10:08.963Z", "@ondc/org/linked_order": { "items": [ { @@ -202,28 +198,7 @@ "height": { "value": 1, "unit": "centimeter" } } } - }, - "tags": [ - { - "code": "bpp_terms", - "list": [ - { "code": "max_liability", "value": "2" }, - { "code": "max_liability_cap", "value": "10000" }, - { "code": "mandatory_arbitration", "value": "false" }, - { "code": "court_jurisdiction", "value": "Banglore" }, - { "code": "delay_interest", "value": "1000" }, - { - "code": "static_terms", - "value": "https://github.com/ONDC-Official/protocol-network-extension/discussions/79" - } - ] - }, - { - "code": "bap_terms", - "list": [{ "code": "accept_bpp_terms", "value": "Y" }] - } - ] + } } - }, - "error": null + } } diff --git a/ekart/flow-2/on_status_pickup_complete.json b/ekart/flow-2/on_status_pickup_complete.json index 998b98c9b5..f44d55d981 100644 --- a/ekart/flow-2/on_status_pickup_complete.json +++ b/ekart/flow-2/on_status_pickup_complete.json @@ -9,14 +9,14 @@ "bap_uri": "https://pramaan.ondc.org/alpha/mock-server/lspbuyer", "bpp_id": "ondc-preprod.api.flipkart.com", "bpp_uri": "https://ondc-preprod.api.flipkart.com/", - "transaction_id": "be26c04b-1723-437b-8235-1befb7b6136c", - "message_id": "e0bacaf4-393a-43ec-902a-d00e6d95f15f", - "timestamp": "2024-12-06T11:02:19.555147Z", + "transaction_id": "d840b9a2-3499-4b5b-bf05-994d4fc400c5", + "message_id": "585d448c-eb4b-46b5-ba95-e035c7d66175", + "timestamp": "2024-12-16T10:10:47.333Z", "ttl": "PT30S" }, "message": { "order": { - "id": "T0fHK3zz3phthLxW3PkiuhMJKpuSVDsJ", + "id": "MfxSi3gmv3Wm8CccmpJOif1kZYX5Vbki", "state": "In-progress", "provider": { "id": "Ekart" }, "items": [ @@ -31,7 +31,7 @@ "price": { "currency": "INR", "value": "59.87" }, "time": { "label": "TAT", - "timestamp": "2024-12-11", + "timestamp": "2024-12-21", "duration": "P5D" }, "category_id": "Standard Delivery", @@ -52,8 +52,8 @@ }, "email": "sharique.efgh@gmail.com", "phone": "9886098860", - "created_at": "2024-12-06T10:44:17.065Z", - "updated_at": "2024-12-06T10:44:17.065Z", + "created_at": "2024-12-16T09:44:25.746Z", + "updated_at": "2024-12-16T09:44:25.746Z", "tax_number": "29AAACU1901H1ZK" }, "fulfillments": [ @@ -81,23 +81,23 @@ "name": "7/6, August Kranti Marg", "building": "Siri Fort Institutional", "locality": "Siri Fort Institutional Area, Siri Fort", - "city": "Bengaluru", - "state": "Karnataka", + "city": "New Delhi", + "state": "Delhi", "country": "India", - "area_code": "560103" + "area_code": "110049" } }, "time": { - "timestamp": "2024-12-06T11:02:19.404330Z", + "timestamp": "2024-12-16T10:10:47.213Z", "range": { - "start": "2024-12-06T10:45:52.243Z", - "end": "2024-12-11T00:00:00.000Z" + "start": "2024-12-16T09:54:52.385Z", + "end": "2024-12-21T00:00:00.000Z" } }, "instructions": { "code": "2", "images": [ - "https://storage.googleapis.com/externalisation-label-bucket/ACSP0512173039.pdf?X-Goog-Algorithm=GOOG4-RSA-SHA256&X-Goog-Credential=fk-durin-p-inv-label-sa%40fk-durin-p-inv.iam.gserviceaccount.com%2F20241206%2Fauto%2Fstorage%2Fgoog4_request&X-Goog-Date=20241206T101917Z&X-Goog-Expires=43200&X-Goog-SignedHeaders=host&X-Goog-Signature=8a74d0548a3474fe4eaab40c032a36566e02c631907315cb35dee2407287d77a9165e737519868714499ac92af04461041b88848870130f40920b5bca0e4e2ba5450e314920bc0e1576b5a350177b7f8210cbf75e82381b9d02195b1719e6a0562e9f16c31b39ffe8b17d18fe99fa04dde48cd09f0a76e5fc6c89c8a3558b3da269244acbda03ede80eb21a1394d2d4f146b683fd47930767fb0e5519dfbde8dff0dde7889c422628f34b39926481534b8d7a82a009f17ea154289049d6d6170e5b950d274295ed7d4f55c28a9854974f443fa6e58b33d536be16d1bd12151ebd3aadb7afaf687dbf772265c4deac599fd17a7c8c52c41eb823fca4c3a66c099" + "https://storage.googleapis.com/externalisation-label-bucket/ACHP2507093552.pdf?X-Goog-Algorithm=GOOG4-RSA-SHA256&X-Goog-Credential=fk-durin-p-inv-label-sa%40fk-durin-p-inv.iam.gserviceaccount.com%2F20240725%2Fauto%2Fstorage%2Fgoog4_request&X-Goog-Date=20240725T110831Z&X-Goog-Expires=43200&X-Goog-SignedHeaders=host&X-Goog-Signature=bab6bf90d37364f6960a6ee1107defb69b69dcea19dd9331405d6e8ed534b7bdea3d5a53fe3608b3d12f985c9d7a379ea6d56b6f18bc15eb24786c0f7062a9303fe2ca7c729e6d1e607b2ed2f2490e6756a5643013f0678359671f78b6f1d606fb7956e3b8a349d37aee0e364a9a0b87ade510326b930b4a659d61878b7498854da8d090f495aa5ad1971896258b6664c39d92e3ad6e39a5c17ba1cf3a1b31decc9ebebfdb31fa354e8f0420c53fefc0e1f3d21363d09f218761a8c2a87de4aa17b514c9dd8dded352ff6d1917d584f2c8623b54b4929cbbeff25dc80eba4c1dd5dd71937aba27ab906824ca7bc400007ee47e46015d04165f6b402962905820" ], "short_desc": "value of PCC", "long_desc": "additional instructions for pickup" @@ -115,16 +115,16 @@ "name": "7/6, August Kranti Marg", "building": "Siri Fort Institutional", "locality": "Siri Fort Institutional Area, Siri Fort", - "city": "Alappuzha", - "state": "Kerala", + "city": "New Delhi", + "state": "Delhi", "country": "India", - "area_code": "688001" + "area_code": "110049" } }, "time": { "range": { - "start": "2024-12-06T10:45:52.243Z", - "end": "2024-12-11T00:00:00.000Z" + "start": "2024-12-16T09:54:52.385Z", + "end": "2024-12-21T00:00:00.000Z" } }, "contact": { @@ -133,7 +133,7 @@ }, "person": { "name": "Mayur" } }, - "@ondc/org/awb_no": "ACSP0612104420" + "@ondc/org/awb_no": "ACSP1612094427" } ], "quote": { @@ -157,19 +157,15 @@ "settlement_counterparty": "seller-app", "settlement_type": "neft", "settlement_bank_account_no": "XXXXXXXXXXXX", - "settlement_ifsc_code": "XXXXXXXXx", - "upi_address": null, - "settlement_status": null, - "settlement_reference": null, - "settlement_timestamp": null + "settlement_ifsc_code": "XXXXXXXXx" } ], "type": "POST-FULFILLMENT", "status": "NOT-PAID", "collected_by": "BAP" }, - "created_at": "2024-12-06T10:44:19.998Z", - "updated_at": "2024-12-06T11:02:19.404291Z", + "created_at": "2024-12-16T09:44:27.532Z", + "updated_at": "2024-12-16T10:10:47.213Z", "@ondc/org/linked_order": { "items": [ { @@ -203,28 +199,7 @@ "height": { "value": 1, "unit": "centimeter" } } } - }, - "tags": [ - { - "code": "bpp_terms", - "list": [ - { "code": "max_liability", "value": "2" }, - { "code": "max_liability_cap", "value": "10000" }, - { "code": "mandatory_arbitration", "value": "false" }, - { "code": "court_jurisdiction", "value": "Banglore" }, - { "code": "delay_interest", "value": "1000" }, - { - "code": "static_terms", - "value": "https://github.com/ONDC-Official/protocol-network-extension/discussions/79" - } - ] - }, - { - "code": "bap_terms", - "list": [{ "code": "accept_bpp_terms", "value": "Y" }] - } - ] + } } - }, - "error": null + } } diff --git a/ekart/flow-2/on_update.json b/ekart/flow-2/on_update.json index 91743e049d..8aa81b303e 100644 --- a/ekart/flow-2/on_update.json +++ b/ekart/flow-2/on_update.json @@ -3,22 +3,24 @@ "domain": "nic2004:60232", "country": "IND", "city": "std:080", - "action": "on_update", + "action": "update", "core_version": "1.2.0", "bap_id": "pramaan.ondc.org/alpha/mock-server", "bap_uri": "https://pramaan.ondc.org/alpha/mock-server/lspbuyer", "bpp_id": "ondc-preprod.api.flipkart.com", "bpp_uri": "https://ondc-preprod.api.flipkart.com/", - "transaction_id": "be26c04b-1723-437b-8235-1befb7b6136c", - "message_id": "a547efdd-b737-4838-9e81-0715f320eadc", - "timestamp": "2024-12-06T10:44:26.962Z", + "transaction_id": "d840b9a2-3499-4b5b-bf05-994d4fc400c5", + "message_id": "0bf1b8ec-aa81-4237-8a09-d7f88f89a1be", + "timestamp": "2024-12-16T09:44:41.310Z", "ttl": "PT30S" }, "message": { "order": { - "id": "T0fHK3zz3phthLxW3PkiuhMJKpuSVDsJ", + "id": "MfxSi3gmv3Wm8CccmpJOif1kZYX5Vbki", "state": "In-progress", - "provider": { "id": "Ekart" }, + "provider": { + "id": "Ekart" + }, "items": [ { "id": "ECONOMY", @@ -28,10 +30,13 @@ "short_desc": "Upto 5 working days for Delivery", "long_desc": "Upto 5 working days for Delivery" }, - "price": { "currency": "INR", "value": "59.87" }, + "price": { + "currency": "INR", + "value": "59.87" + }, "time": { "label": "TAT", - "timestamp": "2024-12-11", + "timestamp": "2024-12-21", "duration": "P5D" }, "category_id": "Standard Delivery", @@ -52,24 +57,36 @@ }, "email": "sharique.efgh@gmail.com", "phone": "9886098860", - "created_at": "2024-12-06T10:44:17.065Z", - "updated_at": "2024-12-06T10:44:17.065Z", + "created_at": "2024-12-16T09:44:25.746Z", + "updated_at": "2024-12-16T09:44:25.746Z", "tax_number": "29AAACU1901H1ZK" }, "fulfillments": [ { "id": "1", - "state": { "descriptor": { "code": "Pending" } }, + "state": { + "descriptor": { + "code": "Pending" + } + }, "tracking": false, "tags": [ { "code": "state", - "list": [{ "code": "ready_to_ship", "value": "no" }] + "list": [ + { + "code": "ready_to_ship", + "value": "no" + } + ] }, { "code": "rto_action", "list": [ - { "code": "return_to_origin", "value": "yes" } + { + "code": "return_to_origin", + "value": "yes" + } ] } ], @@ -81,22 +98,22 @@ "name": "7/6, August Kranti Marg", "building": "Siri Fort Institutional", "locality": "Siri Fort Institutional Area, Siri Fort", - "city": "Bengaluru", - "state": "Karnataka", + "city": "New Delhi", + "state": "Delhi", "country": "India", - "area_code": "560103" + "area_code": "110049" } }, "time": { "range": { - "start": "2024-12-06T10:45:52.243Z", - "end": "2024-12-11T00:00:00.000Z" + "start": "2024-12-16T09:54:52.385Z", + "end": "2024-12-21T00:00:00.000Z" } }, "instructions": { "code": "2", "images": [ - "https://storage.googleapis.com/externalisation-label-bucket/ACSP0512173039.pdf?X-Goog-Algorithm=GOOG4-RSA-SHA256&X-Goog-Credential=fk-durin-p-inv-label-sa%40fk-durin-p-inv.iam.gserviceaccount.com%2F20241206%2Fauto%2Fstorage%2Fgoog4_request&X-Goog-Date=20241206T101917Z&X-Goog-Expires=43200&X-Goog-SignedHeaders=host&X-Goog-Signature=8a74d0548a3474fe4eaab40c032a36566e02c631907315cb35dee2407287d77a9165e737519868714499ac92af04461041b88848870130f40920b5bca0e4e2ba5450e314920bc0e1576b5a350177b7f8210cbf75e82381b9d02195b1719e6a0562e9f16c31b39ffe8b17d18fe99fa04dde48cd09f0a76e5fc6c89c8a3558b3da269244acbda03ede80eb21a1394d2d4f146b683fd47930767fb0e5519dfbde8dff0dde7889c422628f34b39926481534b8d7a82a009f17ea154289049d6d6170e5b950d274295ed7d4f55c28a9854974f443fa6e58b33d536be16d1bd12151ebd3aadb7afaf687dbf772265c4deac599fd17a7c8c52c41eb823fca4c3a66c099" + "https://storage.googleapis.com/externalisation-label-bucket/ACHP2507093552.pdf?X-Goog-Algorithm=GOOG4-RSA-SHA256&X-Goog-Credential=fk-durin-p-inv-label-sa%40fk-durin-p-inv.iam.gserviceaccount.com%2F20240725%2Fauto%2Fstorage%2Fgoog4_request&X-Goog-Date=20240725T110831Z&X-Goog-Expires=43200&X-Goog-SignedHeaders=host&X-Goog-Signature=bab6bf90d37364f6960a6ee1107defb69b69dcea19dd9331405d6e8ed534b7bdea3d5a53fe3608b3d12f985c9d7a379ea6d56b6f18bc15eb24786c0f7062a9303fe2ca7c729e6d1e607b2ed2f2490e6756a5643013f0678359671f78b6f1d606fb7956e3b8a349d37aee0e364a9a0b87ade510326b930b4a659d61878b7498854da8d090f495aa5ad1971896258b6664c39d92e3ad6e39a5c17ba1cf3a1b31decc9ebebfdb31fa354e8f0420c53fefc0e1f3d21363d09f218761a8c2a87de4aa17b514c9dd8dded352ff6d1917d584f2c8623b54b4929cbbeff25dc80eba4c1dd5dd71937aba27ab906824ca7bc400007ee47e46015d04165f6b402962905820" ], "short_desc": "value of PCC", "long_desc": "additional instructions for pickup" @@ -105,7 +122,9 @@ "phone": "9886098860", "email": "abcd.efgh@gmail.com" }, - "person": { "name": "Mayur" } + "person": { + "name": "Mayur" + } }, "end": { "location": { @@ -114,39 +133,50 @@ "name": "7/6, August Kranti Marg", "building": "Siri Fort Institutional", "locality": "Siri Fort Institutional Area, Siri Fort", - "city": "Alappuzha", - "state": "Kerala", + "city": "New Delhi", + "state": "Delhi", "country": "India", - "area_code": "688001" + "area_code": "110049" } }, "time": { "range": { - "start": "2024-12-06T10:45:52.243Z", - "end": "2024-12-11T00:00:00.000Z" + "start": "2024-12-16T09:54:52.385Z", + "end": "2024-12-21T00:00:00.000Z" } }, "contact": { "phone": "9886098860", "email": "abcd.efgh@gmail.com" }, - "person": { "name": "Mayur" } + "person": { + "name": "Mayur" + } }, - "@ondc/org/awb_no": "ACSP0612104420" + "@ondc/org/awb_no": "ACSP1612094427" } ], "quote": { - "price": { "currency": "INR", "value": "59.87" }, + "price": { + "currency": "INR", + "value": "59.87" + }, "breakup": [ { "@ondc/org/item_id": "1", "@ondc/org/title_type": "delivery", - "price": { "currency": "INR", "value": "50.74" } + "price": { + "currency": "INR", + "value": "50.74" + } }, { "@ondc/org/item_id": "1", "@ondc/org/title_type": "tax", - "price": { "currency": "INR", "value": "9.13" } + "price": { + "currency": "INR", + "value": "9.13" + } } ] }, @@ -167,22 +197,32 @@ "status": "NOT-PAID", "collected_by": "BAP" }, - "created_at": "2024-12-06T10:44:19.998Z", - "updated_at": "2024-12-06T10:44:20.920424Z", + "created_at": "2024-12-16T09:44:27.532Z", + "updated_at": "2024-12-16T09:44:28.264Z", "@ondc/org/linked_order": { "items": [ { "category_id": "Grocery", - "descriptor": { "name": "Atta" }, + "descriptor": { + "name": "Atta" + }, "quantity": { "count": 2, - "measure": { "value": 0.5, "unit": "kilogram" } + "measure": { + "value": 0.5, + "unit": "kilogram" + } }, - "price": { "currency": "INR", "value": "150.00" } + "price": { + "currency": "INR", + "value": "150.00" + } } ], "provider": { - "descriptor": { "name": "GPL Store" }, + "descriptor": { + "name": "GPL Store" + }, "address": { "name": "Twin Towers", "building": "Building or House No", @@ -195,34 +235,26 @@ }, "order": { "id": "O1", - "weight": { "value": 1, "unit": "kilogram" }, + "weight": { + "value": 1, + "unit": "kilogram" + }, "dimensions": { - "length": { "value": 1, "unit": "centimeter" }, - "breadth": { "value": 1, "unit": "centimeter" }, - "height": { "value": 1, "unit": "centimeter" } - } - } - }, - "tags": [ - { - "code": "bpp_terms", - "list": [ - { "code": "max_liability", "value": "2" }, - { "code": "max_liability_cap", "value": "10000" }, - { "code": "mandatory_arbitration", "value": "false" }, - { "code": "court_jurisdiction", "value": "Banglore" }, - { "code": "delay_interest", "value": "1000" }, - { - "code": "static_terms", - "value": "https://github.com/ONDC-Official/protocol-network-extension/discussions/79" + "length": { + "value": 1, + "unit": "centimeter" + }, + "breadth": { + "value": 1, + "unit": "centimeter" + }, + "height": { + "value": 1, + "unit": "centimeter" } - ] - }, - { - "code": "bap_terms", - "list": [{ "code": "accept_bpp_terms", "value": "Y" }] + } } - ] + } } } -} +} \ No newline at end of file diff --git a/ekart/flow-2/search.json b/ekart/flow-2/search.json index 3032d39547..fd8cf119a6 100644 --- a/ekart/flow-2/search.json +++ b/ekart/flow-2/search.json @@ -1,33 +1,32 @@ { "context": { - "action": "search", + "domain": "nic2004:60232", "country": "IND", "city": "std:080", + "action": "search", + "core_version": "1.2.0", "bap_id": "pramaan.ondc.org/alpha/mock-server", "bap_uri": "https://pramaan.ondc.org/alpha/mock-server/lspbuyer", - "transaction_id": "be26c04b-1723-437b-8235-1befb7b6136c", - "message_id": "dad2ba24-6daa-4384-a97c-06ba965d1679", - "timestamp": "2024-12-06T10:44:01.872Z", - "ttl": "PT30S", - "core_version": "1.2.0", - "domain": "nic2004:60232" + "bpp_id": "ondc-preprod.api.flipkart.com", + "bpp_uri": "https://ondc-preprod.api.flipkart.com/", + "transaction_id": "d840b9a2-3499-4b5b-bf05-994d4fc400c5", + "message_id": "7080d39b-8261-495b-ba6f-e1704ffc5a86", + "timestamp": "2024-12-16T09:44:13.359Z" }, "message": { "intent": { - "category": { - "id": "Standard Delivery" - }, + "category": { "id": "Standard Delivery" }, "provider": { "time": { - "days": "1,2,3,4,5,6,7", + "duration": "PT30M", "schedule": { - "holidays": [] + "holidays": [], + "frequency": null, + "times": null, + "range": null }, - "duration": "PT30M", - "range": { - "start": "1100", - "end": "2100" - } + "days": "1,2,3,4,5,6,7", + "range": { "start": "1100", "end": "2100" } } }, "fulfillment": { @@ -35,49 +34,28 @@ "start": { "location": { "gps": "12.929178,77.683249", - "address": { - "area_code": "560103" - } + "address": { "area_code": "560103" } } }, "end": { "location": { "gps": "9.485331,76.326523", - "address": { - "area_code": "688012" - } + "address": { "area_code": "688012" } } } }, - "payment": { - "type": "POST-FULFILLMENT" - }, + "payment": { "type": "POST-FULFILLMENT" }, "@ondc/org/payload_details": { - "weight": { - "unit": "kilogram", - "value": 1 - }, + "weight": { "value": 1, "unit": "kilogram" }, "dimensions": { - "length": { - "unit": "centimeter", - "value": 1 - }, - "breadth": { - "unit": "centimeter", - "value": 1 - }, - "height": { - "unit": "centimeter", - "value": 1 - } + "length": { "value": 1, "unit": "centimeter" }, + "breadth": { "value": 1, "unit": "centimeter" }, + "height": { "value": 1, "unit": "centimeter" } }, "category": "Grocery", - "value": { - "currency": "INR", - "value": "300.00" - }, + "value": { "currency": "INR", "value": "300.00" }, "dangerous_goods": false } } } -} +} \ No newline at end of file diff --git a/ekart/flow-2/update.json b/ekart/flow-2/update.json index 931d3fa419..84c836a578 100644 --- a/ekart/flow-2/update.json +++ b/ekart/flow-2/update.json @@ -3,11 +3,11 @@ "action": "update", "bap_id": "pramaan.ondc.org/alpha/mock-server", "bap_uri": "https://pramaan.ondc.org/alpha/mock-server/lspbuyer", - "transaction_id": "be26c04b-1723-437b-8235-1befb7b6136c", - "message_id": "a547efdd-b737-4838-9e81-0715f320eadc", + "transaction_id": "d840b9a2-3499-4b5b-bf05-994d4fc400c5", + "message_id": "0bf1b8ec-aa81-4237-8a09-d7f88f89a1be", "city": "std:080", "country": "IND", - "timestamp": "2024-12-06T10:44:26.362Z", + "timestamp": "2024-12-16T09:44:40.310Z", "ttl": "PT30S", "bpp_id": "ondc-preprod.api.flipkart.com", "bpp_uri": "https://ondc-preprod.api.flipkart.com/", @@ -17,7 +17,7 @@ "message": { "update_target": "fulfillment", "order": { - "id": "T0fHK3zz3phthLxW3PkiuhMJKpuSVDsJ", + "id": "MfxSi3gmv3Wm8CccmpJOif1kZYX5Vbki", "items": [ { "id": "ECONOMY", @@ -54,7 +54,7 @@ ] } ], - "@ondc/org/awb_no": "ACSP0612104420" + "@ondc/org/awb_no": "ACSP1612094427" } ], "@ondc/org/linked_order": { @@ -113,7 +113,7 @@ } } }, - "updated_at": "2024-12-06T10:44:26.362Z" + "updated_at": "2024-12-16T09:44:40.310Z" } } } diff --git a/ekart/flow-3-Cancel/cancel.json b/ekart/flow-3-Cancel/cancel.json index 133df736d5..6199680ad3 100644 --- a/ekart/flow-3-Cancel/cancel.json +++ b/ekart/flow-3-Cancel/cancel.json @@ -3,11 +3,11 @@ "action": "cancel", "bap_id": "pramaan.ondc.org/alpha/mock-server", "bap_uri": "https://pramaan.ondc.org/alpha/mock-server/lspbuyer", - "transaction_id": "d470800e-3b58-4eb4-b1b5-b5c0f682ce4b", - "message_id": "b8703375-7c6a-4463-97fe-29141ce8b765", + "transaction_id": "759de2ed-285c-4484-bed7-64780d88727b", + "message_id": "b8703375-7c6a-4463-97fe-29141ce8b766", "city": "std:080", "country": "IND", - "timestamp": "2024-12-06T11:24:59.508Z", + "timestamp": "2024-12-16T07:07:30.684Z", "ttl": "PT30S", "bpp_id": "ondc-preprod.api.flipkart.com", "bpp_uri": "https://ondc-preprod.api.flipkart.com/", @@ -15,7 +15,7 @@ "domain": "nic2004:60232" }, "message": { - "order_id": "gJsVCZFB64o8862qJNHE9necbnYKdzpp", + "order_id": "JxVrc25DeS6wxjqDbAcElGs31dY481M2", "cancellation_reason_id": "007" } -} +} \ No newline at end of file diff --git a/ekart/flow-3-Cancel/confirm.json b/ekart/flow-3-Cancel/confirm.json index 8e68218799..88ff96cf1f 100644 --- a/ekart/flow-3-Cancel/confirm.json +++ b/ekart/flow-3-Cancel/confirm.json @@ -3,11 +3,11 @@ "action": "confirm", "bap_id": "pramaan.ondc.org/alpha/mock-server", "bap_uri": "https://pramaan.ondc.org/alpha/mock-server/lspbuyer", - "transaction_id": "d470800e-3b58-4eb4-b1b5-b5c0f682ce4b", - "message_id": "b8703375-7c6a-4463-97fe-29141ce8b765", + "transaction_id": "759de2ed-285c-4484-bed7-64780d88727b", + "message_id": "c1b910e1-63cc-4f80-a416-32e66f2b22a1", "city": "std:080", "country": "IND", - "timestamp": "2024-12-06T11:24:58.139Z", + "timestamp": "2024-12-16T07:06:35.684Z", "ttl": "PT30S", "bpp_id": "ondc-preprod.api.flipkart.com", "bpp_uri": "https://ondc-preprod.api.flipkart.com/", @@ -16,7 +16,7 @@ }, "message": { "order": { - "id": "gJsVCZFB64o8862qJNHE9necbnYKdzpp", + "id": "JxVrc25DeS6wxjqDbAcElGs31dY481M2", "state": "Created", "provider": { "id": "Ekart" @@ -36,7 +36,7 @@ }, "time": { "label": "TAT", - "timestamp": "2024-12-11", + "timestamp": "2024-12-21", "duration": "P5D" }, "category_id": "Standard Delivery", @@ -79,10 +79,10 @@ "name": "7/6, August Kranti Marg", "building": "Siri Fort Institutional", "locality": "Siri Fort Institutional Area, Siri Fort", - "city": "New Delhi", - "state": "Delhi", + "city": "Bengaluru", + "state": "Karnataka", "country": "India", - "area_code": "110049" + "area_code": "560103" } }, "contact": { @@ -103,10 +103,10 @@ "name": "7/6, August Kranti Marg", "building": "Siri Fort Institutional", "locality": "Siri Fort Institutional Area, Siri Fort", - "city": "New Delhi", - "state": "Delhi", + "city": "Alappuzha", + "state": "Kerala", "country": "India", - "area_code": "110049" + "area_code": "688001" } }, "contact": { @@ -153,8 +153,8 @@ "tax_number": "29AAACU1901H1ZK", "phone": "9886098860", "email": "sharique.efgh@gmail.com", - "created_at": "2024-12-06T11:24:56.435Z", - "updated_at": "2024-12-06T11:24:56.435Z" + "created_at": "2024-12-16T07:06:34.016Z", + "updated_at": "2024-12-16T07:06:34.016Z" }, "payment": { "at_ondcorgsettlement_details": [ @@ -162,11 +162,7 @@ "settlement_counterparty": "seller-app", "settlement_type": "neft", "settlement_bank_account_no": "XXXXXXXXXXXX", - "settlement_ifsc_code": "XXXXXXXXx", - "upi_address": null, - "settlement_status": null, - "settlement_reference": null, - "settlement_timestamp": null + "settlement_ifsc_code": "XXXXXXXXx" } ], "type": "POST-FULFILLMENT", @@ -269,8 +265,8 @@ ] } ], - "created_at": "2024-12-06T11:24:58.138Z", - "updated_at": "2024-12-06T11:24:58.138Z" + "created_at": "2024-12-16T07:06:35.684Z", + "updated_at": "2024-12-16T07:06:35.684Z" } } } \ No newline at end of file diff --git a/ekart/flow-3-Cancel/init.json b/ekart/flow-3-Cancel/init.json index 05ee4ad71e..fca6a1f777 100644 --- a/ekart/flow-3-Cancel/init.json +++ b/ekart/flow-3-Cancel/init.json @@ -3,11 +3,11 @@ "action": "init", "bap_id": "pramaan.ondc.org/alpha/mock-server", "bap_uri": "https://pramaan.ondc.org/alpha/mock-server/lspbuyer", - "transaction_id": "d470800e-3b58-4eb4-b1b5-b5c0f682ce4b", - "message_id": "e5609284-b15d-404c-9887-9d0e755907ba", + "transaction_id": "759de2ed-285c-4484-bed7-64780d88727b", + "message_id": "f9dd7534-c579-4acb-94df-7d63600839f2", "city": "std:080", "country": "IND", - "timestamp": "2024-12-06T11:24:56.435Z", + "timestamp": "2024-12-16T07:06:34.016Z", "ttl": "PT30S", "bpp_id": "ondc-preprod.api.flipkart.com", "bpp_uri": "https://ondc-preprod.api.flipkart.com/", @@ -40,10 +40,10 @@ "name": "7/6, August Kranti Marg", "building": "Siri Fort Institutional", "locality": "Siri Fort Institutional Area, Siri Fort", - "city": "New Delhi", - "state": "Delhi", + "city": "Bengaluru", + "state": "Karnataka", "country": "India", - "area_code": "110049" + "area_code": "560103" } }, "contact": { @@ -58,10 +58,10 @@ "name": "7/6, August Kranti Marg", "building": "Siri Fort Institutional", "locality": "Siri Fort Institutional Area, Siri Fort", - "city": "New Delhi", - "state": "Delhi", + "city": "Alappuzha", + "state": "Kerala", "country": "India", - "area_code": "110049" + "area_code": "688001" } }, "contact": { @@ -85,8 +85,8 @@ "tax_number": "29AAACU1901H1ZK", "phone": "9886098860", "email": "sharique.efgh@gmail.com", - "created_at": "2024-12-06T11:24:56.435Z", - "updated_at": "2024-12-06T11:24:56.435Z" + "created_at": "2024-12-16T07:06:34.016Z", + "updated_at": "2024-12-16T07:06:34.016Z" }, "payment": { "collected_by": "BAP", diff --git a/ekart/flow-3-Cancel/on_cancel.json b/ekart/flow-3-Cancel/on_cancel.json index 99adb6faf3..200bc4fe07 100644 --- a/ekart/flow-3-Cancel/on_cancel.json +++ b/ekart/flow-3-Cancel/on_cancel.json @@ -1,293 +1,249 @@ { - "context": { - "domain": "nic2004:60232", - "country": "IND", - "city": "std:080", - "action": "on_cancel", - "core_version": "1.2.0", - "bap_id": "pramaan.ondc.org/alpha/mock-server", - "bap_uri": "https://pramaan.ondc.org/alpha/mock-server/lspbuyer", - "bpp_id": "ondc-preprod.api.flipkart.com", - "bpp_uri": "https://ondc-preprod.api.flipkart.com/", - "transaction_id": "d470800e-3b58-4eb4-b1b5-b5c0f682ce4b", - "message_id": "b8703375-7c6a-4463-97fe-29141ce8b765", - "timestamp": "2024-12-06T11:24:59.908Z", - "ttl": "PT30S" - }, - "message": { - "order": { - "id": "gJsVCZFB64o8862qJNHE9necbnYKdzpp", - "state": "Cancelled", - "cancellation": { - "cancelled_by": "pramaan.ondc.org/alpha/mock-server", - "reason": { - "id": "007" - } - }, - "provider": { - "id": "Ekart" - }, - "items": [ - { - "id": "ECONOMY", - "descriptor": { - "name": "ECONOMY", - "code": "P2H2P", - "short_desc": "Upto 5 working days for Delivery", - "long_desc": "Upto 5 working days for Delivery" - }, - "price": { - "currency": "INR", - "value": "59.87" - }, - "time": { - "label": "TAT", - "timestamp": "2024-12-11", - "duration": "P5D" - }, - "category_id": "Standard Delivery", - "fulfillment_id": "1", - "parent_item_id": "" - } - ], - "billing": { - "name": "Mayur", - "address": { - "name": "7/6, August Kranti Marg", - "building": "Siri Fort Institutional", - "locality": "Siri Fort Institutional Area, Siri Fort", - "city": "New Delhi", - "state": "Delhi", - "country": "India", - "area_code": "140301" - }, - "email": "sharique.efgh@gmail.com", - "phone": "9886098860", - "created_at": "2024-12-06T11:24:56.435Z", - "updated_at": "2024-12-06T11:24:56.435Z", - "tax_number": "29AAACU1901H1ZK" - }, - "fulfillments": [ - { - "id": "1", - "state": { - "descriptor": { - "code": "Cancelled" - } - }, - "tracking": false, - "tags": [ - { - "code": "precancel_state", - "list": [ - { - "code": "fulfillment_state", - "value": "Pending" - }, - { - "code": "updated_at", - "value": "2024-12-06T11:26:33.403345Z" - } - ] - } - ], - "type": "Delivery", - "start": { - "location": { - "gps": "12.929178,77.683249", - "address": { - "name": "7/6, August Kranti Marg", - "building": "Siri Fort Institutional", - "locality": "Siri Fort Institutional Area, Siri Fort", - "city": "New Delhi", - "state": "Delhi", - "country": "India", - "area_code": "110049" - } - }, - "time": { - "range": { - "start": "2024-12-06T11:24:59.130532Z", - "end": "2024-12-11T00:00:00.000Z" - } - }, - "contact": { - "phone": "9886098860", - "email": "abcd.efgh@gmail.com" - }, - "person": { - "name": "Mayur" - } - }, - "end": { - "location": { - "gps": "9.485331,76.326523", - "address": { - "name": "7/6, August Kranti Marg", - "building": "Siri Fort Institutional", - "locality": "Siri Fort Institutional Area, Siri Fort", - "city": "New Delhi", - "state": "Delhi", - "country": "India", - "area_code": "110049" - } - }, - "time": { - "range": { - "start": "2024-12-06T11:24:59.130549Z", - "end": "2024-12-11T00:00:00.000Z" - } - }, - "contact": { - "phone": "9886098860", - "email": "abcd.efgh@gmail.com" - }, - "person": { - "name": "Mayur" - } - }, - "@ondc/org/awb_no": "ACSP0612112458" - } - ], - "quote": { - "price": { - "currency": "INR", - "value": "59.87" - }, - "breakup": [ - { - "@ondc/org/item_id": "1", - "@ondc/org/title_type": "delivery", - "price": { - "currency": "INR", - "value": "50.74" - } - }, - { - "@ondc/org/item_id": "1", - "@ondc/org/title_type": "tax", - "price": { - "currency": "INR", - "value": "9.13" - } - } - ] - }, - "payment": { - "at_ondcorgsettlement_details": [ - { - "settlement_counterparty": "seller-app", - "settlement_type": "neft", - "settlement_bank_account_no": "XXXXXXXXXXXX", - "settlement_ifsc_code": "XXXXXXXXx", - "upi_address": null, - "settlement_status": null, - "settlement_reference": null, - "settlement_timestamp": null - } - ], - "type": "POST-FULFILLMENT", - "status": "NOT-PAID", - "collected_by": "BAP" - }, - "created_at": "2024-12-06T11:24:58.138Z", - "updated_at": "2024-12-06T11:36:02.129857Z", - "@ondc/org/linked_order": { - "items": [ - { - "category_id": "Grocery", - "descriptor": { - "name": "Atta" - }, - "quantity": { - "count": 2, - "measure": { - "value": 0.5, - "unit": "kilogram" - } - }, - "price": { - "currency": "INR", - "value": "150.00" - } - } - ], - "provider": { - "descriptor": { - "name": "GPL Store" - }, - "address": { - "name": "Twin Towers", - "building": "Building or House No", - "street": "6th Block", - "locality": "our locality", - "city": "Mohali", - "state": "Punjab", - "area_code": "140301" - } - }, - "order": { - "id": "O1", - "weight": { - "value": 1, - "unit": "kilogram" - }, - "dimensions": { - "length": { - "value": 1, - "unit": "centimeter" - }, - "breadth": { - "value": 1, - "unit": "centimeter" - }, - "height": { - "value": 1, - "unit": "centimeter" - } - } - } - }, - "tags": [ - { - "code": "bpp_terms", - "list": [ - { - "code": "max_liability", - "value": "2" - }, - { - "code": "max_liability_cap", - "value": "10000" - }, - { - "code": "mandatory_arbitration", - "value": "false" - }, - { - "code": "court_jurisdiction", - "value": "Banglore" - }, - { - "code": "delay_interest", - "value": "1000" - }, - { - "code": "static_terms", - "value": "https://github.com/ONDC-Official/protocol-network-extension/discussions/79" - } - ] - }, - { - "code": "bap_terms", - "list": [ - { - "code": "accept_bpp_terms", - "value": "Y" - } - ] - } - ] - } - } -} + "context": { + "domain": "nic2004:60232", + "country": "IND", + "city": "std:080", + "action": "on_cancel", + "core_version": "1.2.0", + "bap_id": "pramaan.ondc.org/alpha/mock-server", + "bap_uri": "https://pramaan.ondc.org/alpha/mock-server/lspbuyer", + "bpp_id": "ondc-preprod.api.flipkart.com", + "bpp_uri": "https://ondc-preprod.api.flipkart.com/", + "transaction_id": "759de2ed-285c-4484-bed7-64780d88727b", + "message_id": "b8703375-7c6a-4463-97fe-29141ce8b766", + "timestamp": "2024-12-16T08:40:17.860Z", + "ttl": "PT30S" + }, + "message": { + "order": { + "id": "JxVrc25DeS6wxjqDbAcElGs31dY481M2", + "state": "Cancelled", + "cancellation": { + "cancelled_by": "pramaan.ondc.org/alpha/mock-server", + "reason": { + "id": "007" + } + }, + "provider": { + "id": "Ekart" + }, + "items": [ + { + "id": "ECONOMY", + "descriptor": { + "name": "ECONOMY", + "code": "P2H2P", + "short_desc": "Upto 5 working days for Delivery", + "long_desc": "Upto 5 working days for Delivery" + }, + "price": { + "currency": "INR", + "value": "59.87" + }, + "time": { + "label": "TAT", + "timestamp": "2024-12-21", + "duration": "P5D" + }, + "category_id": "Standard Delivery", + "fulfillment_id": "1", + "parent_item_id": "" + } + ], + "billing": { + "name": "Mayur", + "address": { + "name": "7/6, August Kranti Marg", + "building": "Siri Fort Institutional", + "locality": "Siri Fort Institutional Area, Siri Fort", + "city": "New Delhi", + "state": "Delhi", + "country": "India", + "area_code": "140301" + }, + "email": "sharique.efgh@gmail.com", + "phone": "9886098860", + "created_at": "2024-12-16T07:06:34.016Z", + "updated_at": "2024-12-16T07:06:34.016Z", + "tax_number": "29AAACU1901H1ZK" + }, + "fulfillments": [ + { + "id": "1", + "state": { + "descriptor": { + "code": "Cancelled" + } + }, + "tracking": false, + "tags": [ + { + "code": "precancel_state", + "list": [ + { + "code": "fulfillment_state", + "value": "Out-for-pickup" + }, + { + "code": "updated_at", + "value": "2024-12-16T07:08:02.581Z" + } + ] + } + ], + "type": "Delivery", + "start": { + "location": { + "gps": "12.929178,77.683249", + "address": { + "name": "7/6, August Kranti Marg", + "building": "Siri Fort Institutional", + "locality": "Siri Fort Institutional Area, Siri Fort", + "city": "Bengaluru", + "state": "Karnataka", + "country": "India", + "area_code": "560103" + } + }, + "time": { + "range": { + "start": "2024-12-16T07:06:36.582Z", + "end": "2024-12-21T00:00:00.000Z" + } + }, + "contact": { + "phone": "9886098860", + "email": "abcd.efgh@gmail.com" + }, + "person": { + "name": "Mayur" + } + }, + "end": { + "location": { + "gps": "9.485331,76.326523", + "address": { + "name": "7/6, August Kranti Marg", + "building": "Siri Fort Institutional", + "locality": "Siri Fort Institutional Area, Siri Fort", + "city": "Alappuzha", + "state": "Kerala", + "country": "India", + "area_code": "688001" + } + }, + "time": { + "range": { + "start": "2024-12-16T07:06:36.582Z", + "end": "2024-12-21T00:00:00.000Z" + } + }, + "contact": { + "phone": "9886098860", + "email": "abcd.efgh@gmail.com" + }, + "person": { + "name": "Mayur" + } + }, + "@ondc/org/awb_no": "ACSP1612070636" + } + ], + "quote": { + "price": { + "currency": "INR", + "value": "59.87" + }, + "breakup": [ + { + "@ondc/org/item_id": "1", + "@ondc/org/title_type": "delivery", + "price": { + "currency": "INR", + "value": "50.74" + } + }, + { + "@ondc/org/item_id": "1", + "@ondc/org/title_type": "tax", + "price": { + "currency": "INR", + "value": "9.13" + } + } + ] + }, + "payment": { + "at_ondcorgsettlement_details": [ + { + "settlement_counterparty": "seller-app", + "settlement_type": "neft", + "settlement_bank_account_no": "XXXXXXXXXXXX", + "settlement_ifsc_code": "XXXXXXXXx" + } + ], + "type": "POST-FULFILLMENT", + "status": "NOT-PAID", + "collected_by": "BAP" + }, + "created_at": "2024-12-16T07:06:35.684Z", + "updated_at": "2024-12-16T08:40:17.859Z", + "@ondc/org/linked_order": { + "items": [ + { + "category_id": "Grocery", + "descriptor": { + "name": "Atta" + }, + "quantity": { + "count": 2, + "measure": { + "value": 0.5, + "unit": "kilogram" + } + }, + "price": { + "currency": "INR", + "value": "150.00" + } + } + ], + "provider": { + "descriptor": { + "name": "GPL Store" + }, + "address": { + "name": "Twin Towers", + "building": "Building or House No", + "street": "6th Block", + "locality": "our locality", + "city": "Mohali", + "state": "Punjab", + "area_code": "140301" + } + }, + "order": { + "id": "O1", + "weight": { + "value": 1, + "unit": "kilogram" + }, + "dimensions": { + "length": { + "value": 1, + "unit": "centimeter" + }, + "breadth": { + "value": 1, + "unit": "centimeter" + }, + "height": { + "value": 1, + "unit": "centimeter" + } + } + } + } + } + } +} \ No newline at end of file diff --git a/ekart/flow-3-Cancel/on_confirm.json b/ekart/flow-3-Cancel/on_confirm.json index 489adf9e8a..7f8769d778 100644 --- a/ekart/flow-3-Cancel/on_confirm.json +++ b/ekart/flow-3-Cancel/on_confirm.json @@ -7,16 +7,16 @@ "core_version": "1.2.0", "bap_id": "pramaan.ondc.org/alpha/mock-server", "bap_uri": "https://pramaan.ondc.org/alpha/mock-server/lspbuyer", - "transaction_id": "d470800e-3b58-4eb4-b1b5-b5c0f682ce4b", - "message_id": "b8703375-7c6a-4463-97fe-29141ce8b765", - "timestamp": "2024-12-06T11:24:58.508Z", + "transaction_id": "759de2ed-285c-4484-bed7-64780d88727b", + "message_id": "c1b910e1-63cc-4f80-a416-32e66f2b22a1", + "timestamp": "2024-12-16T07:06:36.597Z", "bpp_id": "ondc-preprod.api.flipkart.com", "bpp_uri": "https://ondc-preprod.api.flipkart.com/", "ttl": "PT30S" }, "message": { "order": { - "id": "gJsVCZFB64o8862qJNHE9necbnYKdzpp", + "id": "JxVrc25DeS6wxjqDbAcElGs31dY481M2", "state": "Accepted", "provider": { "id": "Ekart" @@ -36,7 +36,7 @@ }, "time": { "label": "TAT", - "timestamp": "2024-12-11", + "timestamp": "2024-12-21", "duration": "P5D" }, "category_id": "Standard Delivery", @@ -57,8 +57,8 @@ }, "email": "sharique.efgh@gmail.com", "phone": "9886098860", - "created_at": "2024-12-06T11:24:56.435Z", - "updated_at": "2024-12-06T11:24:56.435Z", + "created_at": "2024-12-16T07:06:34.016Z", + "updated_at": "2024-12-16T07:06:34.016Z", "tax_number": "29AAACU1901H1ZK" }, "fulfillments": [ @@ -98,16 +98,16 @@ "name": "7/6, August Kranti Marg", "building": "Siri Fort Institutional", "locality": "Siri Fort Institutional Area, Siri Fort", - "city": "New Delhi", - "state": "Delhi", + "city": "Bengaluru", + "state": "Karnataka", "country": "India", - "area_code": "110049" + "area_code": "560103" } }, "time": { "range": { - "start": "2024-12-06T11:24:59.130532Z", - "end": "2024-12-11T00:00:00.000Z" + "start": "2024-12-16T07:06:36.582Z", + "end": "2024-12-21T00:00:00.000Z" } }, "contact": { @@ -125,16 +125,16 @@ "name": "7/6, August Kranti Marg", "building": "Siri Fort Institutional", "locality": "Siri Fort Institutional Area, Siri Fort", - "city": "New Delhi", - "state": "Delhi", + "city": "Alappuzha", + "state": "Kerala", "country": "India", - "area_code": "110049" + "area_code": "688001" } }, "time": { "range": { - "start": "2024-12-06T11:24:59.130549Z", - "end": "2024-12-11T00:00:00.000Z" + "start": "2024-12-16T07:06:36.582Z", + "end": "2024-12-21T00:00:00.000Z" } }, "contact": { @@ -145,7 +145,7 @@ "name": "Mayur" } }, - "@ondc/org/awb_no": "ACSP0612112458" + "@ondc/org/awb_no": "ACSP1612070636" } ], "quote": { @@ -178,19 +178,15 @@ "settlement_counterparty": "seller-app", "settlement_type": "neft", "settlement_bank_account_no": "XXXXXXXXXXXX", - "settlement_ifsc_code": "XXXXXXXXx", - "upi_address": null, - "settlement_status": null, - "settlement_reference": null, - "settlement_timestamp": null + "settlement_ifsc_code": "XXXXXXXXx" } ], "type": "POST-FULFILLMENT", "status": "NOT-PAID", "collected_by": "BAP" }, - "created_at": "2024-12-06T11:24:58.138Z", - "updated_at": "2024-12-06T11:24:59.130253Z", + "created_at": "2024-12-16T07:06:35.684Z", + "updated_at": "2024-12-16T07:06:36.582Z", "@ondc/org/linked_order": { "items": [ { diff --git a/ekart/flow-3-Cancel/on_init.json b/ekart/flow-3-Cancel/on_init.json index 8a33de456a..f1867a7ab6 100644 --- a/ekart/flow-3-Cancel/on_init.json +++ b/ekart/flow-3-Cancel/on_init.json @@ -7,9 +7,9 @@ "core_version": "1.2.0", "bap_id": "pramaan.ondc.org/alpha/mock-server", "bap_uri": "https://pramaan.ondc.org/alpha/mock-server/lspbuyer", - "transaction_id": "d470800e-3b58-4eb4-b1b5-b5c0f682ce4b", - "message_id": "e5609284-b15d-404c-9887-9d0e755907ba", - "timestamp": "2024-12-06T11:24:56.959Z", + "transaction_id": "759de2ed-285c-4484-bed7-64780d88727b", + "message_id": "f9dd7534-c579-4acb-94df-7d63600839f2", + "timestamp": "2024-12-16T07:06:34.313Z", "bpp_id": "ondc-preprod.api.flipkart.com", "bpp_uri": "https://ondc-preprod.api.flipkart.com/" }, @@ -35,10 +35,10 @@ "name": "7/6, August Kranti Marg", "building": "Siri Fort Institutional", "locality": "Siri Fort Institutional Area, Siri Fort", - "city": "New Delhi", - "state": "Delhi", + "city": "Bengaluru", + "state": "Karnataka", "country": "India", - "area_code": "110049" + "area_code": "560103" } }, "contact": { @@ -53,10 +53,10 @@ "name": "7/6, August Kranti Marg", "building": "Siri Fort Institutional", "locality": "Siri Fort Institutional Area, Siri Fort", - "city": "New Delhi", - "state": "Delhi", + "city": "Alappuzha", + "state": "Kerala", "country": "India", - "area_code": "110049" + "area_code": "688001" } }, "contact": { @@ -97,11 +97,7 @@ "settlement_counterparty": "seller-app", "settlement_type": "neft", "settlement_bank_account_no": "XXXXXXXXXXXX", - "settlement_ifsc_code": "XXXXXXXXx", - "upi_address": null, - "settlement_status": null, - "settlement_reference": null, - "settlement_timestamp": null + "settlement_ifsc_code": "XXXXXXXXx" } ], "type": "POST-FULFILLMENT", diff --git a/ekart/flow-3-Cancel/on_search.json b/ekart/flow-3-Cancel/on_search.json index 823e6e1346..554695ec4d 100644 --- a/ekart/flow-3-Cancel/on_search.json +++ b/ekart/flow-3-Cancel/on_search.json @@ -1,141 +1,141 @@ { - "context": { - "domain": "nic2004:60232", - "action": "on_search", - "country": "IND", - "city": "std:080", - "core_version": "1.2.0", - "bap_id": "pramaan.ondc.org/alpha/mock-server", - "bap_uri": "https://pramaan.ondc.org/alpha/mock-server/lspbuyer", - "transaction_id": "d470800e-3b58-4eb4-b1b5-b5c0f682ce4b", - "message_id": "09d3ad81-8652-4a62-9ae1-214306e80391", - "timestamp": "2024-12-06T11:24:44.731Z", - "bpp_id": "ondc-preprod.api.flipkart.com", - "bpp_uri": "https://ondc-preprod.api.flipkart.com/" - }, - "message": { - "catalog": { - "bpp/descriptor": { - "name": "FK Ekart", - "short_desc": "FK Ekart", - "long_desc": "FK Ekart" - }, - "bpp/providers": [ - { - "id": "Ekart", - "descriptor": { - "name": "FK Ekart", - "short_desc": "FK Ekart", - "long_desc": "FK Ekart" - }, - "categories": [ - { - "time": { - "label": "TAT", - "timestamp": "2024-12-07", - "duration": "PT1200M" - }, - "id": "Standard Delivery" - } - ], - "fulfillments": [ - { - "id": "1", - "type": "Delivery" - }, - { - "id": "2", - "type": "RTO" - } - ], - "items": [ - { - "id": "ECONOMY", - "descriptor": { - "name": "ECONOMY", - "code": "P2H2P", - "short_desc": "Upto 5 working days for Delivery", - "long_desc": "Upto 5 working days for Delivery" - }, - "price": { - "currency": "INR", - "value": "59.87" - }, - "time": { - "label": "TAT", - "timestamp": "2024-12-11", - "duration": "P5D" - }, - "category_id": "Standard Delivery", - "fulfillment_id": "1", - "parent_item_id": "" - }, - { - "id": "ECONOMY-RTO", - "descriptor": { - "name": "RTO quote", - "code": "P2H2P", - "short_desc": "RTO quote", - "long_desc": "RTO quote" - }, - "price": { - "currency": "INR", - "value": "52.3" - }, - "time": { - "label": "TAT", - "timestamp": "2024-12-11", - "duration": "P5D" - }, - "category_id": "Standard Delivery", - "fulfillment_id": "2", - "parent_item_id": "ECONOMY" - }, - { - "id": "REGULAR", - "descriptor": { - "name": "REGULAR", - "code": "P2H2P", - "short_desc": "Upto 3 days working for Delivery", - "long_desc": "Upto 3 days working for Delivery" - }, - "price": { - "currency": "INR", - "value": "59.87" - }, - "time": { - "label": "TAT", - "timestamp": "2024-12-09", - "duration": "P3D" - }, - "category_id": "Standard Delivery", - "fulfillment_id": "1", - "parent_item_id": "" - }, - { - "id": "REGULAR-RTO", - "descriptor": { - "name": "RTO quote", - "code": "P2H2P", - "short_desc": "RTO quote", - "long_desc": "RTO quote" - }, - "price": { - "currency": "INR", - "value": "52.3" - }, - "time": { - "label": "TAT", - "timestamp": "2024-12-09", - "duration": "P3D" - }, - "category_id": "Standard Delivery", - "fulfillment_id": "2", - "parent_item_id": "REGULAR" - } - ] - } - ] - } - } + "context": { + "domain": "nic2004:60232", + "action": "on_search", + "country": "IND", + "city": "std:080", + "core_version": "1.2.0", + "bap_id": "pramaan.ondc.org/alpha/mock-server", + "bap_uri": "https://pramaan.ondc.org/alpha/mock-server/lspbuyer", + "transaction_id": "759de2ed-285c-4484-bed7-64780d88727b", + "message_id": "5f14a7e8-caee-4da2-8b5c-8982791dfd04", + "timestamp": "2024-12-16T07:06:21.486Z", + "bpp_id": "ondc-preprod.api.flipkart.com", + "bpp_uri": "https://ondc-preprod.api.flipkart.com/" + }, + "message": { + "catalog": { + "bpp/descriptor": { + "name": "FK Ekart", + "short_desc": "FK Ekart", + "long_desc": "FK Ekart" + }, + "bpp/providers": [ + { + "id": "Ekart", + "descriptor": { + "name": "FK Ekart", + "short_desc": "FK Ekart", + "long_desc": "FK Ekart" + }, + "categories": [ + { + "time": { + "label": "TAT", + "timestamp": "2024-12-17", + "duration": "PT1200M" + }, + "id": "Standard Delivery" + } + ], + "fulfillments": [ + { + "id": "1", + "type": "Delivery" + }, + { + "id": "2", + "type": "RTO" + } + ], + "items": [ + { + "id": "ECONOMY", + "descriptor": { + "name": "ECONOMY", + "code": "P2H2P", + "short_desc": "Upto 5 working days for Delivery", + "long_desc": "Upto 5 working days for Delivery" + }, + "price": { + "currency": "INR", + "value": "59.87" + }, + "time": { + "label": "TAT", + "timestamp": "2024-12-21", + "duration": "P5D" + }, + "category_id": "Standard Delivery", + "fulfillment_id": "1", + "parent_item_id": "" + }, + { + "id": "ECONOMY-RTO", + "descriptor": { + "name": "RTO quote", + "code": "P2H2P", + "short_desc": "RTO quote", + "long_desc": "RTO quote" + }, + "price": { + "currency": "INR", + "value": "52.3" + }, + "time": { + "label": "TAT", + "timestamp": "2024-12-21", + "duration": "P5D" + }, + "category_id": "Standard Delivery", + "fulfillment_id": "2", + "parent_item_id": "ECONOMY" + }, + { + "id": "REGULAR", + "descriptor": { + "name": "REGULAR", + "code": "P2H2P", + "short_desc": "Upto 3 days working for Delivery", + "long_desc": "Upto 3 days working for Delivery" + }, + "price": { + "currency": "INR", + "value": "59.87" + }, + "time": { + "label": "TAT", + "timestamp": "2024-12-19", + "duration": "P3D" + }, + "category_id": "Standard Delivery", + "fulfillment_id": "1", + "parent_item_id": "" + }, + { + "id": "REGULAR-RTO", + "descriptor": { + "name": "RTO quote", + "code": "P2H2P", + "short_desc": "RTO quote", + "long_desc": "RTO quote" + }, + "price": { + "currency": "INR", + "value": "52.3" + }, + "time": { + "label": "TAT", + "timestamp": "2024-12-19", + "duration": "P3D" + }, + "category_id": "Standard Delivery", + "fulfillment_id": "2", + "parent_item_id": "REGULAR" + } + ] + } + ] + } + } } \ No newline at end of file diff --git a/ekart/flow-3-Cancel/on_status_cancelled.json b/ekart/flow-3-Cancel/on_status_cancelled.json index 9f165db7c5..4a37f51174 100644 --- a/ekart/flow-3-Cancel/on_status_cancelled.json +++ b/ekart/flow-3-Cancel/on_status_cancelled.json @@ -9,19 +9,23 @@ "bap_uri": "https://pramaan.ondc.org/alpha/mock-server/lspbuyer", "bpp_id": "ondc-preprod.api.flipkart.com", "bpp_uri": "https://ondc-preprod.api.flipkart.com/", - "transaction_id": "d470800e-3b58-4eb4-b1b5-b5c0f682ce4b", - "message_id": "b8703375-7c6a-4463-93fe-29141ce8b765", - "timestamp": "2024-12-06T11:34:36.031012Z" + "transaction_id": "759de2ed-285c-4484-bed7-64780d88727b", + "message_id": "380aa130-b9ca-45c2-add8-2e3c96421b0d", + "timestamp": "2024-12-16T09:40:17.860Z" }, "message": { "order": { - "id": "gJsVCZFB64o8862qJNHE9necbnYKdzpp", + "id": "JxVrc25DeS6wxjqDbAcElGs31dY481M2", "state": "Cancelled", "cancellation": { "cancelled_by": "pramaan.ondc.org/alpha/mock-server", - "reason": { "id": "007" } + "reason": { + "id": "007" + } + }, + "provider": { + "id": "Ekart" }, - "provider": { "id": "Ekart" }, "items": [ { "id": "ECONOMY", @@ -31,10 +35,13 @@ "short_desc": "Upto 5 working days for Delivery", "long_desc": "Upto 5 working days for Delivery" }, - "price": { "currency": "INR", "value": "59.87" }, + "price": { + "currency": "INR", + "value": "59.87" + }, "time": { "label": "TAT", - "timestamp": "2024-12-11", + "timestamp": "2024-12-21", "duration": "P5D" }, "category_id": "Standard Delivery", @@ -55,14 +62,18 @@ }, "email": "sharique.efgh@gmail.com", "phone": "9886098860", - "created_at": "2024-12-06T11:24:56.435Z", - "updated_at": "2024-12-06T11:24:56.435Z", + "created_at": "2024-12-16T07:06:34.016Z", + "updated_at": "2024-12-16T07:06:34.016Z", "tax_number": "29AAACU1901H1ZK" }, "fulfillments": [ { "id": "1", - "state": { "descriptor": { "code": "Cancelled" } }, + "state": { + "descriptor": { + "code": "Cancelled" + } + }, "tracking": false, "tags": [ { @@ -70,11 +81,11 @@ "list": [ { "code": "fulfillment_state", - "value": "Pending" + "value": "Out-for-pickup" }, { "code": "updated_at", - "value": "2024-12-06T11:26:33.403345Z" + "value": "2024-12-16T07:08:02.581Z" } ] } @@ -87,23 +98,25 @@ "name": "7/6, August Kranti Marg", "building": "Siri Fort Institutional", "locality": "Siri Fort Institutional Area, Siri Fort", - "city": "New Delhi", - "state": "Delhi", + "city": "Bengaluru", + "state": "Karnataka", "country": "India", - "area_code": "110049" + "area_code": "560103" } }, "time": { "range": { - "start": "2024-12-06T11:24:59.130532Z", - "end": "2024-12-11T00:00:00.000Z" + "start": "2024-12-16T07:06:36.582Z", + "end": "2024-12-21T00:00:00.000Z" } }, "contact": { "phone": "9886098860", "email": "abcd.efgh@gmail.com" }, - "person": { "name": "Mayur" } + "person": { + "name": "Mayur" + } }, "end": { "location": { @@ -112,39 +125,50 @@ "name": "7/6, August Kranti Marg", "building": "Siri Fort Institutional", "locality": "Siri Fort Institutional Area, Siri Fort", - "city": "New Delhi", - "state": "Delhi", + "city": "Alappuzha", + "state": "Kerala", "country": "India", - "area_code": "110049" + "area_code": "688001" } }, "time": { "range": { - "start": "2024-12-06T11:24:59.130549Z", - "end": "2024-12-11T00:00:00.000Z" + "start": "2024-12-16T07:06:36.582Z", + "end": "2024-12-21T00:00:00.000Z" } }, "contact": { "phone": "9886098860", "email": "abcd.efgh@gmail.com" }, - "person": { "name": "Mayur" } + "person": { + "name": "Mayur" + } }, - "@ondc/org/awb_no": "ACSP0612112458" + "@ondc/org/awb_no": "ACSP1612070636" } ], "quote": { - "price": { "currency": "INR", "value": "59.87" }, + "price": { + "currency": "INR", + "value": "59.87" + }, "breakup": [ { "@ondc/org/item_id": "1", "@ondc/org/title_type": "delivery", - "price": { "currency": "INR", "value": "50.74" } + "price": { + "currency": "INR", + "value": "50.74" + } }, { "@ondc/org/item_id": "1", "@ondc/org/title_type": "tax", - "price": { "currency": "INR", "value": "9.13" } + "price": { + "currency": "INR", + "value": "9.13" + } } ] }, @@ -154,33 +178,39 @@ "settlement_counterparty": "seller-app", "settlement_type": "neft", "settlement_bank_account_no": "XXXXXXXXXXXX", - "settlement_ifsc_code": "XXXXXXXXx", - "upi_address": null, - "settlement_status": null, - "settlement_reference": null, - "settlement_timestamp": null + "settlement_ifsc_code": "XXXXXXXXx" } ], "type": "POST-FULFILLMENT", "status": "NOT-PAID", "collected_by": "BAP" }, - "created_at": "2024-12-06T11:24:58.138Z", - "updated_at": "2024-12-06T11:36:02.129857Z", + "created_at": "2024-12-16T07:06:35.684Z", + "updated_at": "2024-12-16T08:40:17.859Z", "@ondc/org/linked_order": { "items": [ { "category_id": "Grocery", - "descriptor": { "name": "Atta" }, + "descriptor": { + "name": "Atta" + }, "quantity": { "count": 2, - "measure": { "value": 0.5, "unit": "kilogram" } + "measure": { + "value": 0.5, + "unit": "kilogram" + } }, - "price": { "currency": "INR", "value": "150.00" } + "price": { + "currency": "INR", + "value": "150.00" + } } ], "provider": { - "descriptor": { "name": "GPL Store" }, + "descriptor": { + "name": "GPL Store" + }, "address": { "name": "Twin Towers", "building": "Building or House No", @@ -193,35 +223,26 @@ }, "order": { "id": "O1", - "weight": { "value": 1, "unit": "kilogram" }, + "weight": { + "value": 1, + "unit": "kilogram" + }, "dimensions": { - "length": { "value": 1, "unit": "centimeter" }, - "breadth": { "value": 1, "unit": "centimeter" }, - "height": { "value": 1, "unit": "centimeter" } - } - } - }, - "tags": [ - { - "code": "bpp_terms", - "list": [ - { "code": "max_liability", "value": "2" }, - { "code": "max_liability_cap", "value": "10000" }, - { "code": "mandatory_arbitration", "value": "false" }, - { "code": "court_jurisdiction", "value": "Banglore" }, - { "code": "delay_interest", "value": "1000" }, - { - "code": "static_terms", - "value": "https://github.com/ONDC-Official/protocol-network-extension/discussions/79" + "length": { + "value": 1, + "unit": "centimeter" + }, + "breadth": { + "value": 1, + "unit": "centimeter" + }, + "height": { + "value": 1, + "unit": "centimeter" } - ] - }, - { - "code": "bap_terms", - "list": [{ "code": "accept_bpp_terms", "value": "Y" }] + } } - ] + } } - }, - "error": null -} + } +} \ No newline at end of file diff --git a/ekart/flow-3-Cancel/search.json b/ekart/flow-3-Cancel/search.json index 4ae16ec0a4..dae8c8a0ea 100644 --- a/ekart/flow-3-Cancel/search.json +++ b/ekart/flow-3-Cancel/search.json @@ -5,9 +5,9 @@ "city": "std:080", "bap_id": "pramaan.ondc.org/alpha/mock-server", "bap_uri": "https://pramaan.ondc.org/alpha/mock-server/lspbuyer", - "transaction_id": "d470800e-3b58-4eb4-b1b5-b5c0f682ce4b", - "message_id": "09d3ad81-8652-4a62-9ae1-214306e80391", - "timestamp": "2024-12-06T11:24:44.174Z", + "transaction_id": "759de2ed-285c-4484-bed7-64780d88727b", + "message_id": "5f14a7e8-caee-4da2-8b5c-8982791dfd04", + "timestamp": "2024-12-16T07:06:20.906Z", "ttl": "PT30S", "core_version": "1.2.0", "domain": "nic2004:60232" @@ -80,4 +80,4 @@ } } } -} +} \ No newline at end of file From 471f978d2264eee651113f33c418eaea3fa6d1a4 Mon Sep 17 00:00:00 2001 From: Tushar Jaiswal Date: Mon, 16 Dec 2024 16:22:16 +0530 Subject: [PATCH 2/2] bug_fix --- ekart/flow-2/on_update.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ekart/flow-2/on_update.json b/ekart/flow-2/on_update.json index 8aa81b303e..3c39133e10 100644 --- a/ekart/flow-2/on_update.json +++ b/ekart/flow-2/on_update.json @@ -3,7 +3,7 @@ "domain": "nic2004:60232", "country": "IND", "city": "std:080", - "action": "update", + "action": "on_update", "core_version": "1.2.0", "bap_id": "pramaan.ondc.org/alpha/mock-server", "bap_uri": "https://pramaan.ondc.org/alpha/mock-server/lspbuyer",