refs #6451 feat: replace localhost by URL variable

This commit is contained in:
Javier Segarra 2024-01-22 10:17:14 +01:00
parent 42c622223e
commit 962f0bbe7d
66 changed files with 136 additions and 136 deletions

View File

@ -5,7 +5,7 @@ meta {
} }
get { get {
url: http://localhost:5000/api/Suppliers/2/getItemsPackaging?entry=1 url: {{URL}}/api/Suppliers/2/getItemsPackaging?entry=1
body: none body: none
auth: none auth: none
} }

View File

@ -5,7 +5,7 @@ meta {
} }
get { get {
url: http://localhost:5000/api/chats/getServiceAuth url: {{URL}}/api/chats/getServiceAuth
body: none body: none
auth: none auth: none
} }

View File

@ -5,7 +5,7 @@ meta {
} }
post { 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 body: none
auth: none auth: none
} }

View File

@ -5,13 +5,13 @@ meta {
} }
patch { patch {
url: http://localhost:5000/api/clients/1101 url: {{URL}}/api/clients/1101
body: json body: json
auth: none auth: none
} }
body:json { body:json {
{ {
"name": "Test client" "name": "Test client"
} }
} }

View File

@ -5,7 +5,7 @@ meta {
} }
get { get {
url: http://localhost:5000/api/clients/findOne?filter={"where": {"id": 1101}} url: {{URL}}/api/clients/findOne?filter={"where": {"id": 1101}}
body: none body: none
auth: none auth: none
} }

View File

@ -5,7 +5,7 @@ meta {
} }
post { post {
url: http://localhost:5000/api/clients?filter={} url: {{URL}}/api/clients?filter={}
body: json body: json
auth: none auth: none
} }
@ -15,8 +15,8 @@ query {
} }
body:json { body:json {
{ {
"id": 1300, "id": 1300,
"name": "Customer name" "name": "Customer name"
} }
} }

View File

@ -5,7 +5,7 @@ meta {
} }
post { post {
url: http://localhost:5000/api/clients/consumption-send-queued url: {{URL}}/api/clients/consumption-send-queued
body: none body: none
auth: none auth: none
} }

View File

@ -5,7 +5,7 @@ meta {
} }
post { post {
url: http://localhost:5000/api/Collections/3/getTickets?print=false url: {{URL}}/api/Collections/3/getTickets?print=false
body: multipartForm body: multipartForm
auth: none auth: none
} }

View File

@ -5,7 +5,7 @@ meta {
} }
get { get {
url: http://localhost:5000/api/collections?filter={"where": {"id": 1}} url: {{URL}}/api/collections?filter={"where": {"id": 1}}
body: none body: none
auth: none auth: none
} }

View File

@ -5,13 +5,13 @@ meta {
} }
patch { patch {
url: http://localhost:5000/api/tickets/1 url: {{URL}}/api/tickets/1
body: json body: json
auth: none auth: none
} }
body:json { body:json {
{ {
"name": "Test item" "name": "Test item"
} }
} }

View File

@ -5,7 +5,7 @@ meta {
} }
get { get {
url: http://localhost:5000/api/items/findOne?filter={"where": {"id": 1}} url: {{URL}}/api/items/findOne?filter={"where": {"id": 1}}
body: none body: none
auth: none auth: none
} }

View File

@ -5,7 +5,7 @@ meta {
} }
post { post {
url: http://localhost:5000/api/items?filter={} url: {{URL}}/api/items?filter={}
body: json body: json
auth: none auth: none
} }
@ -15,11 +15,11 @@ query {
} }
body:json { body:json {
{ {
"id": 999, "id": 999,
"name": "Ranged weapon longbow 5m", "name": "Ranged weapon longbow 5m",
"typeFk": 1, "typeFk": 1,
"originFk": 1, "originFk": 1,
"intrastatFk": "5080000" "intrastatFk": "5080000"
} }
} }

View File

@ -5,7 +5,7 @@ meta {
} }
get { get {
url: http://localhost:5000/api/edis/updateData url: {{URL}}/api/edis/updateData
body: none body: none
auth: none auth: none
} }

