</pe><pe><peid>PE8</peid><action>Pass</action><pmtpid>8191</pmtpid><outchan>0</outchan>
</pe><pe><peid>PE9</peid><action>Pass</action><pmtpid>8191</pmtpid><outchan>0</outchan>
</pe><pe><peid>PE10</peid><action>Pass</action><pmtpid>8191</pmtpid><outchan>0</outchan>
</pe><pe><peid>PE11</peid><action>Pass</action><pmtpid>8191</pmtpid><outchan>0</outchan>
</pe><pe><peid>PE12</peid><action>Pass</action><pmtpid>8191</pmtpid><outchan>0</outchan>
</pe><pe><peid>PE13</peid><action>Pass</action><pmtpid>8191</pmtpid><outchan>0</outchan>
</pe><pe><peid>PE14</peid><action>Pass</action><pmtpid>8191</pmtpid><outchan>0</outchan>
</pe><pe><peid>PE15</peid><action>Pass</action><pmtpid>8191</pmtpid><outchan>0</outchan>
</pe><pe><peid>PE16</peid><action>Pass</action><pmtpid>8191</pmtpid><outchan>0</outchan>
</pe></moip></output>
Example Write (POST) commands:
Setting parameters using XML body data from command line (for single-stream unit shown):
curl -k -X POST -H "X-SESSION-ID: $token" --header "Content-type:application/xml" -d
"<output><asi><port>1</port><mode>Pass</mode></asi><moip><mode>No
Output</mode></moip></output>" "https://192.168.0.1/ws/v2/service_cfg/output"
Expected output (values are for example purposes only):
<?xml version="1.0" encoding="ISO-8859-1"
?><response><code>10</code><result>success</result><message></message></response>
Setting Parameters using body data from XML File (for single-stream unit shown):
curl -k -X POST -H "X-SESSION-ID: $token" --header "Content-type:application/xml" -d
@"C:\projects\output.xml" "https://192.168.0.1/ws/v2/service_cfg/output"
Output File "output.xml" contains data as shown below.
<output>
<asi>
<mode>Pass</mode>
<dscrmode>Scramble</dscrmode>
</asi>
<moip>
<mode>No Output</mode>
<dscrmode>Descramble</dscrmode>
</moip>
</output>
Expected output (values are for example purposes only):
<?xml version="1.0" encoding="ISO-8859-1"
?><response><code>10</code><result>success</result><message></message></response>
ASI Global Output Configuration Command
Table 157: Command Details
Description
Command Detail
Single-stream (NTC Basic, NTC MOIP), asi output port (only one output
exists):
https://192.168.0.1/ws/v2/service_cfg/output/asi
Or, alternatively:
Single-stream (NTC Basic, NTC MOIP), asi output port (only one exists):
https://192.168.0.1/ws/v2/service_cfg/output/asi2
Multi-stream unit, asi output port 1:
https://192.168.0.1/ws/v2/service_cfg/output/asi1
Multi-stream unit, asi output port 2:
https://192.168.0.1/ws/v2/service_cfg/output/asi2
Command URL
Cisco D9800 Network Transport Receiver Version 2.75 RESTful Web Services API Reference Guide
184
API Definitions
Output Configuration Command