{
  "algorithm": {
    "parameters": [
      {
        "name": "partyId",
        "type": "string"
      },
      {
        "name": "identificationId",
        "type": "string"
      },
      {
        "name": "instance",
        "type": "Identification"
      }
    ],
    "statements": [
      {
        "command": "Set",
        "expression": "ExtPartyManagement.PatchPartyIdentification(^partyId, ^identificationId, ^instance)",
        "variableName": "result"
      },
      {
        "command": "Return",
        "expression": "^result"
      }
    ],
    "typeReturn": "Identification",
    "variables": [
      {
        "name": "result",
        "type": "Identification"
      }
    ]
  },
  "routing": {
    "method": "PATCH",
    "parameters": [
      {
        "bind": "partyId",
        "in": "Path",
        "name": "partyId",
        "remarks": "Party id"
      },
      {
        "bind": "identificationId",
        "in": "Path",
        "name": "identificationId",
        "remarks": "Identification Id"
      },
      {
        "bind": "instance",
        "in": "Body",
        "name": "instance",
        "remarks": "instance"
      }
    ],
    "path": "/parties/{partyId}/identifications/{identificationId}",
    "remarks": "Update party identification",
    "responses": [
      {
        "httpStatus": "200",
        "remarks": "OK"
      },
      {
        "httpStatus": "204",
        "remarks": "No Content"
      },
      {
        "errorName": "Unauthorized",
        "httpStatus": "401",
        "remarks": "Unauthorized"
      },
      {
        "errorName": "Forbidden",
        "httpStatus": "403",
        "remarks": "Forbidden"
      },
      {
        "errorName": "NotFound",
        "httpStatus": "404",
        "remarks": "Not found"
      }
    ]
  }
}