View File

@ -5,7 +5,7 @@ meta {
} }
get { get {
url: http://localhost:5000/api/Shelvings?filter={"where":{"code":"BBB"}} url: {{URL}}/api/Shelvings?filter={"where":{"code":"BBB"}}
body: json body: json
auth: none auth: none
} }

View File

@ -5,7 +5,7 @@ meta {
} }
post { post {
url: http://localhost:5000/api/Entries/addFromPackaging?supplier=1&isTravelReception=false url: {{URL}}/api/Entries/addFromPackaging?supplier=1&isTravelReception=false
body: none body: none
auth: none auth: none
} }

View File

@ -5,7 +5,7 @@ meta {
} }
get { get {
url: http://localhost:5000/api/Suppliers/2/getItemsPackaging?entry=1 url: {{URL}}/api/Suppliers/2/getItemsPackaging?entry=1
body: none body: none
auth: none auth: none
} }

View File

@ -5,7 +5,7 @@ meta {
} }
get { get {
url: http://localhost:5000/api/Suppliers/2/getItemsPackaging?entry=1 url: {{URL}}/api/Suppliers/2/getItemsPackaging?entry=1
body: none body: none
auth: none auth: none
} }

View File

@ -5,7 +5,7 @@ meta {
} }
get { get {
url: http://localhost:5000/api/Suppliers/2/getItemsPackaging?entry=1 url: {{URL}}/api/Suppliers/2/getItemsPackaging?entry=1
body: none body: none
auth: none auth: none
} }

View File

@ -5,7 +5,7 @@ meta {
} }
get { get {
url: http://localhost:5000/api/Suppliers/2/getItemsPackaging?entry=1 url: {{URL}}/api/Suppliers/2/getItemsPackaging?entry=1
body: none body: none
auth: none auth: none
} }

View File

@ -5,7 +5,7 @@ meta {
} }
post { post {
url: http://localhost:5000/api/items/setVisibleDiscard url: {{URL}}/api/items/setVisibleDiscard
body: json body: json
auth: none auth: none
} }
@ -15,11 +15,11 @@ headers {
} }
body:json { body:json {
{ {
"itemFk":1, "itemFk":1,
"warehouseFk":1, "warehouseFk":1,
"quantity":10, "quantity":10,
"addressFk":null "addressFk":null
} }
} }

View File

@ -5,17 +5,17 @@ meta {
} }
post { post {
url: http://localhost:5000/api/items/setVisibleDiscard url: {{URL}}/api/items/setVisibleDiscard
body: json body: json
auth: none auth: none
} }
body:json { body:json {
{ {
"itemFk":1, "itemFk":1,
"warehouseFk":1, "warehouseFk":1,
"quantity":10, "quantity":10,
"addressFk":1 "addressFk":1
} }
} }

View File

@ -5,13 +5,13 @@ meta {
} }
patch { patch {
url: http://localhost:5000/api/tickets/1 url: {{URL}}/api/tickets/1
body: json body: json
auth: none auth: none
} }
body:json { body:json {
{ {
"name": "Test item" "name": "Test item"
} }
} }

View File

@ -5,7 +5,7 @@ meta {
} }
get { get {
url: http://localhost:5000/api/items/findOne?filter={"where": {"id": 1}} url: {{URL}}/api/items/findOne?filter={"where": {"id": 1}}
body: none body: none
auth: none auth: none
} }

View File

@ -5,7 +5,7 @@ meta {
} }
post { post {
url: http://localhost:5000/api/items?filter={} url: {{URL}}/api/items?filter={}
body: json body: json
auth: none auth: none
} }
@ -15,11 +15,11 @@ query {
} }
body:json { body:json {
{ {
"id": 999, "id": 999,
"name": "Ranged weapon longbow 5m", "name": "Ranged weapon longbow 5m",
"typeFk": 1, "typeFk": 1,
"originFk": 1, "originFk": 1,
"intrastatFk": "5080000" "intrastatFk": "5080000"
} }
} }

View File

