Skip to content
Snippets Groups Projects
Commit 4cb9b775 authored by Tor-Einar Skog's avatar Tor-Einar Skog
Browse files

doc: Correction of docs for observation sync endpoint

parent 036fba97
No related branches found
No related tags found
No related merge requests found
...@@ -881,7 +881,7 @@ public class ObservationService { ...@@ -881,7 +881,7 @@ public class ObservationService {
/** /**
* This service is used by the VIPS Field observation app to sync data stored locally on the smartphone with the * This service is used by the VIPS Field observation app to sync data stored locally on the smartphone with the
* state(s) of the observation(s) in the VIPSLogic database * state of an (potentially non-existent) observation in the VIPSLogic database
* @param observationJson Json representation of the observation(s) * @param observationJson Json representation of the observation(s)
* @return The observation(s) in their merged state, serialized to Json * @return The observation(s) in their merged state, serialized to Json
*/ */
...@@ -889,6 +889,7 @@ public class ObservationService { ...@@ -889,6 +889,7 @@ public class ObservationService {
@Path("syncobservationfromapp") @Path("syncobservationfromapp")
@Consumes("application/json;charset=UTF-8") @Consumes("application/json;charset=UTF-8")
@Produces("application/json;charset=UTF-8") @Produces("application/json;charset=UTF-8")
@TypeHint(Observation.class)
public Response syncObservationFromApp( public Response syncObservationFromApp(
String observationJson String observationJson
) )
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment