catp.005.001.02
The ATMReject message is sent by any entity to reject a received message.
Message Construction
Every ISO20022 message has at the highest level what we call ‘building blocks’. Because the message is constructed as immutable records, the association is by composition. Below you can see the relationship between the message and its constituent building blocks: For comparison, see the ISO20022 official specification
classDiagram
     direction LR
%% ATMRejectV02 recursion level 0 with max 0
ATMRejectV02 *-- "1..1" Header33 : Header
ATMRejectV02 *-- "1..1" ATMReject2 : ATMReject
  
  
  Now, we will zero-in one-by-one on each of these building blocks.
Header building block
Information related to the protocol management on a segment of the path from the ATM to the acquirer. Information related to the protocol management on a segment of the path from the ATM to the acquirer. For comparison, see the ISO20022 official specification
classDiagram
   direction tb
%% Header33 recursion level 0 with max 1
class Header33{
    ProtocolVersion IsoMax6Text
    ExchangeIdentification IsoMax3NumericText
    CreationDateTime IsoISODateTime
    InitiatingParty IsoMax35Text
    RecipientParty IsoMax35Text
    ProcessState IsoMax35Text
}
Header33 *-- "1..1" ATMMessageFunction2 : MessageFunction
Header33 *-- "0..0" Traceability4 : Traceability
%% ATMMessageFunction2 recursion level 1 with max 1
class ATMMessageFunction2{
    Function MessageFunction11Code
    ATMServiceCode IsoMax35Text
    HostServiceCode IsoMax35Text
}
%% Traceability4 recursion level 1 with max 1
class Traceability4{
    SequenceNumber IsoMax35Text
    TraceDateTimeIn IsoISODateTime
    TraceDateTimeOut IsoISODateTime
}
Traceability4 *-- "1..1" GenericIdentification77 : RelayIdentification
  
  
  Header33 members
| Member name | Description | Data Type / Multiplicity | 
|---|---|---|
| MessageFunction | Identifies the type of process related to the message. | ATMMessageFunction2 - Required 1..1 | 
| ProtocolVersion | Version of the ATM protocol specifications. | IsoMax6Text - Required 1..1 | 
| ExchangeIdentification | Unique identification of an exchange occurrence. | IsoMax3NumericText - Optional 0..1 | 
| CreationDateTime | Date and time at which the message was created. | IsoISODateTime - Required 1..1 | 
| InitiatingParty | Unique identification of the partner that has initiated the exchange. | IsoMax35Text - Optional 0..1 | 
| RecipientParty | Unique identification of the partner that is the recipient of the message exchange. | IsoMax35Text - Optional 0..1 | 
| ProcessState | State of the sender of the message inside the process flow. | IsoMax35Text - Optional 0..1 | 
| Traceability | Identification of partners involved in exchange from the merchant to the issuer, with the relative timestamp of their exchanges. | Traceability4 - Unknown 0..0 | 
ATMReject building block
Information related to the reject of a message from an ATM or an ATM manager. Information related to the reject of a message from an ATM or an ATM manager. For comparison, see the ISO20022 official specification
classDiagram
   direction tb
%% ATMReject2 recursion level 0 with max 1
class ATMReject2{
    RejectInitiatorIdentification IsoMax35Text
    RejectReason RejectReason1Code
    AdditionalInformation IsoMax500Text
    MessageInError IsoMax100KBinary
}
ATMReject2 *-- "0..0" ATMCommand7 : Command
%% ATMCommand7 recursion level 1 with max 1
class ATMCommand7{
    Type ATMCommand4Code
    Urgency TMSContactLevel2Code
    DateTime IsoISODateTime
}
ATMCommand7 *-- "0..1" ATMCommandIdentification1 : CommandIdentification
ATMCommand7 *-- "0..1" IATMCommandParameters1Choice : CommandParameters
  
  
  ATMReject2 members