@ -5,7 +5,7 @@ meta {
} }
get { get {
url: http://localhost:5000/api/ItemBarCodes/1111111111/toItem url: {{URL}}/api/ItemBarCodes/1111111111/toItem
body: json body: json
auth: none auth: none
} }

View File

@ -5,7 +5,7 @@ meta {
} }
delete { 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 body: json
auth: none auth: none
} }
@ -16,8 +16,8 @@ query {
} }
body:json { body:json {
NO ES POT FER DELETE AMB UN FILTRE de item i code, és necessari el id. NO ES POT FER DELETE AMB UN FILTRE de item i code, és necessari el id.
} }

View File

@ -5,7 +5,7 @@ meta {
} }
post { post {
url: http://localhost:5000/api/itemImageQueues/download url: {{URL}}/api/itemImageQueues/download
body: none body: none
auth: none auth: none
} }
@ -15,5 +15,5 @@ headers {
} }
script:pre-request { script:pre-request {
// //
} }

View File

@ -5,7 +5,7 @@ meta {
} }
get { get {
url: http://localhost:5000/api/itemImageQueues url: {{URL}}/api/itemImageQueues
body: none body: none
auth: none auth: none
} }

View File

@ -5,7 +5,7 @@ meta {
} }
get { get {
url: http://localhost:5000/api/ItemPackingTypes?filter={"where": {"isActive": true}} url: {{URL}}/api/ItemPackingTypes?filter={"where": {"isActive": true}}
body: none body: none
auth: none auth: none
} }

View File

@ -5,7 +5,7 @@ meta {
} }
post { 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 body: json
auth: none auth: none
} }
@ -22,7 +22,7 @@ headers {
} }
body:json { body:json {
{ {
"isChecked":null "isChecked":null
} }
} }

View File

@ -5,7 +5,7 @@ meta {
} }
get { 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 body: json
auth: none auth: none
} }

View File

@ -5,7 +5,7 @@ meta {
} }
get { get {
url: http://localhost:5000/api/Shelvings?filter={"where":{"code":"BBB"}} url: {{URL}}/api/Shelvings?filter={"where":{"code":"BBB"}}
body: json body: json
auth: none auth: none
} }

View File

@ -5,7 +5,7 @@ meta {
} }
get { get {
url: http://localhost:5000/api/Suppliers/2/getItemsPackaging?entry=1 url: {{URL}}/api/Suppliers/2/getItemsPackaging?entry=1
body: none body: none
auth: none auth: none
} }

View File

@ -5,7 +5,7 @@ meta {
} }
get { 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 body: none
auth: none auth: none
} }

View File

@ -5,7 +5,7 @@ meta {
} }
post { post {
url: http://localhost:5000/api/TicketObservations/1 url: {{URL}}/api/TicketObservations/1
body: json body: json
auth: none auth: none
} }
@ -15,7 +15,7 @@ headers {
} }
body:json { body:json {
{"description": "string", {"description": "string",
"ticketFk": 1, "ticketFk": 1,
"observationTypeFk": 3 "observationTypeFk": 3

View File

@ -5,7 +5,7 @@ meta {
} }
get { 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 body: none
auth: none auth: none
} }

View File

@ -5,7 +5,7 @@ meta {
} }
post { post {
url: http://localhost:3000/api/packingSiteAdvanceds url: {{URL}}/api/packingSiteAdvanceds
body: json body: json
auth: none auth: none
} }
@ -20,8 +20,8 @@ headers {
} }
body:json { body:json {
{ {
"workerFk": 1, "workerFk": 1,
"ticketFk":2 "ticketFk":2
} }
} }

View File

@ -5,13 +5,13 @@ meta {
} }
patch { patch {
url: http://localhost:5000/api/items/1 url: {{URL}}/api/items/1
body: json body: json
auth: none auth: none
} }
body:json { body:json {
{ {
"name": "Test item" "name": "Test item"
} }
} }

View File

@ -5,7 +5,7 @@ meta {
} }
get { 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 body: none
auth: none auth: none
} }

View File

@ -5,7 +5,7 @@ meta {
} }
get { get {
url: http://localhost:5000/api/tickets/findOne?filter={"where": {"id": 1}} url: {{URL}}/api/tickets/findOne?filter={"where": {"id": 1}}
body: none body: none
auth: none auth: none
} }

View File

@ -5,11 +5,11 @@ meta {
} }
get { get {
url: http://localhost:5000/api/tickets/saveSign?tickets= url: {{URL}}/api/tickets/saveSign?tickets=
body: none body: none
auth: none auth: none
} }
query { query {
tickets: tickets:
} }

View File

@ -5,7 +5,7 @@ meta {
} }
get { get {
url: http://localhost:5000/api/tickets?filter={"where": {"id": 1}} url: {{URL}}/api/tickets?filter={"where": {"id": 1}}
body: none body: none
auth: none auth: none
} }

View File

@ -5,7 +5,7 @@ meta {
} }
post { post {
url: http://localhost:5000/api/tickets?filter={} url: {{URL}}/api/tickets?filter={}
body: json body: json
auth: none auth: none
} }
@ -15,7 +15,7 @@ query {
} }
body:json { body:json {
{ {
"id": 30 "id": 30
} }
} }

View File

@ -5,7 +5,7 @@ meta {
} }
post { post {
url: http://localhost:5000/api/ExpeditionStates/addExpeditionState url: {{URL}}/api/ExpeditionStates/addExpeditionState
body: json body: json
auth: none auth: none
} }
@ -16,16 +16,16 @@ headers {
} }
body:json { body:json {
{ {
"expeditions": [ "expeditions": [
{ {
"expeditionFk": 1, "expeditionFk": 1,
"stateCode": "ON DELIVERY" "stateCode": "ON DELIVERY"
}, },
{ {
"expeditionFk": 2, "expeditionFk": 2,
"stateCode": "LOST" "stateCode": "LOST"
} }
] ]
} }
} }

View File

@ -5,7 +5,7 @@ meta {
} }
post { post {
url: http://localhost:3000/api/ItemShelvings/updateFromSale url: {{URL}}/api/ItemShelvings/updateFromSale
body: json body: json
auth: none auth: none
} }

View File

@ -5,7 +5,7 @@ meta {
} }
post { post {
url: http://localhost:5000/api/Collections/assignCollection url: {{URL}}/api/Collections/assignCollection
body: none body: none
auth: none auth: none
} }

View File

@ -5,7 +5,7 @@ meta {
} }
get { get {
url: http://localhost:3000/api/Items/card?itemFk=1&warehouseFk=1 url: {{URL}}/api/Items/card?itemFk=1&warehouseFk=1
body: json body: json
auth: none auth: none
} }

View File

@ -5,7 +5,7 @@ meta {
} }
post { post {
url: http://localhost:3000/api/Collections/addItem url: {{URL}}/api/Collections/addItem
body: json body: json
auth: none auth: none
} }

View File

@ -5,7 +5,7 @@ meta {
} }
get { get {
url: http://localhost:5000/api/ExpeditionPallets/getPallet url: {{URL}}/api/ExpeditionPallets/getPallet
body: json body: json
auth: none auth: none
} }

View File

@ -5,7 +5,7 @@ meta {
} }
get { get {
url: http://localhost:5000/api/Operators/getPrinter url: {{URL}}/api/Operators/getPrinter
body: none body: none
auth: none auth: none
} }

View File

@ -5,7 +5,7 @@ meta {
} }
get { get {
url: http://localhost:3000/api/Collections/getSalesFromTicketOrCollection?collectionOrTicketFk=1&sectorFk=1&printFk=2&source=1&access_token=DEFAULT_TOKEN url: {{URL}}/api/Collections/getSalesFromTicketOrCollection?collectionOrTicketFk=1&sectorFk=1&printFk=2&source=1&access_token=DEFAULT_TOKEN
body: json body: json
auth: none auth: none
} }

View File

@ -5,7 +5,7 @@ meta {
} }
get { get {
url: http://localhost:3000/api/MobileAppVersionControls/getVersion url: {{URL}}/api/MobileAppVersionControls/getVersion
body: json body: json
auth: none auth: none
} }

View File

