Commit e441c003 authored by ymir's avatar ymir
Browse files

dummy OSB GraphQL client

parent 237d8916
{
"data": {
"createAddresses": {
"readAddresses": [
{
"id": "21",
"houseNumber": "10",
"street": "STREET#0",
"zipCode": "100",
"city": "CITY#0"
},
{
"id": "22",
"houseNumber": "11",
"street": "STREET#1",
"zipCode": "101",
"city": "CITY#1"
}
]
}
},
"errors": [
"error #0",
"error #1"
]
}
{
"data": {
"deleteAddresses": {
"confirmation": true
}
},
"errors": [
"error #0",
"error #1"
]
}
......@@ -749,7 +749,7 @@
}]
},
"errors": [
"Variable \"$readAddressesInput\" of required type \"ReadAddressesInput!\" was not provided.",
"Variable \"$readAddressesInput\" of required type \"ReadAddressesInput!\" was not provided."
]
"error #0",
"error #1"
]
}
{
"data": {
"updateAddresses": {
"confirmation": true
}
},
"errors": [
"error #0",
"error #1"
]
}
{
"data": {
"createClients": {
"readClients": [
{
"id": "16",
"firstName": "first_name#0",
"lastName": "last_name#0",
"address": {
"id": "1",
"houseNumber": "765",
"street": "Thomas St.",
"zipCode": "7024",
"city": "Fort Lee"
}
},
{
"id": "17",
"firstName": "first_name#1",
"lastName": "last_name#1",
"address": {
"id": "2",
"houseNumber": "9280",
"street": "Water Court",
"zipCode": "37803",
"city": "Maryville"
}
}
]
}
},
"errors": [
"error #0",
"error #1"
]
}
{
"data": {
"deleteClients": {
"confirmation": true
}
},
"errors": [
"error #0",
"error #1"
]
}
......@@ -654,5 +654,9 @@
},
"purchaseOrders": []
}]
}
},
"errors": [
"error #0",
"error #1"
]
}
{
"data": {
"updateClients": {
"confirmation": true
}
},
"errors": [
"error #0",
"error #1"
]
}
{
"data": "Check the callback endpoint for subscription result",
"errors": [
"error #0",
"error #1"
]
}
{
"data": {
"createItems": {
"readItems": [
{
"id": "36",
"name": "name#0",
"price": 1
},
{
"id": "37",
"name": "name#1",
"price": 1.1
}
]
}
},
"errors": [
"error #0",
"error #1"
]
}
{
"data": {
"deleteItems": {
"confirmation": true
}
},
"errors": [
"error #0",
"error #1"
]
}
This diff is collapsed.
{
"data": {
"updateItems": {
"confirmation": true
}
},
"errors": [
"error #0",
"error #1"
]
}
{
"data": {
"createPurchaseOrders": {
"readPurchaseOrders": [
{
"id": "18",
"creationDate": 20200101,
"client": {
"id": "1",
"firstName": "Stephen",
"lastName": "King",
"address": {
"id": "1",
"houseNumber": "765",
"street": "Thomas St.",
"zipCode": "7024",
"city": "Fort Lee"
}
},
"orderLines": [
{
"id": "51",
"item": {
"id": "1",
"name": "chicken (raw)",
"price": 8.4
},
"quantity": 5
},
{
"id": "52",
"item": {
"id": "2",
"name": "chicken (cooked)",
"price": 9.45
},
"quantity": 6
}
]
},
{
"id": "19",
"creationDate": 20201231,
"client": {
"id": "2",
"firstName": "Dave",
"lastName": "Matthews",
"address": {
"id": "2",
"houseNumber": "9280",
"street": "Water Court",
"zipCode": "37803",
"city": "Maryville"
}
},
"orderLines": [
{
"id": "53",
"item": {
"id": "3",
"name": "porkchop (raw)",
"price": 12.6
},
"quantity": 7
},
{
"id": "54",
"item": {
"id": "4",
"name": "porkchop (cooked)",
"price": 13.65
},
"quantity": 8
}
]
}
]
}
},
"errors": [
"error #0",
"error #1"
]
}
{
"data": {
"deletePurchaseOrders": {
"confirmation": true
}
},
"errors": [
"error #0",
"error #1"
]
}
{
"data": {
"readPurchaseOrders": [
{
"id": "1",
"creationDate": 20040717,
"orderLines": [
{
"item": {
"id": "10",
"name": "baked potato (cooked)",
"price": 52.5
},
"quantity": 1
},
{
"item": {
"id": "14",
"name": "golden apple",
"price": 40.02
},
"quantity": 89
},
{
"item": {
"id": "16",
"name": "melon (block)",
"price": 25.15
},
"quantity": 95
},
{
"item": {
"id": "6",
"name": "beef/steak (cooked)",
"price": 11.55
},
"quantity": 98
},
{
"item": {
"id": "30",
"name": "sugar cane",
"price": 2.1
},
"quantity": 2
},
{
"item": {
"id": "15",
"name": "melon (slice)",
"price": 2.1
},
"quantity": 59
},
{
"item": {
"id": "5",
"name": "beef/steak (raw)",
"price": 1.05
},
"quantity": 3
},
{
"item": {
"id": "33",
"name": "milk",
"price": 4.5
},
"quantity": 82
}
],
"client": {
"id": "5",
"firstName": "Kate",
"lastName": "Upton",
"address": {
"id": "4",
"houseNumber": "7763",
"street": "Bedford St.",
"zipCode": "29646",
"city": "Greenwood"
}
}
},
{
"id": "2",
"creationDate": 20030617,
"orderLines": [
{
"item": {
"id": "21",
"name": "bread",
"price": 5.3
},
"quantity": 18
},
{
"item": {
"id": "2",
"name": "chicken (cooked)",
"price": 9.45
},
"quantity": 17
}
],
"client": {
"id": "2",
"firstName": "Dave",
"lastName": "Matthews",
"address": {
"id": "2",
"houseNumber": "9280",
"street": "Water Court",
"zipCode": "37803",
"city": "Maryville"
}
}
},
{
"id": "3",
"creationDate": 20070308,
"orderLines": [
{
"item": {
"id": "1",
"name": "chicken (raw)",
"price": 8.4
},
"quantity": 38
},
{
"item": {
"id": "35",
"name": "glistering melon",
"price": 4.02
},
"quantity": 97
},
{
"item": {
"id": "14",
"name": "golden apple",
"price": 40.02
},
"quantity": 1
},
{
"item": {
"id": "13",
"name": "red apple",
"price": 60.36
},
"quantity": 60
}
],
"client": {
"id": "6",
"firstName": "Frank",
"lastName": "Zappa",
"address": {
"id": "5",
"houseNumber": "3",
"street": "Jockey Hollow Dr.",
"zipCode": "6606",
"city": "Bridgeport"
}
}
},
{
"id": "4",
"creationDate": 20020703,
"orderLines": [],
"client": {
"id": "2",
"firstName": "Dave",
"lastName": "Matthews",
"address": {
"id": "2",
"houseNumber": "9280",
"street": "Water Court",
"zipCode": "37803",
"city": "Maryville"
}
}
},
{
"id": "5",
"creationDate": 20060607,
"orderLines": [
{
"item": {
"id": "1",
"name": "chicken (raw)",
"price": 8.4
},
"quantity": 9
},
{
"item": {
"id": "6",
"name": "beef/steak (cooked)",
"price": 11.55
},
"quantity": 13
},
{
"item": {
"id": "28",
"name": "cocoa beans",
"price": 2.1
},
"quantity": 18
}
],
"client": {
"id": "10",
"firstName": "Charles",
"lastName": "Darwin",
"address": {
"id": "5",
"houseNumber": "3",
"street": "Jockey Hollow Dr.",
"zipCode": "6606",
"city": "Bridgeport"
}
}
},
{
"id": "6",
"creationDate": 20110306,
"orderLines": [
{
"item": {
"id": "4",
"name": "porkchop (cooked)",
"price": 13.65
},
"quantity": 69
}
],
"client": {
"id": "4",
"firstName": "Stephen",
"lastName": "Hawking",
"address": {
"id": "1",
"houseNumber": "765",
"street": "Thomas St.",
"zipCode": "7024",
"city": "Fort Lee"
}
}
},
{
"id": "7",
"creationDate": 20121227,
"orderLines": [
{
"item": {
"id": "29",
"name": "wheat",
"price": 2.1
},
"quantity": 64
},
{
"item": {
"id": "18",
"name": "brown mushroom",
"price": 6.3
},
"quantity": 75
}
],
"client": {
"id": "6",
"firstName": "Frank",
"lastName": "Zappa",
"address": {
"id": "5",
"houseNumber": "3",
"street": "Jockey Hollow Dr.",
"zipCode": "6606",
"city": "Bridgeport"
}
}
},
{
"id": "8",
"creationDate": 20120118,
"orderLines": [
{
"item": {
"id": "16",
"name": "melon (block)",
"price": 25.15
},
"quantity": 39
},
{
"item": {
"id": "1",
"name": "chicken (raw)",