UNG object is only used as part of the EdifactInterchange object and represents the standard EDIFACT UNG segment, functional group header, and is optional.
Example
{
"MessageGroupIdentification_1": "CUSCAR",
"APPLICATIONSENDERIDENTIFICATION_2": {
"ApplicationSenderIdentification_1": "LOCK",
"IdentificationCodeQualifier_2": "ZZ"
},
"APPLICATIONRECIPIENTIDENTIFICATION_3": {
"ApplicationRecipientIdentification_1": "CBP-ACE-TEST",
"IdentificationCodeQualifier_2": "ZZ"
},
"DATEANDTIMEOFPREPARATION_4": {
"Date_1": "20041016",
"Time_2": "1604"
},
"GroupReferenceNumber_5": "54",
"ControllingAgency_6": "UN",
"MESSAGEVERSION_7": {
"MessageVersionNumber_1": "D",
"MessageReleaseNumber_2": "03B"
}
}
Attributes
MessageGroupIdentification_1 string
Identifies the one message type in the functional group.
APPLICATIONSENDERIDENTIFICATION_2 object
Application sender's identification.
-
ApplicationSenderIdentification_1 string
Code or name identifying the division, department etc. within the originating sender's organization.
-
IdentificationCodeQualifier_2 string
May be used if sender identification is a code.
APPLICATIONRECIPIENTIDENTIFICATION_3 object
Recipient's identification.
-
ApplicationRecipientIdentification_1 string
Code or name identifying the division,department etc. within the recipients organization for which the group of messages is intended.
-
IdentificationCodeQualifier_2 string
May be used if recipient identification is a code.
DATEANDTIMEOFPREPARATION_4 object
Date and time of preparation.
-
Date_1 string
Date.
-
Time_2 string
Time.
GroupReferenceNumber_5 string
Unique reference number assigned by sender's division, department etc..
ControllingAgency_6 string
Code to identify the agency controlling the specification, maintenance and publication of the message type.
MESSAGEVERSION_7 object
Message version.
-
MessageVersionNumber_1 string
Message version number. Version number of the message type the functional group.
-
MessageReleaseNumber_2 string
Message release number. Release number within current version number.
-
AssociationAssignedCode_3 string
Association assigned Code. A code assigned by the association responsible for the design and maintenance of the type of message concerned.
ApplicationPassword_8 string
Password to recepient's division, department or sectional system (if required).