Select Git revision
release-startdev.sh
vorgangcommand.proto 1.08 KiB
syntax = "proto3";
package de.itvsh.ozg.pluto.vorgang.command;
import "callcontext.proto";
option java_multiple_files = true;
option java_package = "de.itvsh.ozg.pluto.vorgang.command";
option java_outer_classname = "VorgangCommandProto";
service CommandService {
rpc CreateVorgangCommand(CreateVorgangCommandRequest) returns (CommandResponse) {
}
rpc RevokeVorgangCommand(RevokeVorgangCommandRequest) returns (CommandResponse) {
}
}
enum Order {
ANNEHMEN = 0;
}
message CreateVorgangCommandRequest {
de.itvsh.ozg.pluto.command.CallContext context = 1;
string vorgangId = 2;
string order = 3;
string documentVersion = 4;
}
message CommandResponse {
enum ResponseCode {
OK = 0;
PENDING = 1;
ERROR = 2;
CONFLICT = 3;
}
ResponseCode responseCode = 1;
string messageCode = 2;
string messageParameters = 3;
string commandId = 4;
string documentVersion = 5;
}
message MessageParameter {
string name = 1;
string value = 2;
}
message RevokeVorgangCommandRequest {
de.itvsh.ozg.pluto.command.CallContext context = 1;
string commandId = 2;
string documentVersion = 3;
}