22 lines
614 B
Protocol Buffer
22 lines
614 B
Protocol Buffer
syntax="proto3";
|
|
package bts.api.position;
|
|
option csharp_namespace="bts.api.position";
|
|
import "lib/api/apioptions.proto";
|
|
import "lib/api/services/PositionService.proto";
|
|
|
|
message GMI_ParseResult {
|
|
oneof result {
|
|
string failure = 1;
|
|
BasePositionBatch success = 2;
|
|
}
|
|
}
|
|
|
|
message GMI_CSVBlock {
|
|
string text = 1;
|
|
}
|
|
|
|
service BasePositionService {
|
|
option (bts.api.service_description) =
|
|
"Obtains an initial position from an external source and invokes the Position Service with it. Also provides on demand parsing of the GMI format";
|
|
rpc parse_gmi_csv (GMI_CSVBlock) returns (GMI_ParseResult);
|
|
} |