ddangelorb
3 years ago
8 changed files with 123 additions and 89 deletions
-
3db/1.wpd.sys_config.sql
-
3db/wp6.sample.capabilities-api.json
-
17db/wp6.sample.forms-fields-answers.json
-
9db/wp6.sample.pluviometer-api.json
-
17db/wp6.sample.pluviometer-forms-api.json
-
60db/wp6.sample.pluviometer-modal-api.json
-
17db/wp6.sample.pluviometer-register-api.json
-
BINdb/wpd.erd.pdf
@ -1,6 +1,5 @@ |
|||||
JSON intended to get all forms |
JSON intended to get all forms |
||||
|
|
||||
|
|
||||
|
https: //waterproofing.geog.uni-heidelberg.de/api/hot/capability |
||||
{ |
{ |
||||
"responseTimestamp": "2021-08-05T19:23:50.126Z", |
"responseTimestamp": "2021-08-05T19:23:50.126Z", |
||||
"responseData": { |
"responseData": { |
@ -1,18 +1,21 @@ |
|||||
JSON intended to insert pluviometer forms data into datalake |
JSON intended to insert pluviometer forms data into datalake |
||||
|
|
||||
|
|
||||
|
ws: //waterproofing.geog.uni-heidelberg.de/wss/hot/data?type=PLUVIOMETERS_FORM |
||||
{ |
{ |
||||
"responseData": { |
"responseData": { |
||||
"array_to_json": [{ |
|
||||
|
"array_to_json": [ |
||||
|
{ |
||||
"formcode": "PLUVIOMETERS_FORM", |
"formcode": "PLUVIOMETERS_FORM", |
||||
"formsanswersuserinformer": "admin@wpd.com", |
"formsanswersuserinformer": "admin@wpd.com", |
||||
"fias": [{ |
|
||||
|
"fias": [ |
||||
|
{ |
||||
"fieldsanswersdate": "11/02", |
"fieldsanswersdate": "11/02", |
||||
"fieldsanswersrainamount": 5, |
"fieldsanswersrainamount": 5, |
||||
"fieldsanswerseventtime": "21:52", |
"fieldsanswerseventtime": "21:52", |
||||
"fielsanswerimages" : "base64", |
|
||||
|
"fielsanswerimages": "base64", |
||||
"fielsanswercomment": "users description about the current event" |
"fielsanswercomment": "users description about the current event" |
||||
}] |
|
||||
}] |
|
||||
|
} |
||||
|
] |
||||
|
} |
||||
|
] |
||||
} |
} |
||||
} |
} |
@ -1,27 +1,51 @@ |
|||||
JSON intended to display pluviometer data on modal |
JSON intended to display pluviometer data on modal |
||||
|
|
||||
|
|
||||
|
ws: //waterproofing.geog.uni-heidelberg.de/wss/hot/data?type=PLUVIOMETERS_FORM |
||||
{ |
{ |
||||
"responseData": { |
"responseData": { |
||||
"array_to_json": [{ |
|
||||
|
"array_to_json": [ |
||||
|
{ |
||||
"formcode": "PLUVIOMETERS_FORM", |
"formcode": "PLUVIOMETERS_FORM", |
||||
"formsanswersuserinformer": "admin@wpd.com", |
"formsanswersuserinformer": "admin@wpd.com", |
||||
"fias": [{ |
|
||||
"username" : "Fulano", |
|
||||
"userrole" : "Professor", |
|
||||
|
"fias": [ |
||||
|
{ |
||||
|
"username": "Fulano", |
||||
|
"userrole": "Professor", |
||||
"institutionname": "E.E. Vicente Leporace", |
"institutionname": "E.E. Vicente Leporace", |
||||
"address" : "Rua Nassau", |
|
||||
"images" : "base64", |
|
||||
"pluviometerformsanswers" : [ |
|
||||
{"fieldsanswersdate": "11/02", "fieldsanswersrainamount": 5}, |
|
||||
{"fieldsanswersdate": "10/02", "fieldsanswersrainamount": 5}, |
|
||||
{"fieldsanswersdate": "9/02", "fieldsanswersrainamount": 5}, |
|
||||
{"fieldsanswersdate": "8/02", "fieldsanswersrainamount": 5}, |
|
||||
{"fieldsanswersdate": "7/02", "fieldsanswersrainamount": 5}, |
|
||||
{"fieldsanswersdate": "6/02", "fieldsanswersrainamount": 5}, |
|
||||
{"fieldsanswersdate": "2/02", "fieldsanswersrainamount": 5} |
|
||||
|
"address": "Rua Nassau", |
||||
|
"images": "base64", |
||||
|
"pluviometerformsanswers": [ |
||||
|
{ |
||||
|
"fieldsanswersdate": "11/02", |
||||
|
"fieldsanswersrainamount": 5 |
||||
|
}, |
||||
|
{ |
||||
|
"fieldsanswersdate": "10/02", |
||||
|
"fieldsanswersrainamount": 5 |
||||
|
}, |
||||
|
{ |
||||
|
"fieldsanswersdate": "9/02", |
||||
|
"fieldsanswersrainamount": 5 |
||||
|
}, |
||||
|
{ |
||||
|
"fieldsanswersdate": "8/02", |
||||
|
"fieldsanswersrainamount": 5 |
||||
|
}, |
||||
|
{ |
||||
|
"fieldsanswersdate": "7/02", |
||||
|
"fieldsanswersrainamount": 5 |
||||
|
}, |
||||
|
{ |
||||
|
"fieldsanswersdate": "6/02", |
||||
|
"fieldsanswersrainamount": 5 |
||||
|
}, |
||||
|
{ |
||||
|
"fieldsanswersdate": "2/02", |
||||
|
"fieldsanswersrainamount": 5 |
||||
|
} |
||||
|
] |
||||
|
} |
||||
|
] |
||||
|
} |
||||
] |
] |
||||
}] |
|
||||
}] |
|
||||
} |
} |
||||
} |
} |
Write
Preview
Loading…
Cancel
Save
Reference in new issue