@ -5,7 +5,7 @@ meta {
} }
delete { delete {
url: http://localhost:3000/api/ItemBarcodes/delete url: {{URL}}/api/ItemBarcodes/delete
body: json body: json
auth: none auth: none
} }

View File

@ -5,7 +5,7 @@ meta {
} }
post { post {
url: http://localhost:3000/api/ItemShelvings/makeMulti url: {{URL}}/api/ItemShelvings/makeMulti
body: json body: json
auth: none auth: none
} }

View File

@ -5,7 +5,7 @@ meta {
} }
get { get {
url: http://localhost:3000/api/ItemShelvings/return url: {{URL}}/api/ItemShelvings/return
body: json body: json
auth: none auth: none
} }

View File

@ -5,7 +5,7 @@ meta {
} }
post { post {
url: http://localhost:3000/api/MachineWorkers/add url: {{URL}}/api/MachineWorkers/add
body: json body: json
auth: none auth: none
} }

View File

@ -5,7 +5,7 @@ meta {
} }
post { post {
url: http://localhost:3000/api/MachineWorkers/updateInTime url: {{URL}}/api/MachineWorkers/updateInTime
body: json body: json
auth: none auth: none
} }

View File

@ -5,7 +5,7 @@ meta {
} }
post { post {
url: http://localhost:3000/api/SaleTrackings/delete url: {{URL}}/api/SaleTrackings/delete
body: json body: json
auth: none auth: none
} }

View File

@ -5,7 +5,7 @@ meta {
} }
post { post {
url: http://localhost:3000/api/SaleTrackings/updateTracking url: {{URL}}/api/SaleTrackings/updateTracking
body: json body: json
auth: none auth: none
} }

View File

@ -5,7 +5,7 @@ meta {
} }
post { post {
url: http://localhost:3000/api/SaleTrackings/mark url: {{URL}}/api/SaleTrackings/mark
body: json body: json
auth: none auth: none
} }

View File

@ -5,7 +5,7 @@ meta {
} }
get { get {
url: http://localhost:3000/api/ItemShelvings/getSale?sectorCollectionFk=1&sectorFk=1 url: {{URL}}/api/ItemShelvings/getSale?sectorCollectionFk=1&sectorFk=1
body: none body: none
auth: none auth: none
} }

View File

@ -5,7 +5,7 @@ meta {
} }
post { post {
url: http://localhost:3000/api/Shelvings/addLog url: {{URL}}/api/Shelvings/addLog
body: text body: text
auth: none auth: none
} }

View File

@ -5,7 +5,7 @@ meta {
} }
post { post {
url: http://localhost:5000/api/Operators/update?where[workerFk]=9 url: {{URL}}/api/Operators/update?where[workerFk]=9
body: json body: json
auth: none auth: none
} }
@ -19,7 +19,7 @@ headers {
} }
body:json { body:json {
{ {
"labelerFk":2 "labelerFk":2
} }
} }

View File

@ -5,7 +5,7 @@ meta {
} }
post { post {
url: http://localhost:5000/api/Operators/update?where[workerFk]=9 url: {{URL}}/api/Operators/update?where[workerFk]=9
body: json body: json
auth: none auth: none
} }
@ -19,7 +19,7 @@ headers {
} }
body:json { body:json {
{ {
"labelerFk":2 "labelerFk":2
} }
} }

View File

@ -5,7 +5,7 @@ meta {
} }
post { post {
url: http://localhost:5000/api/Operators/update?where[workerFk]=9 url: {{URL}}/api/Operators/update?where[workerFk]=9
body: json body: json
auth: none auth: none
} }
@ -19,7 +19,7 @@ headers {
} }
body:json { body:json {
{ {
"labelerFk":2 "labelerFk":2
} }
} }

View File

@ -5,7 +5,7 @@ meta {
} }
post { post {
url: http://localhost:5000/api/Operators/update?where[workerFK]=9 url: {{URL}}/api/Operators/update?where[workerFK]=9
body: json body: json
auth: none auth: none
} }
@ -19,8 +19,8 @@ headers {
} }
body:json { body:json {
{ {
"sectorFk":2, "sectorFk":2,
"labelerFk":null "labelerFk":null
} }
} }