@@ -713,32 +713,91 @@ curl --location 'http://localhost:3008/api/validate/rsf' \
713
713
714
714
### For IGM 2.0.0 Sample Curl Request (Local)
715
715
716
+ # For FLOW_1
717
+
718
+ ``` shell
719
+ curl --location ' https://log-validation.ondc.org/api/validate/igm' \
720
+ --header ' Content-Type: application/json' \
721
+ --data ' {
722
+ "domain": "",
723
+ "version": "2.0.0",
724
+ "bap_id": "BUYER_APP_SUBSCRIBER_ID",
725
+ "flow": "FLOW_1",
726
+ "bpp_id": "SELLER_APP_SUBSCRIBER_ID",
727
+ "payload": {
728
+ "issue_open": {},
729
+ "on_issue_processing_1":{},
730
+ "on_issue_info_required": {},
731
+ "issue_info_provided": {},
732
+ "on_issue_processing_2": {},
733
+ "on_issue_resolution_proposed": {},
734
+ "issue_resolution_accepted": {},
735
+ "on_issue_resolved": {},
736
+ "issue_closed": {}
737
+ }
738
+ }'
739
+
740
+ ```
741
+
742
+ # For FLOW_2
743
+
716
744
``` shell
717
745
curl --location ' https://log-validation.ondc.org/api/validate/igm' \
718
746
--header ' Content-Type: application/json' \
719
747
--data ' {
720
748
"domain": "",
721
749
"version": "2.0.0",
722
750
"bap_id": "BUYER_APP_SUBSCRIBER_ID",
751
+ "flow": "FLOW_2",
723
752
"bpp_id": "SELLER_APP_SUBSCRIBER_ID",
724
753
"payload": {
725
- "issue_1": {},
726
- "on_issue_1": {},
727
- "on_issue_2": {},
728
- "issue_2": {},
729
- "on_issue_3": {},
730
- "on_issue_4": {},
731
- "issue_3": {},
732
- "on_issue_5": {},
733
- "on_issue_6": {},
734
- "issue_4": {},
735
- "on_issue_7": {},
736
- "issue_5": {}
754
+ "issue_open": {},
755
+ "on_issue_processing": {},
756
+ "on_issue_resolution_proposed": {},
757
+ "issue_resolution_accepted": {},
758
+ "on_issue_resolved": {},
759
+ "issue_esclated": {},
760
+ "on_issue_gro_processing": {},
761
+ "on_issue_gro_resolution_proposed": {},
762
+ "on_issue_gro_resolved": {},
763
+ "issue_close": {}
737
764
}
738
765
}'
739
766
740
767
```
741
768
769
+ # For FLOW_3
770
+
771
+ ``` shell
772
+ curl --location ' https://log-validation.ondc.org/api/validate/igm' \
773
+ --header ' Content-Type: application/json' \
774
+ --data ' {
775
+ "domain": "",
776
+ "version": "2.0.0",
777
+ "bap_id": "BUYER_APP_SUBSCRIBER_ID",
778
+ "flow": "FLOW_3",
779
+ "bpp_id": "SELLER_APP_SUBSCRIBER_ID",
780
+ "payload": {
781
+ "issue_open": {},
782
+ "on_issue_processing": {},
783
+ "issue_lsp_open": {},
784
+ "on_issue_lsp_processing": {},
785
+ "on_issue_lsp_info_required": {},
786
+ "on_issue_info_required": {},
787
+ "issue_info_provided": {},
788
+ "issue_info_lsp_info_provided": {},
789
+ "on_issue_lsp_resolution_proposed": {},
790
+ "on_issue_resolution_proposed": {},
791
+ "issue_resolution_accepted": {},
792
+ "issue_lsp_resolution_accepted": {},
793
+ "on_issue_lsp_resolved": {},
794
+ "on_issue_resolved": {},
795
+ "issue_close": {},
796
+ "issue_lsp_close": {}
797
+ }
798
+ }'
799
+
800
+ ```
742
801
743
802
Using Postman, you can import the above ` curl ` command into Postman and replace the empty objects in the payload with your actual data. This allows for easy testing and validation of transaction logs on your local environment.
744
803
0 commit comments