@Path(value="import") public class Import extends Object
| Constructor and Description |
|---|
Import() |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
getAll(Long farmid)
Returns all Import routine per farm id
|
javax.ws.rs.core.Response |
getGrouped(Long farmid,
String status)
Returns all Import routine per farm id
|
ImportRoutineDescriptor |
importExcel(String batchType,
Long farmid,
String sourceFile,
String sourceVersion)
Launches DM Import
|
@POST @Produces(value="application/json") public ImportRoutineDescriptor importExcel(@QueryParam(value="batch_type") String batchType, @QueryParam(value="farmid") Long farmid, @QueryParam(value="source") String sourceFile, @QueryParam(value="source_version") String sourceVersion)
batchType - farmid - sourceFile - @GET
@Produces(value="application/json")
@Path(value="{farmid}")
public javax.ws.rs.core.Response getAll(@PathParam(value="farmid")
Long farmid)
Copyright © 2020. All Rights Reserved.