20#ifndef ORES_REFDATA_API_MESSAGING_PARTY_IDENTIFIER_PROTOCOL_HPP
21#define ORES_REFDATA_API_MESSAGING_PARTY_IDENTIFIER_PROTOCOL_HPP
25#include "ores.refdata.api/domain/party_identifier.hpp"
27namespace ores::refdata::messaging {
29struct get_party_identifiers_request {
30 using response_type =
struct get_party_identifiers_response;
31 static constexpr std::string_view nats_subject =
"refdata.v1.party-identifiers.list";
35struct get_party_identifiers_response {
36 std::vector<ores::refdata::domain::party_identifier> identifiers;
39struct save_party_identifier_request {
40 using response_type =
struct save_party_identifier_response;
41 static constexpr std::string_view nats_subject =
"refdata.v1.party-identifiers.save";
45struct save_party_identifier_response {
50struct delete_party_identifier_request {
51 using response_type =
struct delete_party_identifier_response;
52 static constexpr std::string_view nats_subject =
"refdata.v1.party-identifiers.delete";
53 std::vector<std::string> ids;
56struct delete_party_identifier_response {
An external identifier for a party under a specific scheme.
Definition party_identifier.hpp:36