From 962f0bbe7d5e1a75330cef33c8aa090b18760a4e Mon Sep 17 00:00:00 2001 From: Javier Segarra Date: Mon, 22 Jan 2024 10:17:14 +0100 Subject: [PATCH] refs #6451 feat: replace localhost by URL variable --- api/Api/Buy/-Buys -packaging.bru | 2 +- api/Api/Chat/-chats-getServiceAuth.bru | 2 +- api/Api/Chat/-chats-send.bru | 2 +- api/Api/Client/-clients--id.bru | 6 ++--- api/Api/Client/-clients-findOne.bru | 2 +- api/Api/Client/-clients.bru | 8 +++---- api/Api/Client/-consumptionSendQueued.bru | 2 +- api/Api/Collection/-collection_getTickets.bru | 2 +- api/Api/Collection/-collections.bru | 2 +- api/Api/Collection/-items--id.bru | 6 ++--- api/Api/Collection/-items-findOne.bru | 2 +- api/Api/Collection/-items.bru | 14 +++++------ api/Api/Edi/-edi-updateData.bru | 2 +- api/Api/EmailUser/EmailUser.bru | 2 +- api/Api/Entry/-Entries- Add-packaging.bru | 2 +- api/Api/Entry/-Entries--listPackaging.bru | 2 +- api/Api/Entry/-Entries--packaging Notes.bru | 2 +- api/Api/Entry/-Entries--packaging.bru | 2 +- .../Entry/-Entries-addFromBuy -packaging.bru | 2 +- .../Item/-item setVisibleDiscard Local.bru | 16 ++++++------- api/Api/Item/-item setVisibleDiscard.bru | 16 ++++++------- api/Api/Item/-items--id.bru | 6 ++--- api/Api/Item/-items-findOne.bru | 2 +- api/Api/Item/-items.bru | 14 +++++------ .../ItemBarCode/ItemBarCodes--id-toItem.bru | 2 +- api/Api/ItemBarCode/ItemBarCodes.bru | 8 +++---- .../-itemImageQueues-downloadImages.bru | 4 ++-- api/Api/ItemImageQueue/-itemImageQueues.bru | 2 +- api/Api/ItemPackingType/ItemPackingTypes.bru | 2 +- .../ItemShelvings/-itemShelvings-update.bru | 6 ++--- api/Api/ShelvingLog/ShelvingLogs.bru | 2 +- api/Api/ShelvingLog/Shelvings.bru | 2 +- .../-Supplier--id--getItemsPackaging.bru | 2 +- api/Api/Ticket/--id-delivery-note.bru | 2 +- api/Api/Ticket/-ticketObservations.bru | 4 ++-- api/Api/Ticket/-ticketTracking.bru | 2 +- api/Api/Ticket/-tickets Advanced.bru | 8 +++---- api/Api/Ticket/-tickets--id.bru | 6 ++--- api/Api/Ticket/-tickets-client.bru | 2 +- api/Api/Ticket/-tickets-findOne.bru | 2 +- api/Api/Ticket/-tickets-saveSign.bru | 4 ++-- api/Api/Ticket/-tickets-transferSales.bru | 2 +- api/Api/Ticket/-tickets.bru | 6 ++--- .../-ExpeditionStates-addState.bru | 24 +++++++++---------- .../ItemShelving_updateFromSale OK.bru | 2 +- ...signCollection OK PROVAR EN DEV I TEST.bru | 2 +- api/Api/Warehouse/card OK.bru | 2 +- api/Api/Warehouse/collection_addItem OK.bru | 2 +- api/Api/Warehouse/getPallet OK.bru | 2 +- api/Api/Warehouse/getPrinter OK.bru | 2 +- ...etOrCollection -collection_getTickets-.bru | 2 +- api/Api/Warehouse/getVersion OK.bru | 2 +- .../itemBarcode_delete-barcode_edit- OK.bru | 2 +- .../Warehouse/itemShelvingMake_multi OK.bru | 2 +- api/Api/Warehouse/itemShelving_return OK.bru | 2 +- .../Warehouse/machineWorker_add REVISAR.bru | 2 +- ...chineWorkers_update COMPROBAR DE NUEVO.bru | 2 +- api/Api/Warehouse/saleTrackingDel OK.bru | 2 +- ...ace COMPROBAR DE NUEVO SUCCESS - ERROR.bru | 2 +- .../saleTracking_mark COMPROBAR DE NUEVO.bru | 2 +- ...ection_getSale OK PROVAR EN DEV I TEST.bru | 2 +- api/Api/Warehouse/shelvingLog_add OK.bru | 2 +- .../-Operators- get sector - labeler Copy.bru | 6 ++--- .../-Operators- get sector - labeler.bru | 6 ++--- api/Api/operator/-Operators- labeler.bru | 6 ++--- api/Api/operator/-Operators- sector.bru | 8 +++---- 66 files changed, 136 insertions(+), 136 deletions(-) diff --git a/api/Api/Buy/-Buys -packaging.bru b/api/Api/Buy/-Buys -packaging.bru index 183654b064..82e312a1f1 100644 --- a/api/Api/Buy/-Buys -packaging.bru +++ b/api/Api/Buy/-Buys -packaging.bru @@ -5,7 +5,7 @@ meta { } get { - url: http://localhost:5000/api/Suppliers/2/getItemsPackaging?entry=1 + url: {{URL}}/api/Suppliers/2/getItemsPackaging?entry=1 body: none auth: none } diff --git a/api/Api/Chat/-chats-getServiceAuth.bru b/api/Api/Chat/-chats-getServiceAuth.bru index 676380a048..265722520f 100644 --- a/api/Api/Chat/-chats-getServiceAuth.bru +++ b/api/Api/Chat/-chats-getServiceAuth.bru @@ -5,7 +5,7 @@ meta { } get { - url: http://localhost:5000/api/chats/getServiceAuth + url: {{URL}}/api/chats/getServiceAuth body: none auth: none } diff --git a/api/Api/Chat/-chats-send.bru b/api/Api/Chat/-chats-send.bru index 99af4ca0f4..f19cf20369 100644 --- a/api/Api/Chat/-chats-send.bru +++ b/api/Api/Chat/-chats-send.bru @@ -5,7 +5,7 @@ meta { } post { - url: http://localhost:5000/api/chats/send?to=@joan&message=Test message + url: {{URL}}/api/chats/send?to=@joan&message=Test message body: none auth: none } diff --git a/api/Api/Client/-clients--id.bru b/api/Api/Client/-clients--id.bru index 4053ea8184..e2820ddb69 100644 --- a/api/Api/Client/-clients--id.bru +++ b/api/Api/Client/-clients--id.bru @@ -5,13 +5,13 @@ meta { } patch { - url: http://localhost:5000/api/clients/1101 + url: {{URL}}/api/clients/1101 body: json auth: none } body:json { - { - "name": "Test client" + { + "name": "Test client" } } diff --git a/api/Api/Client/-clients-findOne.bru b/api/Api/Client/-clients-findOne.bru index 638e7e7fc6..22dc6527ee 100644 --- a/api/Api/Client/-clients-findOne.bru +++ b/api/Api/Client/-clients-findOne.bru @@ -5,7 +5,7 @@ meta { } get { - url: http://localhost:5000/api/clients/findOne?filter={"where": {"id": 1101}} + url: {{URL}}/api/clients/findOne?filter={"where": {"id": 1101}} body: none auth: none } diff --git a/api/Api/Client/-clients.bru b/api/Api/Client/-clients.bru index 3b339dd33e..1813bf1fa2 100644 --- a/api/Api/Client/-clients.bru +++ b/api/Api/Client/-clients.bru @@ -5,7 +5,7 @@ meta { } post { - url: http://localhost:5000/api/clients?filter={} + url: {{URL}}/api/clients?filter={} body: json auth: none } @@ -15,8 +15,8 @@ query { } body:json { - { - "id": 1300, - "name": "Customer name" + { + "id": 1300, + "name": "Customer name" } } diff --git a/api/Api/Client/-consumptionSendQueued.bru b/api/Api/Client/-consumptionSendQueued.bru index 9074bc4bab..a27c38da33 100644 --- a/api/Api/Client/-consumptionSendQueued.bru +++ b/api/Api/Client/-consumptionSendQueued.bru @@ -5,7 +5,7 @@ meta { } post { - url: http://localhost:5000/api/clients/consumption-send-queued + url: {{URL}}/api/clients/consumption-send-queued body: none auth: none } diff --git a/api/Api/Collection/-collection_getTickets.bru b/api/Api/Collection/-collection_getTickets.bru index edf61d9e99..e05c805bab 100644 --- a/api/Api/Collection/-collection_getTickets.bru +++ b/api/Api/Collection/-collection_getTickets.bru @@ -5,7 +5,7 @@ meta { } post { - url: http://localhost:5000/api/Collections/3/getTickets?print=false + url: {{URL}}/api/Collections/3/getTickets?print=false body: multipartForm auth: none } diff --git a/api/Api/Collection/-collections.bru b/api/Api/Collection/-collections.bru index 6ec61d3d89..728c381b1d 100644 --- a/api/Api/Collection/-collections.bru +++ b/api/Api/Collection/-collections.bru @@ -5,7 +5,7 @@ meta { } get { - url: http://localhost:5000/api/collections?filter={"where": {"id": 1}} + url: {{URL}}/api/collections?filter={"where": {"id": 1}} body: none auth: none } diff --git a/api/Api/Collection/-items--id.bru b/api/Api/Collection/-items--id.bru index 346387ed35..02316a8eab 100644 --- a/api/Api/Collection/-items--id.bru +++ b/api/Api/Collection/-items--id.bru @@ -5,13 +5,13 @@ meta { } patch { - url: http://localhost:5000/api/tickets/1 + url: {{URL}}/api/tickets/1 body: json auth: none } body:json { - { - "name": "Test item" + { + "name": "Test item" } } diff --git a/api/Api/Collection/-items-findOne.bru b/api/Api/Collection/-items-findOne.bru index 46294662b3..84a99d25fc 100644 --- a/api/Api/Collection/-items-findOne.bru +++ b/api/Api/Collection/-items-findOne.bru @@ -5,7 +5,7 @@ meta { } get { - url: http://localhost:5000/api/items/findOne?filter={"where": {"id": 1}} + url: {{URL}}/api/items/findOne?filter={"where": {"id": 1}} body: none auth: none } diff --git a/api/Api/Collection/-items.bru b/api/Api/Collection/-items.bru index 8207221b72..bfd483f76a 100644 --- a/api/Api/Collection/-items.bru +++ b/api/Api/Collection/-items.bru @@ -5,7 +5,7 @@ meta { } post { - url: http://localhost:5000/api/items?filter={} + url: {{URL}}/api/items?filter={} body: json auth: none } @@ -15,11 +15,11 @@ query { } body:json { - { - "id": 999, - "name": "Ranged weapon longbow 5m", - "typeFk": 1, - "originFk": 1, - "intrastatFk": "5080000" + { + "id": 999, + "name": "Ranged weapon longbow 5m", + "typeFk": 1, + "originFk": 1, + "intrastatFk": "5080000" } } diff --git a/api/Api/Edi/-edi-updateData.bru b/api/Api/Edi/-edi-updateData.bru index 7d2191a502..9ac2f44e37 100644 --- a/api/Api/Edi/-edi-updateData.bru +++ b/api/Api/Edi/-edi-updateData.bru @@ -5,7 +5,7 @@ meta { } get { - url: http://localhost:5000/api/edis/updateData + url: {{URL}}/api/edis/updateData body: none auth: none } diff --git a/api/Api/EmailUser/EmailUser.bru b/api/Api/EmailUser/EmailUser.bru index 373f6b9244..11980e298e 100644 --- a/api/Api/EmailUser/EmailUser.bru +++ b/api/Api/EmailUser/EmailUser.bru @@ -5,7 +5,7 @@ meta { } get { - url: http://localhost:5000/api/Shelvings?filter={"where":{"code":"BBB"}} + url: {{URL}}/api/Shelvings?filter={"where":{"code":"BBB"}} body: json auth: none } diff --git a/api/Api/Entry/-Entries- Add-packaging.bru b/api/Api/Entry/-Entries- Add-packaging.bru index 69c58589d8..0a6a09bee1 100644 --- a/api/Api/Entry/-Entries- Add-packaging.bru +++ b/api/Api/Entry/-Entries- Add-packaging.bru @@ -5,7 +5,7 @@ meta { } post { - url: http://localhost:5000/api/Entries/addFromPackaging?supplier=1&isTravelReception=false + url: {{URL}}/api/Entries/addFromPackaging?supplier=1&isTravelReception=false body: none auth: none } diff --git a/api/Api/Entry/-Entries--listPackaging.bru b/api/Api/Entry/-Entries--listPackaging.bru index a52a21ed86..64073b0f29 100644 --- a/api/Api/Entry/-Entries--listPackaging.bru +++ b/api/Api/Entry/-Entries--listPackaging.bru @@ -5,7 +5,7 @@ meta { } get { - url: http://localhost:5000/api/Suppliers/2/getItemsPackaging?entry=1 + url: {{URL}}/api/Suppliers/2/getItemsPackaging?entry=1 body: none auth: none } diff --git a/api/Api/Entry/-Entries--packaging Notes.bru b/api/Api/Entry/-Entries--packaging Notes.bru index 39df75f94f..1b0fd63630 100644 --- a/api/Api/Entry/-Entries--packaging Notes.bru +++ b/api/Api/Entry/-Entries--packaging Notes.bru @@ -5,7 +5,7 @@ meta { } get { - url: http://localhost:5000/api/Suppliers/2/getItemsPackaging?entry=1 + url: {{URL}}/api/Suppliers/2/getItemsPackaging?entry=1 body: none auth: none } diff --git a/api/Api/Entry/-Entries--packaging.bru b/api/Api/Entry/-Entries--packaging.bru index c9428f8751..75edbab0d1 100644 --- a/api/Api/Entry/-Entries--packaging.bru +++ b/api/Api/Entry/-Entries--packaging.bru @@ -5,7 +5,7 @@ meta { } get { - url: http://localhost:5000/api/Suppliers/2/getItemsPackaging?entry=1 + url: {{URL}}/api/Suppliers/2/getItemsPackaging?entry=1 body: none auth: none } diff --git a/api/Api/Entry/-Entries-addFromBuy -packaging.bru b/api/Api/Entry/-Entries-addFromBuy -packaging.bru index da90a407f3..65c4ef4c2e 100644 --- a/api/Api/Entry/-Entries-addFromBuy -packaging.bru +++ b/api/Api/Entry/-Entries-addFromBuy -packaging.bru @@ -5,7 +5,7 @@ meta { } get { - url: http://localhost:5000/api/Suppliers/2/getItemsPackaging?entry=1 + url: {{URL}}/api/Suppliers/2/getItemsPackaging?entry=1 body: none auth: none } diff --git a/api/Api/Item/-item setVisibleDiscard Local.bru b/api/Api/Item/-item setVisibleDiscard Local.bru index 681546f393..6abd65e30b 100644 --- a/api/Api/Item/-item setVisibleDiscard Local.bru +++ b/api/Api/Item/-item setVisibleDiscard Local.bru @@ -5,7 +5,7 @@ meta { } post { - url: http://localhost:5000/api/items/setVisibleDiscard + url: {{URL}}/api/items/setVisibleDiscard body: json auth: none } @@ -15,11 +15,11 @@ headers { } body:json { - { - "itemFk":1, - "warehouseFk":1, - "quantity":10, - "addressFk":null - } - + { + "itemFk":1, + "warehouseFk":1, + "quantity":10, + "addressFk":null + } + } diff --git a/api/Api/Item/-item setVisibleDiscard.bru b/api/Api/Item/-item setVisibleDiscard.bru index 24e1a15912..d3bb3a1f04 100644 --- a/api/Api/Item/-item setVisibleDiscard.bru +++ b/api/Api/Item/-item setVisibleDiscard.bru @@ -5,17 +5,17 @@ meta { } post { - url: http://localhost:5000/api/items/setVisibleDiscard + url: {{URL}}/api/items/setVisibleDiscard body: json auth: none } body:json { - { - "itemFk":1, - "warehouseFk":1, - "quantity":10, - "addressFk":1 - } - + { + "itemFk":1, + "warehouseFk":1, + "quantity":10, + "addressFk":1 + } + } diff --git a/api/Api/Item/-items--id.bru b/api/Api/Item/-items--id.bru index 18a74500b2..f56d7f2615 100644 --- a/api/Api/Item/-items--id.bru +++ b/api/Api/Item/-items--id.bru @@ -5,13 +5,13 @@ meta { } patch { - url: http://localhost:5000/api/tickets/1 + url: {{URL}}/api/tickets/1 body: json auth: none } body:json { - { - "name": "Test item" + { + "name": "Test item" } } diff --git a/api/Api/Item/-items-findOne.bru b/api/Api/Item/-items-findOne.bru index 1e76b1fff8..40a1090fba 100644 --- a/api/Api/Item/-items-findOne.bru +++ b/api/Api/Item/-items-findOne.bru @@ -5,7 +5,7 @@ meta { } get { - url: http://localhost:5000/api/items/findOne?filter={"where": {"id": 1}} + url: {{URL}}/api/items/findOne?filter={"where": {"id": 1}} body: none auth: none } diff --git a/api/Api/Item/-items.bru b/api/Api/Item/-items.bru index a5e5825119..2dd5b6c1d2 100644 --- a/api/Api/Item/-items.bru +++ b/api/Api/Item/-items.bru @@ -5,7 +5,7 @@ meta { } post { - url: http://localhost:5000/api/items?filter={} + url: {{URL}}/api/items?filter={} body: json auth: none } @@ -15,11 +15,11 @@ query { } body:json { - { - "id": 999, - "name": "Ranged weapon longbow 5m", - "typeFk": 1, - "originFk": 1, - "intrastatFk": "5080000" + { + "id": 999, + "name": "Ranged weapon longbow 5m", + "typeFk": 1, + "originFk": 1, + "intrastatFk": "5080000" } } diff --git a/api/Api/ItemBarCode/ItemBarCodes--id-toItem.bru b/api/Api/ItemBarCode/ItemBarCodes--id-toItem.bru index c2b7f9be47..f1843393b5 100644 --- a/api/Api/ItemBarCode/ItemBarCodes--id-toItem.bru +++ b/api/Api/ItemBarCode/ItemBarCodes--id-toItem.bru @@ -5,7 +5,7 @@ meta { } get { - url: http://localhost:5000/api/ItemBarCodes/1111111111/toItem + url: {{URL}}/api/ItemBarCodes/1111111111/toItem body: json auth: none } diff --git a/api/Api/ItemBarCode/ItemBarCodes.bru b/api/Api/ItemBarCode/ItemBarCodes.bru index 2d74419b36..e821536357 100644 --- a/api/Api/ItemBarCode/ItemBarCodes.bru +++ b/api/Api/ItemBarCode/ItemBarCodes.bru @@ -5,7 +5,7 @@ meta { } delete { - url: http://localhost:5000/api/ItemBarCodes?filter={"where": {"itemFk": 1,"code":"ASDDD"}} + url: {{URL}}/api/ItemBarCodes?filter={"where": {"itemFk": 1,"code":"ASDDD"}} body: json auth: none } @@ -16,8 +16,8 @@ query { } body:json { - - - + + + NO ES POT FER DELETE AMB UN FILTRE de item i code, és necessari el id. } diff --git a/api/Api/ItemImageQueue/-itemImageQueues-downloadImages.bru b/api/Api/ItemImageQueue/-itemImageQueues-downloadImages.bru index 24c947a680..8d7a49cf6e 100644 --- a/api/Api/ItemImageQueue/-itemImageQueues-downloadImages.bru +++ b/api/Api/ItemImageQueue/-itemImageQueues-downloadImages.bru @@ -5,7 +5,7 @@ meta { } post { - url: http://localhost:5000/api/itemImageQueues/download + url: {{URL}}/api/itemImageQueues/download body: none auth: none } @@ -15,5 +15,5 @@ headers { } script:pre-request { - // + // } diff --git a/api/Api/ItemImageQueue/-itemImageQueues.bru b/api/Api/ItemImageQueue/-itemImageQueues.bru index e1262e77e6..d1f740b957 100644 --- a/api/Api/ItemImageQueue/-itemImageQueues.bru +++ b/api/Api/ItemImageQueue/-itemImageQueues.bru @@ -5,7 +5,7 @@ meta { } get { - url: http://localhost:5000/api/itemImageQueues + url: {{URL}}/api/itemImageQueues body: none auth: none } diff --git a/api/Api/ItemPackingType/ItemPackingTypes.bru b/api/Api/ItemPackingType/ItemPackingTypes.bru index e5ec7eb91f..b67c98f313 100644 --- a/api/Api/ItemPackingType/ItemPackingTypes.bru +++ b/api/Api/ItemPackingType/ItemPackingTypes.bru @@ -5,7 +5,7 @@ meta { } get { - url: http://localhost:5000/api/ItemPackingTypes?filter={"where": {"isActive": true}} + url: {{URL}}/api/ItemPackingTypes?filter={"where": {"isActive": true}} body: none auth: none } diff --git a/api/Api/ItemShelvings/-itemShelvings-update.bru b/api/Api/ItemShelvings/-itemShelvings-update.bru index 4b0438f5ff..cdc0314e31 100644 --- a/api/Api/ItemShelvings/-itemShelvings-update.bru +++ b/api/Api/ItemShelvings/-itemShelvings-update.bru @@ -5,7 +5,7 @@ meta { } post { - url: http://localhost:3000/api/itemShelvings/update?where={"id": {"inq": [1,3]}} + url: {{URL}}/api/itemShelvings/update?where={"id": {"inq": [1,3]}} body: json auth: none } @@ -22,7 +22,7 @@ headers { } body:json { - { - "isChecked":null + { + "isChecked":null } } diff --git a/api/Api/ShelvingLog/ShelvingLogs.bru b/api/Api/ShelvingLog/ShelvingLogs.bru index a97cbce22b..8e78631f98 100644 --- a/api/Api/ShelvingLog/ShelvingLogs.bru +++ b/api/Api/ShelvingLog/ShelvingLogs.bru @@ -5,7 +5,7 @@ meta { } get { - url: http://localhost:5000/api/ShelvingLogs?filter={"include":[{"relation":"user","scope":{"fields":["name"]}}],"where":{"originFk":"5"}} + url: {{URL}}/api/ShelvingLogs?filter={"include":[{"relation":"user","scope":{"fields":["name"]}}],"where":{"originFk":"5"}} body: json auth: none } diff --git a/api/Api/ShelvingLog/Shelvings.bru b/api/Api/ShelvingLog/Shelvings.bru index 1248d2ee10..c74d8e6b8d 100644 --- a/api/Api/ShelvingLog/Shelvings.bru +++ b/api/Api/ShelvingLog/Shelvings.bru @@ -5,7 +5,7 @@ meta { } get { - url: http://localhost:5000/api/Shelvings?filter={"where":{"code":"BBB"}} + url: {{URL}}/api/Shelvings?filter={"where":{"code":"BBB"}} body: json auth: none } diff --git a/api/Api/Supplier/-Supplier--id--getItemsPackaging.bru b/api/Api/Supplier/-Supplier--id--getItemsPackaging.bru index 188c2c8fcd..6dae871684 100644 --- a/api/Api/Supplier/-Supplier--id--getItemsPackaging.bru +++ b/api/Api/Supplier/-Supplier--id--getItemsPackaging.bru @@ -5,7 +5,7 @@ meta { } get { - url: http://localhost:5000/api/Suppliers/2/getItemsPackaging?entry=1 + url: {{URL}}/api/Suppliers/2/getItemsPackaging?entry=1 body: none auth: none } diff --git a/api/Api/Ticket/--id-delivery-note.bru b/api/Api/Ticket/--id-delivery-note.bru index b07bbba575..cf03228c11 100644 --- a/api/Api/Ticket/--id-delivery-note.bru +++ b/api/Api/Ticket/--id-delivery-note.bru @@ -5,7 +5,7 @@ meta { } get { - url: http://localhost:5000/api/tickets/delivery-note?filter={"where": {"id": 1}} + url: {{URL}}/api/tickets/delivery-note?filter={"where": {"id": 1}} body: none auth: none } diff --git a/api/Api/Ticket/-ticketObservations.bru b/api/Api/Ticket/-ticketObservations.bru index 53fa63b2f1..f2997b5de3 100644 --- a/api/Api/Ticket/-ticketObservations.bru +++ b/api/Api/Ticket/-ticketObservations.bru @@ -5,7 +5,7 @@ meta { } post { - url: http://localhost:5000/api/TicketObservations/1 + url: {{URL}}/api/TicketObservations/1 body: json auth: none } @@ -15,7 +15,7 @@ headers { } body:json { - + {"description": "string", "ticketFk": 1, "observationTypeFk": 3 diff --git a/api/Api/Ticket/-ticketTracking.bru b/api/Api/Ticket/-ticketTracking.bru index c7bfb518e0..c7dbb8f721 100644 --- a/api/Api/Ticket/-ticketTracking.bru +++ b/api/Api/Ticket/-ticketTracking.bru @@ -5,7 +5,7 @@ meta { } get { - url: http://localhost:5000/api/ticketStates?filter={"where": {"workerFk": 100},"limit": 5} + url: {{URL}}/api/ticketStates?filter={"where": {"workerFk": 100},"limit": 5} body: none auth: none } diff --git a/api/Api/Ticket/-tickets Advanced.bru b/api/Api/Ticket/-tickets Advanced.bru index 1dfd99ed0a..064c7aed0b 100644 --- a/api/Api/Ticket/-tickets Advanced.bru +++ b/api/Api/Ticket/-tickets Advanced.bru @@ -5,7 +5,7 @@ meta { } post { - url: http://localhost:3000/api/packingSiteAdvanceds + url: {{URL}}/api/packingSiteAdvanceds body: json auth: none } @@ -20,8 +20,8 @@ headers { } body:json { - { - "workerFk": 1, - "ticketFk":2 + { + "workerFk": 1, + "ticketFk":2 } } diff --git a/api/Api/Ticket/-tickets--id.bru b/api/Api/Ticket/-tickets--id.bru index fedecec09f..e9cb922ad1 100644 --- a/api/Api/Ticket/-tickets--id.bru +++ b/api/Api/Ticket/-tickets--id.bru @@ -5,13 +5,13 @@ meta { } patch { - url: http://localhost:5000/api/items/1 + url: {{URL}}/api/items/1 body: json auth: none } body:json { - { - "name": "Test item" + { + "name": "Test item" } } diff --git a/api/Api/Ticket/-tickets-client.bru b/api/Api/Ticket/-tickets-client.bru index 42247c0b10..67c1343af5 100644 --- a/api/Api/Ticket/-tickets-client.bru +++ b/api/Api/Ticket/-tickets-client.bru @@ -5,7 +5,7 @@ meta { } get { - url: http://localhost:5000/api/tickets/1/client?filter={"where": {"id": 1}} + url: {{URL}}/api/tickets/1/client?filter={"where": {"id": 1}} body: none auth: none } diff --git a/api/Api/Ticket/-tickets-findOne.bru b/api/Api/Ticket/-tickets-findOne.bru index bcd0a8d907..c9185c16bd 100644 --- a/api/Api/Ticket/-tickets-findOne.bru +++ b/api/Api/Ticket/-tickets-findOne.bru @@ -5,7 +5,7 @@ meta { } get { - url: http://localhost:5000/api/tickets/findOne?filter={"where": {"id": 1}} + url: {{URL}}/api/tickets/findOne?filter={"where": {"id": 1}} body: none auth: none } diff --git a/api/Api/Ticket/-tickets-saveSign.bru b/api/Api/Ticket/-tickets-saveSign.bru index f13d352413..2567bc739b 100644 --- a/api/Api/Ticket/-tickets-saveSign.bru +++ b/api/Api/Ticket/-tickets-saveSign.bru @@ -5,11 +5,11 @@ meta { } get { - url: http://localhost:5000/api/tickets/saveSign?tickets= + url: {{URL}}/api/tickets/saveSign?tickets= body: none auth: none } query { - tickets: + tickets: } diff --git a/api/Api/Ticket/-tickets-transferSales.bru b/api/Api/Ticket/-tickets-transferSales.bru index 70d4eac80d..996267c491 100644 --- a/api/Api/Ticket/-tickets-transferSales.bru +++ b/api/Api/Ticket/-tickets-transferSales.bru @@ -5,7 +5,7 @@ meta { } get { - url: http://localhost:5000/api/tickets?filter={"where": {"id": 1}} + url: {{URL}}/api/tickets?filter={"where": {"id": 1}} body: none auth: none } diff --git a/api/Api/Ticket/-tickets.bru b/api/Api/Ticket/-tickets.bru index db0b5c8927..9ea26ddbbd 100644 --- a/api/Api/Ticket/-tickets.bru +++ b/api/Api/Ticket/-tickets.bru @@ -5,7 +5,7 @@ meta { } post { - url: http://localhost:5000/api/tickets?filter={} + url: {{URL}}/api/tickets?filter={} body: json auth: none } @@ -15,7 +15,7 @@ query { } body:json { - { - "id": 30 + { + "id": 30 } } diff --git a/api/Api/Ticket/ExpeditionState/-ExpeditionStates-addState.bru b/api/Api/Ticket/ExpeditionState/-ExpeditionStates-addState.bru index 251b4c7eab..a25840eb0f 100644 --- a/api/Api/Ticket/ExpeditionState/-ExpeditionStates-addState.bru +++ b/api/Api/Ticket/ExpeditionState/-ExpeditionStates-addState.bru @@ -5,7 +5,7 @@ meta { } post { - url: http://localhost:5000/api/ExpeditionStates/addExpeditionState + url: {{URL}}/api/ExpeditionStates/addExpeditionState body: json auth: none } @@ -16,16 +16,16 @@ headers { } body:json { - { - "expeditions": [ - { - "expeditionFk": 1, - "stateCode": "ON DELIVERY" - }, - { - "expeditionFk": 2, - "stateCode": "LOST" - } - ] + { + "expeditions": [ + { + "expeditionFk": 1, + "stateCode": "ON DELIVERY" + }, + { + "expeditionFk": 2, + "stateCode": "LOST" + } + ] } } diff --git a/api/Api/Warehouse/ItemShelving_updateFromSale OK.bru b/api/Api/Warehouse/ItemShelving_updateFromSale OK.bru index 9fc35562de..92e0f99b6d 100644 --- a/api/Api/Warehouse/ItemShelving_updateFromSale OK.bru +++ b/api/Api/Warehouse/ItemShelving_updateFromSale OK.bru @@ -5,7 +5,7 @@ meta { } post { - url: http://localhost:3000/api/ItemShelvings/updateFromSale + url: {{URL}}/api/ItemShelvings/updateFromSale body: json auth: none } diff --git a/api/Api/Warehouse/assignCollection OK PROVAR EN DEV I TEST.bru b/api/Api/Warehouse/assignCollection OK PROVAR EN DEV I TEST.bru index 00a2b9405d..d6e7462bf8 100644 --- a/api/Api/Warehouse/assignCollection OK PROVAR EN DEV I TEST.bru +++ b/api/Api/Warehouse/assignCollection OK PROVAR EN DEV I TEST.bru @@ -5,7 +5,7 @@ meta { } post { - url: http://localhost:5000/api/Collections/assignCollection + url: {{URL}}/api/Collections/assignCollection body: none auth: none } diff --git a/api/Api/Warehouse/card OK.bru b/api/Api/Warehouse/card OK.bru index e4f6060a6e..b710d2cb1d 100644 --- a/api/Api/Warehouse/card OK.bru +++ b/api/Api/Warehouse/card OK.bru @@ -5,7 +5,7 @@ meta { } get { - url: http://localhost:3000/api/Items/card?itemFk=1&warehouseFk=1 + url: {{URL}}/api/Items/card?itemFk=1&warehouseFk=1 body: json auth: none } diff --git a/api/Api/Warehouse/collection_addItem OK.bru b/api/Api/Warehouse/collection_addItem OK.bru index 7d8a500431..d08b98d64b 100644 --- a/api/Api/Warehouse/collection_addItem OK.bru +++ b/api/Api/Warehouse/collection_addItem OK.bru @@ -5,7 +5,7 @@ meta { } post { - url: http://localhost:3000/api/Collections/addItem + url: {{URL}}/api/Collections/addItem body: json auth: none } diff --git a/api/Api/Warehouse/getPallet OK.bru b/api/Api/Warehouse/getPallet OK.bru index 48e29979f7..691adc7355 100644 --- a/api/Api/Warehouse/getPallet OK.bru +++ b/api/Api/Warehouse/getPallet OK.bru @@ -5,7 +5,7 @@ meta { } get { - url: http://localhost:5000/api/ExpeditionPallets/getPallet + url: {{URL}}/api/ExpeditionPallets/getPallet body: json auth: none } diff --git a/api/Api/Warehouse/getPrinter OK.bru b/api/Api/Warehouse/getPrinter OK.bru index bcde6ea490..c429ee269d 100644 --- a/api/Api/Warehouse/getPrinter OK.bru +++ b/api/Api/Warehouse/getPrinter OK.bru @@ -5,7 +5,7 @@ meta { } get { - url: http://localhost:5000/api/Operators/getPrinter + url: {{URL}}/api/Operators/getPrinter body: none auth: none } diff --git a/api/Api/Warehouse/getSalesFromTicketOrCollection -collection_getTickets-.bru b/api/Api/Warehouse/getSalesFromTicketOrCollection -collection_getTickets-.bru index c5c59948a8..bd1e7594bf 100644 --- a/api/Api/Warehouse/getSalesFromTicketOrCollection -collection_getTickets-.bru +++ b/api/Api/Warehouse/getSalesFromTicketOrCollection -collection_getTickets-.bru @@ -5,7 +5,7 @@ meta { } get { - url: http://localhost:3000/api/Collections/getSalesFromTicketOrCollection?collectionOrTicketFk=1§orFk=1&printFk=2&source=1&access_token=DEFAULT_TOKEN + url: {{URL}}/api/Collections/getSalesFromTicketOrCollection?collectionOrTicketFk=1§orFk=1&printFk=2&source=1&access_token=DEFAULT_TOKEN body: json auth: none } diff --git a/api/Api/Warehouse/getVersion OK.bru b/api/Api/Warehouse/getVersion OK.bru index 0c73e95b19..211a701115 100644 --- a/api/Api/Warehouse/getVersion OK.bru +++ b/api/Api/Warehouse/getVersion OK.bru @@ -5,7 +5,7 @@ meta { } get { - url: http://localhost:3000/api/MobileAppVersionControls/getVersion + url: {{URL}}/api/MobileAppVersionControls/getVersion body: json auth: none } diff --git a/api/Api/Warehouse/itemBarcode_delete-barcode_edit- OK.bru b/api/Api/Warehouse/itemBarcode_delete-barcode_edit- OK.bru index 4b50a2b818..5dab70de51 100644 --- a/api/Api/Warehouse/itemBarcode_delete-barcode_edit- OK.bru +++ b/api/Api/Warehouse/itemBarcode_delete-barcode_edit- OK.bru @@ -5,7 +5,7 @@ meta { } delete { - url: http://localhost:3000/api/ItemBarcodes/delete + url: {{URL}}/api/ItemBarcodes/delete body: json auth: none } diff --git a/api/Api/Warehouse/itemShelvingMake_multi OK.bru b/api/Api/Warehouse/itemShelvingMake_multi OK.bru index a592e98f03..7dad2ca502 100644 --- a/api/Api/Warehouse/itemShelvingMake_multi OK.bru +++ b/api/Api/Warehouse/itemShelvingMake_multi OK.bru @@ -5,7 +5,7 @@ meta { } post { - url: http://localhost:3000/api/ItemShelvings/makeMulti + url: {{URL}}/api/ItemShelvings/makeMulti body: json auth: none } diff --git a/api/Api/Warehouse/itemShelving_return OK.bru b/api/Api/Warehouse/itemShelving_return OK.bru index 7d0423a701..47a297f9ed 100644 --- a/api/Api/Warehouse/itemShelving_return OK.bru +++ b/api/Api/Warehouse/itemShelving_return OK.bru @@ -5,7 +5,7 @@ meta { } get { - url: http://localhost:3000/api/ItemShelvings/return + url: {{URL}}/api/ItemShelvings/return body: json auth: none } diff --git a/api/Api/Warehouse/machineWorker_add REVISAR.bru b/api/Api/Warehouse/machineWorker_add REVISAR.bru index e6b00aa561..4a907af71a 100644 --- a/api/Api/Warehouse/machineWorker_add REVISAR.bru +++ b/api/Api/Warehouse/machineWorker_add REVISAR.bru @@ -5,7 +5,7 @@ meta { } post { - url: http://localhost:3000/api/MachineWorkers/add + url: {{URL}}/api/MachineWorkers/add body: json auth: none } diff --git a/api/Api/Warehouse/machineWorkers_update COMPROBAR DE NUEVO.bru b/api/Api/Warehouse/machineWorkers_update COMPROBAR DE NUEVO.bru index cb48e10698..b3badbcce0 100644 --- a/api/Api/Warehouse/machineWorkers_update COMPROBAR DE NUEVO.bru +++ b/api/Api/Warehouse/machineWorkers_update COMPROBAR DE NUEVO.bru @@ -5,7 +5,7 @@ meta { } post { - url: http://localhost:3000/api/MachineWorkers/updateInTime + url: {{URL}}/api/MachineWorkers/updateInTime body: json auth: none } diff --git a/api/Api/Warehouse/saleTrackingDel OK.bru b/api/Api/Warehouse/saleTrackingDel OK.bru index 1123a4bce7..ba950808d3 100644 --- a/api/Api/Warehouse/saleTrackingDel OK.bru +++ b/api/Api/Warehouse/saleTrackingDel OK.bru @@ -5,7 +5,7 @@ meta { } post { - url: http://localhost:3000/api/SaleTrackings/delete + url: {{URL}}/api/SaleTrackings/delete body: json auth: none } diff --git a/api/Api/Warehouse/saleTrackingReplace COMPROBAR DE NUEVO SUCCESS - ERROR.bru b/api/Api/Warehouse/saleTrackingReplace COMPROBAR DE NUEVO SUCCESS - ERROR.bru index 2acf72237f..5db1ec7823 100644 --- a/api/Api/Warehouse/saleTrackingReplace COMPROBAR DE NUEVO SUCCESS - ERROR.bru +++ b/api/Api/Warehouse/saleTrackingReplace COMPROBAR DE NUEVO SUCCESS - ERROR.bru @@ -5,7 +5,7 @@ meta { } post { - url: http://localhost:3000/api/SaleTrackings/updateTracking + url: {{URL}}/api/SaleTrackings/updateTracking body: json auth: none } diff --git a/api/Api/Warehouse/saleTracking_mark COMPROBAR DE NUEVO.bru b/api/Api/Warehouse/saleTracking_mark COMPROBAR DE NUEVO.bru index 3526bbaec5..6870c8a38c 100644 --- a/api/Api/Warehouse/saleTracking_mark COMPROBAR DE NUEVO.bru +++ b/api/Api/Warehouse/saleTracking_mark COMPROBAR DE NUEVO.bru @@ -5,7 +5,7 @@ meta { } post { - url: http://localhost:3000/api/SaleTrackings/mark + url: {{URL}}/api/SaleTrackings/mark body: json auth: none } diff --git a/api/Api/Warehouse/sectorCollection_getSale OK PROVAR EN DEV I TEST.bru b/api/Api/Warehouse/sectorCollection_getSale OK PROVAR EN DEV I TEST.bru index eba60ca7f1..9ffb664803 100644 --- a/api/Api/Warehouse/sectorCollection_getSale OK PROVAR EN DEV I TEST.bru +++ b/api/Api/Warehouse/sectorCollection_getSale OK PROVAR EN DEV I TEST.bru @@ -5,7 +5,7 @@ meta { } get { - url: http://localhost:3000/api/ItemShelvings/getSale?sectorCollectionFk=1§orFk=1 + url: {{URL}}/api/ItemShelvings/getSale?sectorCollectionFk=1§orFk=1 body: none auth: none } diff --git a/api/Api/Warehouse/shelvingLog_add OK.bru b/api/Api/Warehouse/shelvingLog_add OK.bru index 6b249fbeb5..59694fbbea 100644 --- a/api/Api/Warehouse/shelvingLog_add OK.bru +++ b/api/Api/Warehouse/shelvingLog_add OK.bru @@ -5,7 +5,7 @@ meta { } post { - url: http://localhost:3000/api/Shelvings/addLog + url: {{URL}}/api/Shelvings/addLog body: text auth: none } diff --git a/api/Api/operator/-Operators- get sector - labeler Copy.bru b/api/Api/operator/-Operators- get sector - labeler Copy.bru index ec111ad828..addf0bc04b 100644 --- a/api/Api/operator/-Operators- get sector - labeler Copy.bru +++ b/api/Api/operator/-Operators- get sector - labeler Copy.bru @@ -5,7 +5,7 @@ meta { } post { - url: http://localhost:5000/api/Operators/update?where[workerFk]=9 + url: {{URL}}/api/Operators/update?where[workerFk]=9 body: json auth: none } @@ -19,7 +19,7 @@ headers { } body:json { - { - "labelerFk":2 + { + "labelerFk":2 } } diff --git a/api/Api/operator/-Operators- get sector - labeler.bru b/api/Api/operator/-Operators- get sector - labeler.bru index 0ea6814e3c..559dbd23bb 100644 --- a/api/Api/operator/-Operators- get sector - labeler.bru +++ b/api/Api/operator/-Operators- get sector - labeler.bru @@ -5,7 +5,7 @@ meta { } post { - url: http://localhost:5000/api/Operators/update?where[workerFk]=9 + url: {{URL}}/api/Operators/update?where[workerFk]=9 body: json auth: none } @@ -19,7 +19,7 @@ headers { } body:json { - { - "labelerFk":2 + { + "labelerFk":2 } } diff --git a/api/Api/operator/-Operators- labeler.bru b/api/Api/operator/-Operators- labeler.bru index 901a7ed5cd..a4064fbe62 100644 --- a/api/Api/operator/-Operators- labeler.bru +++ b/api/Api/operator/-Operators- labeler.bru @@ -5,7 +5,7 @@ meta { } post { - url: http://localhost:5000/api/Operators/update?where[workerFk]=9 + url: {{URL}}/api/Operators/update?where[workerFk]=9 body: json auth: none } @@ -19,7 +19,7 @@ headers { } body:json { - { - "labelerFk":2 + { + "labelerFk":2 } } diff --git a/api/Api/operator/-Operators- sector.bru b/api/Api/operator/-Operators- sector.bru index 936f9936d3..f3bc04a22b 100644 --- a/api/Api/operator/-Operators- sector.bru +++ b/api/Api/operator/-Operators- sector.bru @@ -5,7 +5,7 @@ meta { } post { - url: http://localhost:5000/api/Operators/update?where[workerFK]=9 + url: {{URL}}/api/Operators/update?where[workerFK]=9 body: json auth: none } @@ -19,8 +19,8 @@ headers { } body:json { - { - "sectorFk":2, - "labelerFk":null + { + "sectorFk":2, + "labelerFk":null } }