Created
July 31, 2018 17:53
-
-
Save sseidenthal/117b57878793d17adf697bb0adbbfab7 to your computer and use it in GitHub Desktop.
example database for json-server
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"tenants": [ | |
{ "id": 1, "name": "Anectotolis SA"}, | |
{ "id": 2, "name": "OOTP Management"} | |
], | |
"datasources": [ | |
{ | |
"id": 11, | |
"tenantId": 1, | |
"alias": "Anectotolis SA - HUHU", | |
"amdocs_settings" : { | |
"customer": 10000001, | |
"datasource_id": 123, | |
"state": "connected", | |
"billing_arrangements": [ | |
{ | |
"billing_arrangement": 700001, | |
"billing_arrangementId": 1, | |
"alias" : "700001 - HAHA" | |
}, | |
{ | |
"billing_arrangement": 700002, | |
"billing_arrangementId": 2, | |
"alias" : "700002 - HAHA" | |
} | |
] | |
} | |
} | |
], | |
"billing_arrangements" : [ | |
{ | |
"id" : 1, | |
"billing_arrangement" : 7000001, | |
"customerId": 1 | |
}, | |
{ | |
"id" : 2, | |
"billing_arrangement" : 7000002, | |
"customerId": 2 | |
}, | |
{ | |
"id" : 3, | |
"billing_arrangement" : 7000002, | |
"customerId": 2 | |
}, | |
{ | |
"id" : 4, | |
"billing_arrangement" : 7000002, | |
"customerId": 2 | |
}, | |
{ | |
"id" : 5, | |
"billing_arrangement" : 7000002, | |
"customerId": 2 | |
} | |
], | |
"customers": [ | |
{ | |
"id": 1, | |
"name": "Customer 1", | |
"customer_number" : 10000001 | |
}, | |
{ | |
"id": 2, | |
"name": "Customer 2", | |
"customer_number" : 10000002 | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment