Examples: HTTP request body and HTTP response body
The following sample XML document displays the HTTP request body of a PUT (CREATE) or POST (UPDATE) request.
<?xml version=”1.0”?>
<profile>
<profilerecord>
<activation>A</activation>
<program>
<loadname>APP1LMD1</loadname>
<pgmname>APP1PGM1</pgmname>
</program>
<program>
<loadname>APP1LMD2</loadname>
<pgmname>APP1PGM2</pgmname>
</program>
<transactionid>TRN1</transactionid>
<terminalid>TRM1</terminalid>
<userid>USERIBM</userid>
<netname>CICSNET1</netname>
<clientip>9.30.60.200</clientip>
<commareaoffset>12</commareaoffset>
<commareadata>ABC</commareadata>
<containername>APP1CONT</containername>
<containeroffset>100</containeroffset>
<containerdata>DEF</containerdata>
<urmdeb>N</urmdeb>
<trigger>TEST</trigger>
<level>ALL</level>
<sesstype>TCP</sesstype>
<sessaddr>9.30.60.100</sessaddr>
<sessport>8005</sessport>
<commandfile>USERIBM.TEST.COMMANDS</commandfile>
<preferencefile>USERIBM.TEST.PREFFILE</preferencefile>
<promptlevel>PROMPT</promptlevel>
<otheropts>STORAGE(00,00,00)</otheropts>
</profilerecord>
</profile>
The following sample XML document displays the HTTP return body after the DTCN profile manager completes the GET request of the profile created or updated in the previous example.
<?xml version="1.0"?>
<profile>
<profileversion>0102</profileversion>
<serviceid>DBGTPROF</serviceid>
<clientversion>0102</clientversion>
<serverversion>0102</serverversion>
<profilerecord>
<profileid>USERIBM</profileid>
<activation>A</activation>
<program>
<loadname>APP1LMD1</loadname>
<pgmname>APP1PGM1</pgmname>
</program>
<program>
<loadname>APP1LMD2</loadname>
<pgmname>APP1PGM2</pgmname>
</program>
<transactionid>TRN1</transactionid>
<terminalid>TRM1</terminalid>
<userid>USERIBM1</userid>
<netname>CICSNET1</netname>
<clientip>9.30.60.200</clientip>
<commareaoffset>12</commareaoffset>
<commareadata>ABC</commareadata>
<containername>APP1CONT</containername>
<containeroffset>100</containeroffset>
<containerdata>DEF</containerdata>
<urmdeb>N</urmdeb>
<trigger>TEST</trigger>
<level>ALL</level>
<sesstype>TCP</sesstype>
<sessaddr>9.30.60.100</sessaddr>
<sessport>8005</sessport>
<commandfile>USERIBM.TEST.COMMANDS</commandfile>
<preferencefile>USERIBM.TEST.PREFFILE</preferencefile>
<promptlevel>PROMPT</promptlevel>
<otheropts>STORAGE(00,00,00)</otheropts>
</profilerecord>
</profile>