From c6a1db9b8096245fde89d1705c7303f6e359395c Mon Sep 17 00:00:00 2001 From: Gil Portenseigne Date: Wed, 18 Sep 2024 10:08:28 +0200 Subject: [PATCH] ajout config postman --- .../API ERP/Test get order header.md | 13 +++++ .../Pre-production/API ERP/Test get order.md | 13 +++++ .../Pre-production/API ERP/Test get orders.md | 25 ++++++++++ .../API ERP/Test inquiry creation.md | 48 +++++++++++++++++++ .../API ERP/Test inquiry status.md | 13 +++++ .../API ERP/Test order header update.md | 24 ++++++++++ .../API ERP/Test order line add.md | 33 +++++++++++++ .../API ERP/Test order line delete.md | 13 +++++ .../API ERP/Test order line update.md | 23 +++++++++ .../API ERP/Test order lines.md | 13 +++++ .../API ERP/Test order shipments.md | 13 +++++ .../API ERP/Test order validation.md | 13 +++++ .../API ERP/Test vendor address.md | 13 +++++ .../API ERP/Test vendor addresses.md | 17 +++++++ .../DKT/Pre-production/API ERP/_folder.md | 6 +++ .../DKT/Pre-production/API ERP/health ping.md | 13 +++++ .../.jetclient/DKT/Pre-production/_folder.md | 15 ++++++ workspace/dkt/rank2/.jetclient/jetclient.md | 36 ++++++++++++++ 18 files changed, 344 insertions(+) create mode 100644 workspace/dkt/rank2/.jetclient/DKT/Pre-production/API ERP/Test get order header.md create mode 100644 workspace/dkt/rank2/.jetclient/DKT/Pre-production/API ERP/Test get order.md create mode 100644 workspace/dkt/rank2/.jetclient/DKT/Pre-production/API ERP/Test get orders.md create mode 100644 workspace/dkt/rank2/.jetclient/DKT/Pre-production/API ERP/Test inquiry creation.md create mode 100644 workspace/dkt/rank2/.jetclient/DKT/Pre-production/API ERP/Test inquiry status.md create mode 100644 workspace/dkt/rank2/.jetclient/DKT/Pre-production/API ERP/Test order header update.md create mode 100644 workspace/dkt/rank2/.jetclient/DKT/Pre-production/API ERP/Test order line add.md create mode 100644 workspace/dkt/rank2/.jetclient/DKT/Pre-production/API ERP/Test order line delete.md create mode 100644 workspace/dkt/rank2/.jetclient/DKT/Pre-production/API ERP/Test order line update.md create mode 100644 workspace/dkt/rank2/.jetclient/DKT/Pre-production/API ERP/Test order lines.md create mode 100644 workspace/dkt/rank2/.jetclient/DKT/Pre-production/API ERP/Test order shipments.md create mode 100644 workspace/dkt/rank2/.jetclient/DKT/Pre-production/API ERP/Test order validation.md create mode 100644 workspace/dkt/rank2/.jetclient/DKT/Pre-production/API ERP/Test vendor address.md create mode 100644 workspace/dkt/rank2/.jetclient/DKT/Pre-production/API ERP/Test vendor addresses.md create mode 100644 workspace/dkt/rank2/.jetclient/DKT/Pre-production/API ERP/_folder.md create mode 100644 workspace/dkt/rank2/.jetclient/DKT/Pre-production/API ERP/health ping.md create mode 100644 workspace/dkt/rank2/.jetclient/DKT/Pre-production/_folder.md create mode 100644 workspace/dkt/rank2/.jetclient/jetclient.md diff --git a/workspace/dkt/rank2/.jetclient/DKT/Pre-production/API ERP/Test get order header.md b/workspace/dkt/rank2/.jetclient/DKT/Pre-production/API ERP/Test get order header.md new file mode 100644 index 0000000..428c57a --- /dev/null +++ b/workspace/dkt/rank2/.jetclient/DKT/Pre-production/API ERP/Test get order header.md @@ -0,0 +1,13 @@ +```toml +name = 'Test get order header' +description = '/component/v1/orders/R67658A8872/header' +method = 'GET' +url = 'https://localhost:8443/component/v1/orders/R67658A8872/header' +sortWeight = 11000000 +id = 'a28a4e88-36c0-49a3-9f8e-0c4ac84d0d25' + +[[headers]] +key = 'x-api-key' +value = '2ae687c5-e901-498a-ab78-225b0586d06d' +description = 'api key de test pp' +``` diff --git a/workspace/dkt/rank2/.jetclient/DKT/Pre-production/API ERP/Test get order.md b/workspace/dkt/rank2/.jetclient/DKT/Pre-production/API ERP/Test get order.md new file mode 100644 index 0000000..ab6688b --- /dev/null +++ b/workspace/dkt/rank2/.jetclient/DKT/Pre-production/API ERP/Test get order.md @@ -0,0 +1,13 @@ +```toml +name = 'Test get order' +description = '/component/v1/orders/R60055A3541' +method = 'GET' +url = 'https://localhost:8443/component/v1/orders/R60055A3541' +sortWeight = 10000000 +id = '463bc4dd-b4fb-4ac5-9191-202a257f6722' + +[[headers]] +key = 'x-api-key' +value = '{{x-api-key}}' +description = 'api key de test pp' +``` diff --git a/workspace/dkt/rank2/.jetclient/DKT/Pre-production/API ERP/Test get orders.md b/workspace/dkt/rank2/.jetclient/DKT/Pre-production/API ERP/Test get orders.md new file mode 100644 index 0000000..c5f4199 --- /dev/null +++ b/workspace/dkt/rank2/.jetclient/DKT/Pre-production/API ERP/Test get orders.md @@ -0,0 +1,25 @@ +```toml +name = 'Test get orders' +description = '/component/v1/orders' +method = 'GET' +url = 'https://localhost:8443/component/v1/orders?date=2022-10-01 10:00&range=0-99&cnuf_code=60055' +sortWeight = 9000000 +id = 'e8de90fc-afbd-4262-91a7-2b0021c877d0' + +[[queryParams]] +key = 'date' +value = '2022-10-01 10:00' + +[[queryParams]] +key = 'range' +value = '0-99' + +[[queryParams]] +key = 'cnuf_code' +value = '60055' + +[[headers]] +key = 'x-api-key' +value = '2ae687c5-e901-498a-ab78-225b0586d06d' +description = 'ID Gil de test rfid' +``` diff --git a/workspace/dkt/rank2/.jetclient/DKT/Pre-production/API ERP/Test inquiry creation.md b/workspace/dkt/rank2/.jetclient/DKT/Pre-production/API ERP/Test inquiry creation.md new file mode 100644 index 0000000..5e8b17f --- /dev/null +++ b/workspace/dkt/rank2/.jetclient/DKT/Pre-production/API ERP/Test inquiry creation.md @@ -0,0 +1,48 @@ +```toml +name = 'Test inquiry creation' +description = '/component/v1/orders/inquiries/component/creation' +method = 'POST' +url = 'https://{{host}}/component/v1/orders/inquiries/component/creation' +sortWeight = 2000000 +id = '5566f5f0-c5b3-4d74-8060-768df06e3ab0' + +[[headers]] +key = 'x-api-key' +value = '2ae687c5-e901-498a-ab78-225b0586d06d' +description = 'api key de test pp' + +[body] +type = 'JSON' +raw = ''' +{ + "vendor_cnuf": "60055", + "vendor_dpp_code": "2403", + "currency": "CNY", + "header": { + "internal_code": "FDC1022934", + "note": "This is a comment", + "billing_address_code": "463344", + "shipping_address_code": "479020", + "requested_ship_date": "2023-01-25" + }, + "lines": [ + { + "component_reference": "4749108", + "quantity": 1, + "conception_code": "code cc", + "provider_cnuf": "P4577", + "incoterm": "DDP", + "shipment_method": "NO_SHIPPING", + "comment": "This is a comment", + "extra_feature": [ + { + "key": "Size", + "value": "iron" + } + ] + } + ] +} + +''' +``` diff --git a/workspace/dkt/rank2/.jetclient/DKT/Pre-production/API ERP/Test inquiry status.md b/workspace/dkt/rank2/.jetclient/DKT/Pre-production/API ERP/Test inquiry status.md new file mode 100644 index 0000000..af19693 --- /dev/null +++ b/workspace/dkt/rank2/.jetclient/DKT/Pre-production/API ERP/Test inquiry status.md @@ -0,0 +1,13 @@ +```toml +name = 'Test inquiry status' +description = '/component/v1/orders/inquiries/21371' +method = 'GET' +url = 'https://localhost:8443/component/v1/orders/inquiries/21371' +sortWeight = 3000000 +id = 'ab4d649c-54f5-4d11-a49e-55575ddaab36' + +[[headers]] +key = 'x-api-key' +value = '2ae687c5-e901-498a-ab78-225b0586d06d' +description = 'api key de test pp' +``` diff --git a/workspace/dkt/rank2/.jetclient/DKT/Pre-production/API ERP/Test order header update.md b/workspace/dkt/rank2/.jetclient/DKT/Pre-production/API ERP/Test order header update.md new file mode 100644 index 0000000..e786cb3 --- /dev/null +++ b/workspace/dkt/rank2/.jetclient/DKT/Pre-production/API ERP/Test order header update.md @@ -0,0 +1,24 @@ +```toml +name = 'Test order header update' +description = '/component/v1/orders/R60055A4077' +method = 'POST' +url = 'https://localhost:8443/component/v1/orders/R60055A4077' +sortWeight = 4000000 +id = '6a66253a-fcc7-40e8-a723-1c4a63f50c71' + +[[headers]] +key = 'x-api-key' +value = '2ae687c5-e901-498a-ab78-225b0586d06d' +description = 'api key de test pp' + +[body] +type = 'JSON' +raw = ''' +{ + "internal_code": "TOTO", + "note": "This is a test", + "billing_address_code": "463344", + "shipping_address_code": "471004", + "requested_ship_date": "2022-12-01" +}''' +``` diff --git a/workspace/dkt/rank2/.jetclient/DKT/Pre-production/API ERP/Test order line add.md b/workspace/dkt/rank2/.jetclient/DKT/Pre-production/API ERP/Test order line add.md new file mode 100644 index 0000000..41b6c05 --- /dev/null +++ b/workspace/dkt/rank2/.jetclient/DKT/Pre-production/API ERP/Test order line add.md @@ -0,0 +1,33 @@ +```toml +name = 'Test order line add' +description = '/component/v1/orders/R60055A4079/lines' +method = 'POST' +url = 'https://localhost:8443/component/v1/orders/R60055A4079/lines' +sortWeight = 5000000 +id = 'f4500229-efef-4af8-9a1a-a00e1240e7fb' + +[[headers]] +key = 'x-api-key' +value = '2ae687c5-e901-498a-ab78-225b0586d06d' +description = 'api key de test pp' + +[body] +type = 'JSON' +raw = ''' +{ + "component_reference": "4749108", + "finished_good_item_code": null, + "quantity":1, + "conception_code": "code cc", + "provider_cnuf": "P4577", + "incoterm": "DDP", + "shipment_method": "NO_SHIPPING", + "comment": "This is a comment", + "extra_feature": [ + { + "key": "size", + "value": "iron" + } + ] +}''' +``` diff --git a/workspace/dkt/rank2/.jetclient/DKT/Pre-production/API ERP/Test order line delete.md b/workspace/dkt/rank2/.jetclient/DKT/Pre-production/API ERP/Test order line delete.md new file mode 100644 index 0000000..0e7c16b --- /dev/null +++ b/workspace/dkt/rank2/.jetclient/DKT/Pre-production/API ERP/Test order line delete.md @@ -0,0 +1,13 @@ +```toml +name = 'Test order line delete' +description = '/component/v1/orders/R60055A4074/lines/3' +method = 'DELETE' +url = 'https://localhost:8443/component/v1/orders/R60055A4074/lines/3' +sortWeight = 7000000 +id = '51eb08d5-1b46-4690-b73a-5bb67d66de54' + +[[headers]] +key = 'x-api-key' +value = '2ae687c5-e901-498a-ab78-225b0586d06d' +description = 'api key de test pp' +``` diff --git a/workspace/dkt/rank2/.jetclient/DKT/Pre-production/API ERP/Test order line update.md b/workspace/dkt/rank2/.jetclient/DKT/Pre-production/API ERP/Test order line update.md new file mode 100644 index 0000000..5ac4e00 --- /dev/null +++ b/workspace/dkt/rank2/.jetclient/DKT/Pre-production/API ERP/Test order line update.md @@ -0,0 +1,23 @@ +```toml +name = 'Test order line update' +description = '/component/v1/orders/R60055A4079/lines/2' +method = 'POST' +url = 'https://localhost:8443/component/v1/orders/R60055A4079/lines/2' +sortWeight = 6000000 +id = 'e18cc95e-bb6c-4cc9-ba5e-2293075aae80' + +[[headers]] +key = 'x-api-key' +value = '2ae687c5-e901-498a-ab78-225b0586d06d' +description = 'api key de test pp' + +[body] +type = 'JSON' +raw = ''' +{ + "quantity": 1, + "conception_code": "code cc", + "comment": "This is a comment", + "shipment_method": "NO_SHIPPING" +}''' +``` diff --git a/workspace/dkt/rank2/.jetclient/DKT/Pre-production/API ERP/Test order lines.md b/workspace/dkt/rank2/.jetclient/DKT/Pre-production/API ERP/Test order lines.md new file mode 100644 index 0000000..040b0e2 --- /dev/null +++ b/workspace/dkt/rank2/.jetclient/DKT/Pre-production/API ERP/Test order lines.md @@ -0,0 +1,13 @@ +```toml +name = 'Test order lines' +description = '/component/v1/orders/R45219A1248/lines' +method = 'GET' +url = 'https://localhost:8443/component/v1/orders/R45219A1248/lines' +sortWeight = 12000000 +id = 'c164bdff-3376-4cc0-ad15-b5863a51adf6' + +[[headers]] +key = 'x-api-key' +value = '2ae687c5-e901-498a-ab78-225b0586d06d' +description = 'api key de test pp' +``` diff --git a/workspace/dkt/rank2/.jetclient/DKT/Pre-production/API ERP/Test order shipments.md b/workspace/dkt/rank2/.jetclient/DKT/Pre-production/API ERP/Test order shipments.md new file mode 100644 index 0000000..3e525f7 --- /dev/null +++ b/workspace/dkt/rank2/.jetclient/DKT/Pre-production/API ERP/Test order shipments.md @@ -0,0 +1,13 @@ +```toml +name = 'Test order shipments' +description = '/component/v1/orders/R45219A1248/shipments' +method = 'GET' +url = 'https://localhost:8443/component/v1/orders/R45219A1248/shipments' +sortWeight = 13000000 +id = '84ef586d-5968-470c-847b-ec6dfac1142a' + +[[headers]] +key = 'x-api-key' +value = '2ae687c5-e901-498a-ab78-225b0586d06d' +description = 'api key de test pp' +``` diff --git a/workspace/dkt/rank2/.jetclient/DKT/Pre-production/API ERP/Test order validation.md b/workspace/dkt/rank2/.jetclient/DKT/Pre-production/API ERP/Test order validation.md new file mode 100644 index 0000000..e282265 --- /dev/null +++ b/workspace/dkt/rank2/.jetclient/DKT/Pre-production/API ERP/Test order validation.md @@ -0,0 +1,13 @@ +```toml +name = 'Test order validation' +description = '/component/v1/orders/R45226E43/validation' +method = 'POST' +url = 'https://localhost:8443/component/v1/orders/R45226E43/validation' +sortWeight = 8000000 +id = 'b031aebe-3b73-4d91-83eb-57c1405055a7' + +[[headers]] +key = 'x-api-key' +value = '2ae687c5-e901-498a-ab78-225b0586d06d' +description = 'api key de test pp' +``` diff --git a/workspace/dkt/rank2/.jetclient/DKT/Pre-production/API ERP/Test vendor address.md b/workspace/dkt/rank2/.jetclient/DKT/Pre-production/API ERP/Test vendor address.md new file mode 100644 index 0000000..610564f --- /dev/null +++ b/workspace/dkt/rank2/.jetclient/DKT/Pre-production/API ERP/Test vendor address.md @@ -0,0 +1,13 @@ +```toml +name = 'Test vendor address' +description = '/component/v1/vendors/60055/addresses/479020' +method = 'GET' +url = 'https://localhost:8443/component/v1/vendors/60055/addresses/479020' +sortWeight = 14000000 +id = '2ba47896-0808-4a2f-a913-97a543c4739a' + +[[headers]] +key = 'x-api-key' +value = '2ae687c5-e901-498a-ab78-225b0586d06d' +description = 'api key de test pp' +``` diff --git a/workspace/dkt/rank2/.jetclient/DKT/Pre-production/API ERP/Test vendor addresses.md b/workspace/dkt/rank2/.jetclient/DKT/Pre-production/API ERP/Test vendor addresses.md new file mode 100644 index 0000000..25f5b39 --- /dev/null +++ b/workspace/dkt/rank2/.jetclient/DKT/Pre-production/API ERP/Test vendor addresses.md @@ -0,0 +1,17 @@ +```toml +name = 'Test vendor addresses' +description = '/component/v1/vendors/60055/addresses' +method = 'GET' +url = 'https://localhost:8443/component/v1/vendors/60055/addresses?type=shipping' +sortWeight = 15000000 +id = '37791bdb-6a93-4cb4-b49d-157fbd389967' + +[[queryParams]] +key = 'type' +value = 'shipping' + +[[headers]] +key = 'x-api-key' +value = '2ae687c5-e901-498a-ab78-225b0586d06d' +description = 'api key de test pp' +``` diff --git a/workspace/dkt/rank2/.jetclient/DKT/Pre-production/API ERP/_folder.md b/workspace/dkt/rank2/.jetclient/DKT/Pre-production/API ERP/_folder.md new file mode 100644 index 0000000..45d07e6 --- /dev/null +++ b/workspace/dkt/rank2/.jetclient/DKT/Pre-production/API ERP/_folder.md @@ -0,0 +1,6 @@ +```toml +name = 'API ERP' +description = '/component/v1/' +sortWeight = 1000000 +id = '177fc1e5-10f9-4507-8790-6b9773ef85b2' +``` diff --git a/workspace/dkt/rank2/.jetclient/DKT/Pre-production/API ERP/health ping.md b/workspace/dkt/rank2/.jetclient/DKT/Pre-production/API ERP/health ping.md new file mode 100644 index 0000000..511621a --- /dev/null +++ b/workspace/dkt/rank2/.jetclient/DKT/Pre-production/API ERP/health ping.md @@ -0,0 +1,13 @@ +```toml +name = 'health ping' +description = '/component/v1/health/ping' +method = 'GET' +url = 'https://{{host}}/component/v1/health/ping' +sortWeight = 1000000 +id = '681a2e78-9f8b-4703-b85a-41c0197eb27e' + +[[headers]] +key = 'X-Api-Key' +value = '{{x-api-key}}' +description = 'api key de test pp' +``` diff --git a/workspace/dkt/rank2/.jetclient/DKT/Pre-production/_folder.md b/workspace/dkt/rank2/.jetclient/DKT/Pre-production/_folder.md new file mode 100644 index 0000000..11d87e1 --- /dev/null +++ b/workspace/dkt/rank2/.jetclient/DKT/Pre-production/_folder.md @@ -0,0 +1,15 @@ +```toml +name = 'Pre-production' +sortWeight = 1000000 +id = '3bf11114-91fa-4482-a9eb-67f6b138c1a0' + +[auth.oauth2] +grantType = 'CLIENT_CREDENTIALS' +tokenUrl = '{{url}}' +callbackUrl = '' +clientId = '{{user}}' +clientSecret = '{{secret}}' +codeChallengeMethod = 'PLAIN' +autoRefreshToken = false +authorizeUsingBrowser = false +``` diff --git a/workspace/dkt/rank2/.jetclient/jetclient.md b/workspace/dkt/rank2/.jetclient/jetclient.md new file mode 100644 index 0000000..abe5882 --- /dev/null +++ b/workspace/dkt/rank2/.jetclient/jetclient.md @@ -0,0 +1,36 @@ +```toml +name = 'LocalhostRank2' +id = '72131080-0449-43c5-b749-c8f0458909f8' + +[[environmentGroups]] +name = 'Default' +environments = ['preprod', 'prod', 'localhost'] +``` + +#### Variables + +```json5 +{ + preprod: { + "x-api-key": "e343ce06-bd07-449b-af90-ccf7abad7edb", + "host": "api.preprod.decathlon.net", + "url": "https://preprod.idpdecathlon.oxylane.com/as/token.oauth2", + "user": "C196d7bc0c8bae220f74b8eb55da803813386f57a", + "secret": "pass Nrd/Projet/decathlon/apis/connexion\ Clients\ credentials\ PP -c" + }, + localhost: { + "x-api-key": "e343ce06-bd07-449b-af90-ccf7abad7edb", + "host": "localhost:8443", + "url": "https://preprod.idpdecathlon.oxylane.com/as/token.oauth2", + "user": "C196d7bc0c8bae220f74b8eb55da803813386f57a", + "secret": "pass Nrd/Projet/decathlon/apis/connexion\ Clients\ credentials\ PP -c" + }, + prod: { + "x-api-key": "fee52be2-4de1-4165-ab4e-716ea4738d06", + "host": "api.prod.decathlon.net", + "url": "https://idpdecathlon.oxylane.com/as/token.oauth2", + "user": "C3916a726322bfcabce75e6b0f4eb47f48e3fdc61", + "secret": "pass -c Nrd/Projet/decathlon/apis/connexion\ Clients\ credentials\ Prod" + } +} +```