Created
July 7, 2017 10:23
-
-
Save Tadas44/887400156f23a9e827a2d84a1e57e7b7 to your computer and use it in GitHub Desktop.
Unesco
This file contains hidden or 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
{ | |
"data": [{ | |
"dataserie": "12312", | |
"user": "petrr", | |
"date": "2017-06-29T10:00:00.000Z", | |
"selopt_type": "numbers", | |
"selopt_values": ["1", null, "3"], | |
"selopt_notes": ["note1", null, "note3"] | |
}, { | |
"dataserie": "12313", | |
"user": "petrr", | |
"date": "2017-06-29T10:00:00.000Z", | |
"selopt_type": "select_option", | |
"selopt_values": ["Erosional"], | |
"selopt_notes": ["Note 1"] | |
}] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
upload gpoint api become: PUT http:///api/gpoints/merge
with payload
[
{
"gpoint_id": "721060",
"gpoint":{
"series":[
["2017-06-29T10:00:00.000Z",null,"1",null,null,"4",null,null,null,null,null,null]
],
"seriesnote":[
["2017-06-29T10:00:00.000Z",null,"note1",null,null,"note4",null,null,null,null,null,null]
],
"serieowner":[
["2017-06-29T10:00:00.000Z",null,"alsalhi",null,null,"alsalhi",null,null,null,null,null,null]
]
}
},
{
"gpoint_id": "720543",
"gpoint":{
"seriestring":[
["2017-06-29T10:00:00.000Z","Erosional"]
],
"serienote":[
["2017-06-29T10:00:00.000Z","geo"]
],
"serieowner":[
["2017-06-29T10:00:00.000Z","alsalhi"]
]
}
},
...
...
]