Skip to content
Documentation/canton-network-docs/Ledger APIgRPC APIPackagesv2ServicesCommandSubmissionServiceView on canton-network-docs
canton-network-docs/Ledger APIgRPC APIPackagesv2ServicesCommandSubmissionService

SubmitReassignment

Ledger APIgRPC APIv2SubmitReassignment

com.daml.ledger.api.v2

SubmitReassignment

gRPCSince 3.4.4
RPC/com.daml.ledger.api.v2.CommandSubmissionService/SubmitReassignment

Protocol Details

Inputs

SubmitReassignmentRequest

reassignment_commandsReassignmentCommands

Outputs

SubmitReassignmentResponse

Lifecycle Changes

3.4.4introduced

com.daml.ledger.api.v2.SubmitReassignmentRequest

reassignment_commandsReassignmentCommands

com.daml.ledger.api.v2.ReassignmentCommands

workflow_idstring
user_idstring
command_idstring
submitterstring
submission_idstring
commandsrepeated ReassignmentCommand

com.daml.ledger.api.v2.ReassignmentCommand

unassign_commandUnassignCommand
assign_commandAssignCommand

com.daml.ledger.api.v2.UnassignCommand

contract_idstring
sourcestring
targetstring

com.daml.ledger.api.v2.AssignCommand

reassignment_idstring
sourcestring
targetstring

com.daml.ledger.api.v2.SubmitReassignmentResponse

grpcurl
grpcurl
# Add -plaintext if the server is not using TLS.
grpcurl \
  -d @ \
  <HOST:PORT> \
  com.daml.ledger.api.v2.CommandSubmissionService/SubmitReassignment <<'EOF'
{
  "reassignmentCommands": {
    "workflowId": "string",
    "userId": "string",
    "commandId": "string",
    "submitter": "string",
    "submissionId": "string",
    "commands": [
      {
        "unassignCommand": {
          "contractId": "string",
          "source": "string",
          "target": "string"
        }
      }
    ]
  }
}
EOF
OKapplication/json
OK
{}