RESRSP Reservation response (D15A)

This is the standard EDIFACT D15A spec, with 19 loops and 106 segment positions, as OpenEDI JSON, an ediFabric C# template and an ediFabric Native model. To change it for a trading partner, customize it in the EDI Spec Builder.

Loading the spec…
The spec as an OpenAPI 3 schema with x-openedi-* extensions, for ediFabric Native, ediFabric Cloud and the EDI Spec Builder. Download OpenEDI (98 KB) Generate classes
The ediFabric .NET template, class TSRESRSP. It needs the common segments, composites and codes of EDIFACT D15A, one download for every transaction in the version. Download C# (1 KB) Common files (68 KB)
The intermediary model ediFabric Native loads with set_map. Native supports X12 today, and EDIFACT is coming. Download Native (1 KB)

Use the RESRSP spec in your code

ediFabric .NET

Add the C# template and its common files to your project, or reference the template NuGet package, and read RESRSP files into TSRESRSP objects. See ediFabric .NET.

ediFabric Native

Native supports X12 today, and EDIFACT is coming. When it's available, map version D15A to this Native model with set_map to parse RESRSP files to JSON from Python, Java, C or C#. See ediFabric Native.

OpenEDI

Select Customize in Spec Builder to copy the spec under your own name, change it for your partner, and parse files against it in EdiNation, ediFabric Native or ediFabric Cloud. Read about OpenEDI.

Generate RESRSP classes in Python, Java, Node.js, Go, Rust or C

The OpenEDI file describes each RESRSP as JSON. To work with RESRSP data as typed objects, generate classes from the OpenEDI file in your language; the root class is TSRESRSP. The classes keep the loops, segments, lengths and code lists, but not the EDI data formats. Read more in Generate a class from OpenEDI.

Python: datamodel-code-generator. Node.js: openapi-typescript. Java, Go, Rust and C: OpenAPI Generator.

RESRSP structure

Loops and segments of the standard RESRSP, with their usage and maximum repeats.

IDNameUsageMax use
UIHUIHMandatory1
MSDMSDOptional1
ORGORGOptional1
RCIRCIOptional1
NUNNUNOptional1
CRICRIOptional1
TFFTFFOptional9
PDTPDTOptional1
ATIATIOptional1
CONCONOptional1
CMNCMNOptional1
ITMITMOptional1
IFTIFTOptional9
PMTPMTOptional9
TDITDIOptional9
ADSADSOptional9
HDIHDIOptional1
Loop NMENMEOptional9
NMENMEMandatory1
ADSADSOptional1
Loop SSRSSROptional99
SSRSSRMandatory1
IFTIFTOptional1
Loop ERIERIOptional5
ERIERIMandatory1
IFTIFTOptional1
Loop RULRULOptional99
RULRULMandatory1
PMTPMTOptional1
ADSADSOptional1
Loop TIFTIFOptional999
TIFTIFMandatory1
FTIFTIOptional1
CRICRIOptional1
CONCONOptional1
IFTIFTOptional1
DISDISOptional1
ASDASDOptional1
TFFTFFOptional1
ADSADSOptional9
PMTPMTOptional9
TDITDIOptional9
Loop SSRSSROptional99
SSRSSRMandatory1
IFTIFTOptional1
Loop TVLTVLOptional99
TVLTVLMandatory1
MSDMSDOptional1
RCIRCIOptional1
RPIRPIOptional1
MOVMOVOptional1
PDTPDTOptional1
ATIATIOptional1
DISDISOptional1
AAIAAIOptional1
CONCONOptional1
ADSADSOptional1
NMENMEOptional1
ASDASDOptional1
NUNNUNOptional1
CMNCMNOptional1
CNXCNXOptional1
PMTPMTOptional9
IFTIFTOptional99
TDITDIOptional9
TFFTFFOptional99
Loop VEHVEHOptional9
VEHVEHMandatory1
PDTPDTOptional1
Loop SSRSSROptional99
SSRSSRMandatory1
IFTIFTOptional1
Loop ERIERIOptional5
ERIERIMandatory1
IFTIFTOptional1
Loop RULRULOptional99
RULRULMandatory1
PMTPMTOptional1
Loop TIFTIFOptional999
TIFTIFMandatory1
FTIFTIOptional1
CRICRIOptional1
CONCONOptional1
IFTIFTOptional1
ASDASDOptional1
ADSADSOptional9
PMTPMTOptional9
TFFTFFOptional99
Loop SSRSSROptional99
SSRSSRMandatory1
IFTIFTOptional1
Loop ODIODIOptional99
ODIODIMandatory1
MSDMSDOptional1
IFTIFTOptional1
Loop ERIERIOptional5
ERIERIMandatory1
IFTIFTOptional1
Loop TVLTVLOptional99
TVLTVLMandatory1
APDAPDOptional1
RPIRPIOptional1
NUNNUNOptional1
PDTPDTOptional1
ATIATIOptional1
AAIAAIOptional1
DISDISOptional1
TFFTFFOptional1
RCIRCIOptional1
ASDASDOptional1
IFTIFTOptional9
PMTPMTOptional9
Loop VEHVEHOptional9
VEHVEHMandatory1
PDTPDTOptional1
Loop SSRSSROptional99
SSRSSRMandatory1
PMTPMTOptional1
CONCONOptional1
ADSADSOptional1
IFTIFTOptional1
Loop ERIERIOptional5
ERIERIMandatory1
IFTIFTOptional1
UITUITMandatory1