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 {
url: http://localhost:5000/api/Suppliers/2/getItemsPackaging?entry=1
url: {{URL}}/api/Suppliers/2/getItemsPackaging?entry=1
body: none
auth: none
}

View File

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

View File

@ -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
}

View File

@ -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"
}
}

View File

@ -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
}

View File

@ -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"
}
}

View File

@ -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
}

View File

@ -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
}

View File

@ -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
}

View File

@ -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"
}
}

View File

@ -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
}

View File

@ -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"
}
}

View File

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

View File

@ -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
}

View File

@ -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
}

View File

@ -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
}

View File

@ -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
}

View File

@ -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
}

View File

@ -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
}

View File

@ -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
}
}

View File

@ -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
}
}

View File

@ -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"
}
}

View File

@ -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
}

View File

@ -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"
}
}

View File

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

View File

@ -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.
}

View File

@ -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 {
//
//
}

View File

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

View File

@ -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
}

View File

@ -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
}
}

View File

@ -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
}

View File

@ -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
}

View File

@ -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
}

View File

@ -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
}

View File

@ -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

View File

@ -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
}

View File

@ -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
}
}

View File

@ -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"
}
}

View File

@ -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
}

View File

@ -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
}

View File

@ -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:
}

View File

@ -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
}

View File

@ -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
}
}

View File

@ -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"
}
]
}
}

View File

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

View File

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

View File

@ -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
}

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -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
}
}

View File

@ -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
}
}

View File

@ -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
}
}

View File

@ -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
}
}