| Member name | Description | Data Type / Multiplicity | 
|---|---|---|
| RejectInitiatorIdentification | Identification of the entity sending the reject message. | IsoMax35Text - Optional 0..1 | 
| RejectReason | High level information allowing the sender of a request or an advice to know the types of error, and handle them accordingly. | RejectReason1Code - Required 1..1 | 
| AdditionalInformation | Additional information related to the sending of a reject message in response to a request or an advice. For logging purpose, in order to allow further analysis, statistics and deferred processing on the success or the failure of the request processing. | IsoMax500Text - Optional 0..1 | 
| Command | Maintenance command to perform on the ATM. | ATMCommand7 - Unknown 0..0 | 
| MessageInError | Received message that has been rejected. | IsoMax100KBinary - Optional 0..1 | 
Extensibility and generalization considerations
To facilitate generalized design patterns in the system, the ATMRejectV02 implementation follows a specific implementaiton pattern. First of all, ATMRejectV02 impleemnts IOuterRecord indicating it is the outermost logical part of the message definition. Like all message wrappers, ATMRejectV02Document implements IOuterDocument. Because ATMRejectV02 implements IOuterDocument, it is a suitable template parameter for IOuterDocument, and causes the internal ‘Message’ to be of type ATMRejectV02.
classDiagram
    class IOuterRecord
    ATMRejectV02 --|> IOuterRecord : Implements
    ATMRejectV02Document --|> IOuterDocument~ATMRejectV02~ : Implements
    class IOuterDocument~ATMRejectV02~ {
        ATMRejectV02 Message
     }
  
  
  Document wrapper for serialization
The only real purpose ATMRejectV02Document serves is to cause the document to be serialized into the ‘urn:iso:std:iso:20022:tech:xsd:catp.005.001.02’ namespace. Therefore, it will probably be the usual practice to build the message and construct this wrapper at the last minute using ATMRejectV02.ToDocument() method. The returned ATMRejectV02Document value will serialize correctly according to ISO 20022 standards.
classDiagram
    ATMRejectV02Document *-- ATMRejectV02 : Document
  
  
  Sample of message format
This is an abbreviated version of what the message should look like.
<Document xmlns="urn:iso:std:iso:20022:tech:xsd:catp.005.001.02">
    <ATMRjct>
        <Hdr>
            <!-- Header inner content -->
        </Hdr>
        <ATMRjct>
            <!-- ATMReject inner content -->
        </ATMRjct>
    </ATMRjct>
</Document>
Data from ISO specification
This is the technical data from the specification document.
<messageDefinition
  xmi:id="_EnCvca42EeWpsoxRhdX-8A"
  previousVersion="_DvwXcIrFEeSRwL6n4K9igA"
  name="ATMRejectV02"
  definition="The ATMReject message is sent by any entity to reject a received message."
  registrationStatus="Registered"
  messageSet="_wx2hAK1hEeWMg5rOByfExw"
  xmlTag="ATMRjct"
  rootElement="Document"
  xmlns:xmi="http://www.omg.org/XMI">
  <messageBuildingBlock
    xmi:id="_EnCvc642EeWpsoxRhdX-8A"
    name="Header"
    definition="Information related to the protocol management on a segment of the path from the ATM to the acquirer."
    registrationStatus="Provisionally Registered"
    maxOccurs="1"
    minOccurs="1"
    xmlTag="Hdr"
    complexType="_IJeUYa42EeWpsoxRhdX-8A" />
  <messageBuildingBlock
    xmi:id="_EnCvda42EeWpsoxRhdX-8A"
    name="ATMReject"
    definition="Information related to the reject of a message from an ATM or an ATM manager."
    registrationStatus="Provisionally Registered"
    maxOccurs="1"
    minOccurs="1"
    xmlTag="ATMRjct"
    complexType="_RdZ94a42EeWpsoxRhdX-8A" />
  <messageDefinitionIdentifier
    businessArea="catp"
    messageFunctionality="005"
    flavour="001"
    version="02" />
</messageDefinition>
ISO Building Blocks
The following items are used as building blocks to construct this message.