Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    Service Templates Management RESTful Web Services

    The following operations can be performed using the Connectivity Services Director Service Templates Management RESTful Web Services for P2P, L3VPN, and VPLS services.

    Get All Service Templates with Dynamic Attribute Values

    This request is used to retrieve all the configured service templates with dynamic attribute values.

    URI

    For P2P: /api/space/nsas/eline-ptp/service-management/
    service-templates/{ST-ID}?deviceName={deviceName}

    For VPLS: /api/space/nsas/elan-vpls/service-management/
    service-templates/{ST-ID}?deviceName={deviceName}

    For L3VPN: /api/space/nsas/l3vpn/service-management/
    service-templates/{ST-ID}?deviceName={deviceName}

    HTTP Method

    GET

    Consumes

    application/vnd.net.juniper.space.service-management.
    service-template+xml;version=2;

    Produces

    Collects all the configured service templates with dynamic attribute values.

    Output

    Sample XML Output

             <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    	<ServiceResource>
    		<ServiceTemplate href="/api/space/nsas/l3vpn/service-management/service-templates/1015808" uri="/api/space/nsas/l3vpn/service-management/service-templates/1015808" key="1015808">
    			<Common>
    				<Name>Flexi_Temp_1</Name>
    				<Identity>1015808</Identity>
    				<State>Published</State>
    				<CreatedDate>2015-02-16T10:16:13.694+05:30</CreatedDate>
    				<LastUpdatedDate>2015-02-16T10:16:13.694+05:30</LastUpdatedDate>
    				<CreatedBy>super</CreatedBy>
    			</Common>
    			<ConfigParams>
    				<Name>Outer</Name>
    				<Value>None</Value>
    				<Decommission>false</Decommission>
    				<SvcSpecificValue>false</SvcSpecificValue>
    				<ConfigPageName>cp1</ConfigPageName>
    				<SetofValues>					
    					<Value>0</Value>					
    					<Value>20</Value>
    					<Value>888</Value>					
    					<Value>500</Value>
    					<Value>600</Value>
    					<Value>0</Value>
    				</SetofValues>
    			</ConfigParams>
    			<ConfigParams>
    				<Name>Inner</Name>
    				<Value>None</Value>
    				<Decommission>false</Decommission>
    				<SvcSpecificValue>false</SvcSpecificValue>
    				<ConfigPageName>cp1</ConfigPageName>
    				<SetofValues/>
    			</ConfigParams>
    		</ServiceTemplate>
    	</ServiceResource>
    </Data>
    
    

    Get All Service Templates with XPath Tags

    This request is used to retrieve all the configured service templates with XPath attributes.

    URI

    For P2P: /api/space/nsas/eline-ptp/service-management/
    service-templates/{ST-ID}

    For VPLS: /api/space/nsas/elan-vpls/service-management/
    service-templates/{ST-ID}

    For L3VPN: /api/space/nsas/l3vpn/service-management/
    service-templates/{ST-ID}

    HTTP Method

    GET

    Consumes

    application/vnd.net.juniper.space.service-management.
    service-template+xml;version=2;

    Produces

    Collects all the configured service templates with XPath attributes.

    Output

    Sample XML Output

    <Data>
    	<ServiceResource>
    		<ServiceTemplate href="/api/space/nsas/eline-ptp/service-management/service-templates/6357015" uri="/api/space/nsas/eline-ptp/service-management/service-templates/6357015" key="6357015">
    			<Common>
    				<Name>Temp_desc</Name>
    				<Identity>6357015</Identity>
    				<State>Published</State>
    				<CreatedDate>2015-11-20T10:16:46.464+05:30</CreatedDate>
    				<LastUpdatedDate>2015-11-20T10:16:46.464+05:30</LastUpdatedDate>
    				<CreatedBy>super</CreatedBy>
    			</Common>
    			<ConfigParams>
    				<Name>Description</Name>
    				<DataType>String</DataType>
    				<Description>Text description of interface</Description>
    				<OperatorVisibility>Editable</OperatorVisibility>
    				<Value>DemoDescription</Value>
    				<SetofValues/>
    				<Xpath>/configuration/cp1/interface/description</Xpath>
    				<Decommission>false</Decommission>
    				<SvcSpecificValue>false</SvcSpecificValue>
    				<ConfigPageName>cp1</ConfigPageName>
    				<Validation>
    					<MinOccurrence>0</MinOccurrence>
    					<MaxOccurrence>2147483647</MaxOccurrence>
    				</Validation>
    			</ConfigParams>
    		</ServiceTemplate>
    	</ServiceResource>
    </Data>
    

    Get All E-LINE P2P Service Templates

    This request is used to retrieve all the configured Layer 2 Ethernet Private Line (EPL, also called E-LINE) P2P service templates.

    URI

    api/space/nsas/eline-ptp/service-management/service-templates

    HTTP Method

    GET

    Consumes

    application/vnd.net.juniper.space.service-management.
    service-templates+xml

    application/vnd.net.juniper.space.service-management.
    service-templates+json

    Produces

    Collects all the configured E-LINE P2P service templates.

    Output

    Sample XML Output

    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    	<ServiceResource>
    		<ServiceTemplate
    			key="/api/space/nsas/eline-ptp/service-management/service-templates/32826"
    			uri="/api/space/nsas/eline-ptp/service-management/service-templates/32826"
    			href="/api/space/nsas/eline-ptp/service-management/service-templates/32826">
    			<Common>
    				<Name>TEMP001</Name>
    				<Identity>32826</Identity>
    				<State>Published</State>
    				<Comments></Comments>
    				<CreatedDate>2012-12-06T11:26:09.964+05:30</CreatedDate>
    				<LastUpdatedDate>2012-12-06T11:26:09.964+05:30</LastUpdatedDate>
    				<CreatedBy>super</CreatedBy>
    			</Common>
    		</ServiceTemplate>
    		<ServiceTemplate
    			key="/api/space/nsas/eline-ptp/service-management/service-templates/2457649"
    			uri="/api/space/nsas/eline-ptp/service-management/service-templates/2457649"
    			href="/api/space/nsas/eline-ptp/service-management/service-templates/2457649">
    			<Common>
    				<Name>TEMP003</Name>
    				<Identity>2457649</Identity>
    				<State>Published</State>
    				<Comments></Comments>
    				<CreatedDate>2012-12-12T14:48:06.855+05:30</CreatedDate>
    				<LastUpdatedDate>2012-12-12T14:48:06.855+05:30</LastUpdatedDate>
    				<CreatedBy>super</CreatedBy>
    			</Common>
    		</ServiceTemplate>
    		<ServiceTemplate
    			key="/api/space/nsas/eline-ptp/service-management/service-templates/32826"
    			uri="/api/space/nsas/eline-ptp/service-management/service-templates/32826"
    			href="/api/space/nsas/eline-ptp/service-management/service-templates/32826">
    			<Common>
    				<Name>TEMP001</Name>
    				<Identity>32826</Identity>
    				<State>Published</State>
    				<Comments></Comments>
    				<CreatedDate>2012-12-06T11:26:09.964+05:30</CreatedDate>
    				<LastUpdatedDate>2012-12-06T11:26:09.964+05:30</LastUpdatedDate>
    				<CreatedBy>super</CreatedBy>
    			</Common>
    		</ServiceTemplate>
    		<ServiceTemplate
    			key="/api/space/nsas/eline-ptp/service-management/service-templates/2457649"
    			uri="/api/space/nsas/eline-ptp/service-management/service-templates/2457649"
    			href="/api/space/nsas/eline-ptp/service-management/service-templates/2457649">
    			<Common>
    				<Name>TEMP003</Name>
    				<Identity>2457649</Identity>
    				<State>Published</State>
    				<Comments></Comments>
    				<CreatedDate>2012-12-12T14:48:06.855+05:30</CreatedDate>
    				<LastUpdatedDate>2012-12-12T14:48:06.855+05:30</LastUpdatedDate>
    				<CreatedBy>super</CreatedBy>
    			</Common>
    		</ServiceTemplate>
    	</ServiceResource>
    </Data>
     
    

    Get an E-LINE P2P Service Template by Template ID

    This request is used to retrieve a specific Layer 2 Ethernet Private Line (EPL, also called E-LINE) P2P service template, based on the template ID.

    URI

    api/space/nsas/eline-ptp/service-management/
    service-templates/<templateId>

    HTTP Method

    GET

    Consumes

    application/vnd.net.juniper.space.service-management.
    service-templates+xml

    application/vnd.net.juniper.space.service-management.
    service-templates+json

    Produces

    Retrieves the details of a specific configured E-LINE P2P service template.

    Output

    Sample XML Output

    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    	<ServiceResource>
    		<ServiceTemplate
    			key="/api/space/nsas/eline-ptp/service-management/service-templates/2457649"
    			uri="/api/space/nsas/eline-ptp/service-management/service-templates/2457649"
    			href="/api/space/nsas/eline-ptp/service-management/service-templates/2457649">
    			<Common>
    				<Name>TEMP003</Name>
    				<Identity>2457649</Identity>
    				<State>Published</State>
    				<Comments></Comments>
    				<CreatedDate>2012-12-12T14:48:06.855+05:30</CreatedDate>
    				<LastUpdatedDate>2012-12-12T14:48:06.855+05:30</LastUpdatedDate>
    				<CreatedBy>super</CreatedBy>
    			</Common>
    			<ConfigParams>
    				<Name>Description</Name>
    				<Value>TESTING 2ND DESC</Value>
    				<Decommission>false</Decommission>
    				<SvcSpecificValue>false</SvcSpecificValue>
    				<ConfigPageName>cp1</ConfigPageName>
    			</ConfigParams>
    		</ServiceTemplate>
    	</ServiceResource>
    </Data>
     
    

    Get an E-LINE P2P Service Template by Service Definition ID

    This request is used to retrieve a specific Layer 2 Ethernet Private Line (EPL, also called E-LINE) P2P service template, based on the service definition ID.

    URI

    api/space/nsas/eline-ptp/service-management/service-definitions/
    295160/serviceTemplates

    HTTP Method

    GET

    Consumes

    application/vnd.net.juniper.space.service-management.
    service-templates+xml

    application/vnd.net.juniper.space.service-management.
    service-templates+json

    Produces

    Retrieves the details of a specific configured E-LINE P2P service template based on a service definition ID.

    Output

    Sample XML Output

    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    	<ServiceResource>
    		<ServiceTemplate
    			key="/api/space/nsas/eline-ptp/service-management/service-templates/32826"
    			uri="/api/space/nsas/eline-ptp/service-management/service-templates/32826"
    			href="/api/space/nsas/eline-ptp/service-management/service-templates/32826">
    			<Common>
    				<Name>TEMP001</Name>
    				<Identity>32826</Identity>
    				<State>Published</State>
    				<Comments></Comments>
    				<CreatedDate>2012-12-06T11:26:09.964+05:30</CreatedDate>
    				<LastUpdatedDate>2012-12-06T11:26:09.964+05:30</LastUpdatedDate>
    				<CreatedBy>super</CreatedBy>
    			</Common>
    			<ConfigParams>
    				<Name>Description</Name>
    				<Value>Testing description</Value>
    				<Decommission>false</Decommission>
    				<SvcSpecificValue>false</SvcSpecificValue>
    				<ConfigPageName>cp1</ConfigPageName>
    			</ConfigParams>
    		</ServiceTemplate>
    		<ServiceTemplate
    			key="/api/space/nsas/eline-ptp/service-management/service-templates/2457649"
    			uri="/api/space/nsas/eline-ptp/service-management/service-templates/2457649"
    			href="/api/space/nsas/eline-ptp/service-management/service-templates/2457649">
    			<Common>
    				<Name>TEMP003</Name>
    				<Identity>2457649</Identity>
    				<State>Published</State>
    				<Comments></Comments>
    				<CreatedDate>2012-12-12T14:48:06.855+05:30</CreatedDate>
    				<LastUpdatedDate>2012-12-12T14:48:06.855+05:30</LastUpdatedDate>
    				<CreatedBy>super</CreatedBy>
    			</Common>
    			<ConfigParams>
    				<Name>Description</Name>
    				<Value>TESTING 2ND DESC</Value>
    				<Decommission>false</Decommission>
    				<SvcSpecificValue>false</SvcSpecificValue>
    				<ConfigPageName>cp1</ConfigPageName>
    			</ConfigParams>
    		</ServiceTemplate>
    	</ServiceResource>
    </Data>
     
     
    

    Get an E-LINE P2P Service Order Associated with a Service Template by Service Order ID

    This request is used to retrieve a specific Layer 2 Ethernet Private Line (EPL, also called E-LINE) P2P service order that is attached to a service template, based on the service order ID.

    URI

    api/space/nsas/eline-ptp/service-management/service-orders/
    <ServiceOrderID>

    api/space/nsas/elan-vpls/service-management/service-orders/
    <ServiceOrderID>

    api/space/nsas/l3vpn/service-management/service-orders/
    <ServiceOrderID>

    HTTP Method

    GET

    Consumes

    application/vnd.net.juniper.space.service-management.service-order+xml

    Produces

    Retrieves the details of a specific configured E-LINE P2P service order that contains a service template based on a service order ID.

    Output (P2P LDP)

    Sample XML Output

    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    	<ServiceResource>
    		<ServiceTemplate
    			key="/api/space/nsas/eline-ptp/service-management/service-templates/32826"
    			uri="/api/space/nsas/eline-ptp/service-management/service-templates/32826"
    			href="/api/space/nsas/eline-ptp/service-management/service-templates/32826">
    			<Common>
    				<Name>TEMP001</Name>
    				<Identity>32826</Identity>
    				<State>Published</State>
    				<Comments></Comments>
    				<CreatedDate>2012-12-06T11:26:09.964+05:30</CreatedDate>
    				<LastUpdatedDate>2012-12-06T11:26:09.964+05:30</LastUpdatedDate>
    				<CreatedBy>super</CreatedBy>
    			</Common>
    			<ConfigParams>
    				<Name>Description</Name>
    				<Value>Testing description</Value>
    				<Decommission>false</Decommission>
    				<SvcSpecificValue>false</SvcSpecificValue>
    				<ConfigPageName>cp1</ConfigPageName>
    			</ConfigParams>
    		</ServiceTemplate>
    		<ServiceTemplate
    			key="/api/space/nsas/eline-ptp/service-management/service-templates/2457649"
    			uri="/api/space/nsas/eline-ptp/service-management/service-templates/2457649"
    			href="/api/space/nsas/eline-ptp/service-management/service-templates/2457649">
    			<Common>
    				<Name>TEMP003</Name>
    				<Identity>2457649</Identity>
    				<State>Published</State>
    				<Comments></Comments>
    				<CreatedDate>2012-12-12T14:48:06.855+05:30</CreatedDate>
    				<LastUpdatedDate>2012-12-12T14:48:06.855+05:30</LastUpdatedDate>
    				<CreatedBy>super</CreatedBy>
    			</Common>
    			<ConfigParams>
    				<Name>Description</Name>
    				<Value>TESTING 2ND DESC</Value>
    				<Decommission>false</Decommission>
    				<SvcSpecificValue>false</SvcSpecificValue>
    				<ConfigPageName>cp1</ConfigPageName>
    			</ConfigParams>
    		</ServiceTemplate>
    	</ServiceResource>
    </Data>
     
     
    

    Output (P2P BGP)

    Sample XML Output

    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    	<ServiceResource>
    		<ServiceOrder
    			href="/api/space/nsas/eline-ptp/service-management/service-orders/10158096"
    			uri="/api/space/nsas/eline-ptp/service-management/service-orders/10158096"
    			key="10158096">
    			<Common>
    				<Name>P2P_BGP_SO_TEMP</Name>
    				<Identity>10158096</Identity>
    				<State>Invalid</State>
    				<CreatedDate>2013-01-10T12:52:31.000+05:30</CreatedDate>
    				<LastUpdatedDate>2013-01-10T12:52:31.000+05:30</LastUpdatedDate>
    				<CreatedBy>super</CreatedBy>
    			</Common>
    			<ServiceType>Point-to-Point Pseudowire</ServiceType>
    			<Signaling>BGP</Signaling>
    			<Action>Provisioning</Action>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA href="/api/space/nsas/device-roles/pe-devices/10256467" uri="/api/space/nsas/device-roles/pe-devices/10256467"
    						key="10256467">
    						<DeviceName>vjx-junos-mx240-space</DeviceName>
    						<DeviceID>10256467</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-0/0/7</InterfaceName>
    					<ServiceEndpointConfiguration
    						xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPElineBGPEndPointConfigParameterOrderType">
    						<EndPointCategory>PTP</EndPointCategory>
    						<TrafficType>QINQ Transport single vlan</TrafficType>
    						<PhysicalEncapsulation>flexible-ethernet-services
    						</PhysicalEncapsulation>
    						<LogicalEncapsulation>vlan-ccc</LogicalEncapsulation>
    						<UNIDescription>N/A</UNIDescription>
    						<OuterTPID>None</OuterTPID>
    						<InnerTPID>None</InnerTPID>
    						<VlanId>2200</VlanId>
    						<CustomerVlanId>2440</CustomerVlanId>
    						<Bandwidth unit="Kbps">0</Bandwidth>
    					</ServiceEndpointConfiguration>
    					<ServiceTemplates>
    						<ServiceTemplate key="9797632"
    							uri="/api/space/nsas/eline-ptp/service-management/service-templates/9797632"
    							href="/api/space/nsas/eline-ptp/service-management/service-templates/9797632">
    							<ID>9797632</ID>
    							<ConfigParams>
    								<Name>Description</Name>
    								<Value>Template Description</Value>
    								<ConfigPageName>cp1</ConfigPageName>
    							</ConfigParams>
    						</ServiceTemplate>
    					</ServiceTemplates>
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA href="/api/space/nsas/device-roles/pe-devices/10256459" uri="/api/space/nsas/device-roles/pe-devices/10256459"
    						key="10256459">
    						<DeviceName>vjx-junos-mx80-1-space</DeviceName>
    						<DeviceID>10256459</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-0/0/5</InterfaceName>
    					<ServiceEndpointConfiguration
    						xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPElineBGPEndPointConfigParameterOrderType">
    						<EndPointCategory>PTP</EndPointCategory>
    						<TrafficType>QINQ Transport single vlan</TrafficType>
    						<PhysicalEncapsulation>flexible-ethernet-services
    						</PhysicalEncapsulation>
    						<LogicalEncapsulation>vlan-ccc</LogicalEncapsulation>
    						<UNIDescription>N/A</UNIDescription>
    						<OuterTPID>None</OuterTPID>
    						<InnerTPID>None</InnerTPID>
    						<VlanId>2200</VlanId>
    						<CustomerVlanId>2440</CustomerVlanId>
    						<Bandwidth unit="Kbps">0</Bandwidth>
    					</ServiceEndpointConfiguration>
    					<ServiceTemplates>
    						<ServiceTemplate key="9797632"
    							uri="/api/space/nsas/eline-ptp/service-management/service-templates/9797632"
    							href="/api/space/nsas/eline-ptp/service-management/service-templates/9797632">
    							<ID>9797632</ID>
    							<ConfigParams>
    								<Name>Description</Name>
    								<Value>Template Description</Value>
    								<ConfigPageName>cp1</ConfigPageName>
    							</ConfigParams>
    						</ServiceTemplate>
    					</ServiceTemplates>
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<ServiceOrderParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    				xsi:type="PTPConfigParameterOrderType">
    				<RouteTarget>36000:1</RouteTarget>
    				<RouteDistinguisher>36000:1</RouteDistinguisher>
    			</ServiceOrderParameter>
    			<Reference>
    				<Customer key="884834"
    					href="/api/space/nsas/customer-management/customers/884834" uri="/api/space/nsas/customer-management/customers/884834" />
    				<ServiceDefinition>
    					<ServiceDefinitionID key="10158080"
    						href="/api/space/nsas/eline-ptp/service-management/service-definitions/10158080"
    						uri="/api/space/nsas/eline-ptp/service-management/service-definitions/10158080" />
    				</ServiceDefinition>
    			</Reference>
    		</ServiceOrder>
    	</ServiceResource>
    </Data>
    VPLS
     
    

    Output (VPLS LDP)

    Sample XML Output

    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    	<ServiceResource>
    		<ServiceOrder
    			href="/api/space/nsas/elan-vpls/service-management/service-orders/10289179"
    			uri="/api/space/nsas/elan-vpls/service-management/service-orders/10289179"
    			key="10289179">
    			<Common>
    				<Name>VPLS_LDP_TEMP_SO</Name>
    				<Identity>10289179</Identity>
    				<State>Invalid</State>
    				<CreatedDate>2013-01-10T13:08:43.000+05:30</CreatedDate>
    				<LastUpdatedDate>2013-01-10T13:08:42.000+05:30</LastUpdatedDate>
    				<CreatedBy>super</CreatedBy>
    			</Common>
    			<ServiceType>Multipoint-to-Multipoint Ethernet (VPLS)</ServiceType>
    			<Signaling>LDP</Signaling>
    			<Action>Provisioning</Action>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA href="/api/space/nsas/device-roles/pe-devices/10256459" uri="/api/space/nsas/device-roles/pe-devices/10256459"
    						key="10256459">
    						<DeviceName>vjx-junos-mx80-1-space</DeviceName>
    						<DeviceID>10256459</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-0/0/6</InterfaceName>
    					<ServiceEndpointConfiguration
    						xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSLDPEndPointConfigParameterOrderType">
    						<PhysicalEncapsulation>flexible-ethernet-services
    						</PhysicalEncapsulation>
    						<UNIDescription>N/A</UNIDescription>
    						<VlanId>1600</VlanId>
    						<MTU>1522</MTU>
    						<CustomerVlanId>2100</CustomerVlanId>
    						<MACLearning>true</MACLearning>
    						<InterfaceMACLimit>1024</InterfaceMACLimit>
    						<MACStatistics>false</MACStatistics>
    						<MACTableSize>5120</MACTableSize>
    						<OuterTPID>None</OuterTPID>
    						<InnerTPID>None</InnerTPID>
    					</ServiceEndpointConfiguration>
    					<ServiceTemplates>
    						<ServiceTemplate key="9797632"
    							uri="/api/space/nsas/elan-vpls/service-management/service-templates/9797632"
    							href="/api/space/nsas/elan-vpls/service-management/service-templates/9797632">
    							<ID>9797632</ID>
    							<ConfigParams>
    								<Name>Description</Name>
    								<Value>Template Description</Value>
    								<ConfigPageName>cp1</ConfigPageName>
    							</ConfigParams>
    						</ServiceTemplate>
    					</ServiceTemplates>
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA href="/api/space/nsas/device-roles/pe-devices/10256467" uri="/api/space/nsas/device-roles/pe-devices/10256467"
    						key="10256467">
    						<DeviceName>vjx-junos-mx240-space</DeviceName>
    						<DeviceID>10256467</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-0/0/7</InterfaceName>
    					<ServiceEndpointConfiguration
    						xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSLDPEndPointConfigParameterOrderType">
    						<PhysicalEncapsulation>flexible-ethernet-services
    						</PhysicalEncapsulation>
    						<UNIDescription>N/A</UNIDescription>
    						<VlanId>1600</VlanId>
    						<MTU>1522</MTU>
    						<CustomerVlanId>2100</CustomerVlanId>
    						<MACLearning>true</MACLearning>
    						<InterfaceMACLimit>1024</InterfaceMACLimit>
    						<MACStatistics>false</MACStatistics>
    						<MACTableSize>5120</MACTableSize>
    						<OuterTPID>None</OuterTPID>
    						<InnerTPID>None</InnerTPID>
    					</ServiceEndpointConfiguration>
    					<ServiceTemplates>
    						<ServiceTemplate key="9797632"
    							uri="/api/space/nsas/elan-vpls/service-management/service-templates/9797632"
    							href="/api/space/nsas/elan-vpls/service-management/service-templates/9797632">
    							<ID>9797632</ID>
    							<ConfigParams>
    								<Name>Description</Name>
    								<Value>Template Description</Value>
    								<ConfigPageName>cp1</ConfigPageName>
    							</ConfigParams>
    						</ServiceTemplate>
    					</ServiceTemplates>
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<ServiceOrderParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    				xsi:type="VPLSConfigParameterOrderType">
    				<TrafficType>Transport single vlan</TrafficType>
    				<VLANNormalization>Normalize All</VLANNormalization>
    				<VPLSId>2147467291</VPLSId>
    				<AutoDiscovery>false</AutoDiscovery>
    			</ServiceOrderParameter>
    			<Reference>
    				<Customer key="884834"
    					href="/api/space/nsas/customer-management/customers/884834" uri="/api/space/nsas/customer-management/customers/884834" />
    				<ServiceDefinition>
    					<ServiceDefinitionID key="10289152"
    						href="/api/space/nsas/elan-vpls/service-management/service-definitions/10289152"
    						uri="/api/space/nsas/elan-vpls/service-management/service-definitions/10289152" />
    				</ServiceDefinition>
    			</Reference>
    		</ServiceOrder>
    	</ServiceResource>
    </Data>
     
    

    Output (VPLS BGP)

    Sample XML Output

    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    	<ServiceResource>
    		<ServiceOrder
    			href="/api/space/nsas/elan-vpls/service-management/service-orders/4882459"
    			uri="/api/space/nsas/elan-vpls/service-management/service-orders/4882459"
    			key="4882459">
    			<Common>
    				<Name>VPLS_SO_ST</Name>
    				<Identity>4882459</Identity>
    				<State>Invalid</State>
    				<Comments></Comments>
    				<CreatedDate>2012-12-19T18:11:35.000+05:30</CreatedDate>
    				<LastUpdatedDate>2012-12-19T18:11:32.000+05:30</LastUpdatedDate>
    				<CreatedBy>super</CreatedBy>
    			</Common>
    			<ServiceType>Multipoint-to-Multipoint Ethernet (VPLS)</ServiceType>
    			<Signaling>BGP</Signaling>
    			<Action>Provisioning</Action>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA href="/api/space/nsas/device-roles/pe-devices/4423781" uri="/api/space/nsas/device-roles/pe-devices/4423781"
    						key="4423781">
    						<DeviceName>embassy</DeviceName>
    						<DeviceID>4423781</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-1/0/3</InterfaceName>
    					<ServiceEndpointConfiguration
    						xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSBGPEndPointConfigParameterOrderType">
    						<PhysicalEncapsulation>flexible-ethernet-services
    						</PhysicalEncapsulation>
    						<UNIDescription>N/A</UNIDescription>
    						<MTU>1522</MTU>
    						<CustomerVlanIdStart>2000</CustomerVlanIdStart>
    						<CustomerVlanIdEnd>3000</CustomerVlanIdEnd>
    						<MACLearning>true</MACLearning>
    						<InterfaceMACLimit>1024</InterfaceMACLimit>
    						<MACStatistics>false</MACStatistics>
    						<MACTableSize>5120</MACTableSize>
    					</ServiceEndpointConfiguration>
    					<ServiceTemplates>
    						<ServiceTemplate key="32826"
    							uri="/api/space/nsas/elan-vpls/service-management/service-templates/32826"
    							href="/api/space/nsas/elan-vpls/service-management/service-templates/32826">
    							<ID>32826</ID>
    							<ConfigParams>
    								<Name>Description</Name>
    								<Value>Testing description</Value>
    								<Decommission>false</Decommission>
    								<SvcSpecificValue>false</SvcSpecificValue>
    								<ConfigPageName>cp1</ConfigPageName>
    							</ConfigParams>
    						</ServiceTemplate>
    						<ServiceTemplate key="2457649"
    							uri="/api/space/nsas/elan-vpls/service-management/service-templates/2457649"
    							href="/api/space/nsas/elan-vpls/service-management/service-templates/2457649">
    							<ID>2457649</ID>
    							<ConfigParams>
    								<Name>Description</Name>
    								<Value>TESTING 2ND DESC</Value>
    								<Decommission>false</Decommission>
    								<SvcSpecificValue>false</SvcSpecificValue>
    								<ConfigPageName>cp1</ConfigPageName>
    							</ConfigParams>
    						</ServiceTemplate>
    					</ServiceTemplates>
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA href="/api/space/nsas/device-roles/pe-devices/4423740" uri="/api/space/nsas/device-roles/pe-devices/4423740"
    						key="4423740">
    						<DeviceName>kochin</DeviceName>
    						<DeviceID>4423740</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-0/0/7</InterfaceName>
    					<ServiceEndpointConfiguration
    						xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSBGPEndPointConfigParameterOrderType">
    						<PhysicalEncapsulation>flexible-ethernet-services
    						</PhysicalEncapsulation>
    						<UNIDescription>N/A</UNIDescription>
    						<MTU>1522</MTU>
    						<CustomerVlanIdStart>2000</CustomerVlanIdStart>
    						<CustomerVlanIdEnd>3000</CustomerVlanIdEnd>
    						<MACLearning>true</MACLearning>
    						<InterfaceMACLimit>1024</InterfaceMACLimit>
    						<MACStatistics>false</MACStatistics>
    						<MACTableSize>5120</MACTableSize>
    					</ServiceEndpointConfiguration>
    					<ServiceTemplates>
    						<ServiceTemplate key="32826"
    							uri="/api/space/nsas/elan-vpls/service-management/service-templates/32826"
    							href="/api/space/nsas/elan-vpls/service-management/service-templates/32826">
    							<ID>32826</ID>
    							<ConfigParams>
    								<Name>Description</Name>
    								<Value>Testing description</Value>
    								<Decommission>false</Decommission>
    								<SvcSpecificValue>false</SvcSpecificValue>
    								<ConfigPageName>cp1</ConfigPageName>
    							</ConfigParams>
    						</ServiceTemplate>
    						<ServiceTemplate key="2457649"
    							uri="/api/space/nsas/elan-vpls/service-management/service-templates/2457649"
    							href="/api/space/nsas/elan-vpls/service-management/service-templates/2457649">
    							<ID>2457649</ID>
    							<ConfigParams>
    								<Name>Description</Name>
    								<Value>TESTING 2ND DESC</Value>
    								<Decommission>false</Decommission>
    								<SvcSpecificValue>false</SvcSpecificValue>
    								<ConfigPageName>cp1</ConfigPageName>
    							</ConfigParams>
    						</ServiceTemplate>
    					</ServiceTemplates>
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<ServiceOrderParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    				xsi:type="VPLSConfigParameterOrderType">
    				<TrafficType>Transport vlan range</TrafficType>
    				<RouteTarget>100:6</RouteTarget>
    				<VLANNormalization>Normalize All</VLANNormalization>
    			</ServiceOrderParameter>
    			<Reference>
    				<Customer key="426088"
    					href="/api/space/nsas/customer-management/customers/426088" uri="/api/space/nsas/customer-management/customers/426088" />
    				<ServiceDefinition>
    					<ServiceDefinitionID key="4882432"
    						href="/api/space/nsas/service-management/service-definitions/4882432"
    						uri="/api/space/nsas/service-management/service-definitions/4882432" />
    				</ServiceDefinition>
    			</Reference>
    		</ServiceOrder>
    	</ServiceResource>
    </Data>
     
    

    Output (L3VPN)

    Sample XML Output

    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    	<ServiceResource>
    		<ServiceOrder
    			href="/api/space/nsas/l3vpn/service-management/service-orders/4915219"
    			uri="/api/space/nsas/l3vpn/service-management/service-orders/4915219"
    			key="4915219">
    			<Common>
    				<Name>L3VPN_SO_ST001</Name>
    				<Identity>4915219</Identity>
    				<State>Invalid</State>
    				<Comments></Comments>
    				<CreatedDate>2012-12-19T18:16:28.000+05:30</CreatedDate>
    				<LastUpdatedDate>2012-12-19T18:16:28.000+05:30</LastUpdatedDate>
    				<CreatedBy>super</CreatedBy>
    			</Common>
    			<ServiceType>l3vpn</ServiceType>
    			<Action>Provisioning</Action>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA href="/api/space/nsas/device-roles/pe-devices/4423740" uri="/api/space/nsas/device-roles/pe-devices/4423740"
    						key="4423740">
    						<DeviceName>kochin</DeviceName>
    						<DeviceID>4423740</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-0/0/5</InterfaceName>
    					<ServiceEndpointConfiguration
    						xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="L3VPNFMOSPFEndPointConfigParameterOrderType">
    						<RoutingProtocol>OSPF</RoutingProtocol>
    						<EthernetOption>Vlan</EthernetOption>
    						<VlanId>1</VlanId>
    						<UnitID>0</UnitID>
    						<InterfaceIP>10.0.99.1</InterfaceIP>
    						<OSPFAreaId>0.0.0.0</OSPFAreaId>
    						<OSPFVersion>Ver 2</OSPFVersion>
    					</ServiceEndpointConfiguration>
    					<ServiceTemplates>
    						<ServiceTemplate key="32826"
    							uri="/api/space/nsas/l3vpn/service-management/service-templates/32826"
    							href="/api/space/nsas/l3vpn/service-management/service-templates/32826">
    							<ID>32826</ID>
    							<ConfigParams>
    								<Name>Description</Name>
    								<Value>Testing description</Value>
    								<Decommission>false</Decommission>
    								<SvcSpecificValue>false</SvcSpecificValue>
    								<ConfigPageName>cp1</ConfigPageName>
    							</ConfigParams>
    						</ServiceTemplate>
    						<ServiceTemplate key="2457649"
    							uri="/api/space/nsas/l3vpn/service-management/service-templates/2457649"
    							href="/api/space/nsas/l3vpn/service-management/service-templates/2457649">
    							<ID>2457649</ID>
    							<ConfigParams>
    								<Name>Description</Name>
    								<Value>TESTING 2ND DESC</Value>
    								<Decommission>false</Decommission>
    								<SvcSpecificValue>false</SvcSpecificValue>
    								<ConfigPageName>cp1</ConfigPageName>
    							</ConfigParams>
    						</ServiceTemplate>
    					</ServiceTemplates>
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA href="/api/space/nsas/device-roles/pe-devices/4423781" uri="/api/space/nsas/device-roles/pe-devices/4423781"
    						key="4423781">
    						<DeviceName>embassy</DeviceName>
    						<DeviceID>4423781</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-1/0/6</InterfaceName>
    					<ServiceEndpointConfiguration
    						xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="L3VPNFMOSPFEndPointConfigParameterOrderType">
    						<RoutingProtocol>OSPF</RoutingProtocol>
    						<EthernetOption>Vlan</EthernetOption>
    						<VlanId>1</VlanId>
    						<UnitID>0</UnitID>
    						<InterfaceIP>10.0.88.1</InterfaceIP>
    						<OSPFAreaId>0.0.0.0</OSPFAreaId>
    						<OSPFVersion>Ver 2</OSPFVersion>
    					</ServiceEndpointConfiguration>
    					<ServiceTemplates>
    						<ServiceTemplate key="32826"
    							uri="/api/space/nsas/l3vpn/service-management/service-templates/32826"
    							href="/api/space/nsas/l3vpn/service-management/service-templates/32826">
    							<ID>32826</ID>
    							<ConfigParams>
    								<Name>Description</Name>
    								<Value>Testing description</Value>
    								<Decommission>false</Decommission>
    								<SvcSpecificValue>false</SvcSpecificValue>
    								<ConfigPageName>cp1</ConfigPageName>
    							</ConfigParams>
    						</ServiceTemplate>
    						<ServiceTemplate key="2457649"
    							uri="/api/space/nsas/l3vpn/service-management/service-templates/2457649"
    							href="/api/space/nsas/l3vpn/service-management/service-templates/2457649">
    							<ID>2457649</ID>
    							<ConfigParams>
    								<Name>Description</Name>
    								<Value>TESTING 2ND DESC</Value>
    								<Decommission>false</Decommission>
    								<SvcSpecificValue>false</SvcSpecificValue>
    								<ConfigPageName>cp1</ConfigPageName>
    							</ConfigParams>
    						</ServiceTemplate>
    					</ServiceTemplates>
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<ServiceOrderParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    				xsi:type="L3VPNConfigParameterOrderType">
    				<RouteTarget>100:7</RouteTarget>
    				<RouteDistinguisher>100:24</RouteDistinguisher>
    				<VRFTabelLabel>Enabled</VRFTabelLabel>
    				<OSPFDomainID>22.44.33.22</OSPFDomainID>
    			</ServiceOrderParameter>
    			<Reference>
    				<Customer key="426088"
    					href="/api/space/nsas/customer-management/customers/426088" uri="/api/space/nsas/customer-management/customers/426088" />
    				<ServiceDefinition>
    					<ServiceDefinitionID key="4915200"
    						href="/api/space/nsas/l3vpn/service-management/service-definitions/4915200"
    						uri="/api/space/nsas/l3vpn/service-management/service-definitions/4915200" />
    				</ServiceDefinition>
    			</Reference>
    		</ServiceOrder>
    	</ServiceResource>
    </Data>
     
    

    Get an E-LINE P2P Service Definition Associated with a Service Template by Service Definition ID

    This request is used to retrieve a specific Layer 2 Ethernet Private Line (EPL, also called E-LINE) P2P service definition that is attached to a service template, based on the service definition ID.

    URI

    api/space/nsas/eline-ptp/service-management/service-definitions/
    <ServiceDefinitionID>

    HTTP Method

    GET

    Consumes

    application/vnd.net.juniper.space.service-management.
    service-definition+xml

    application/vnd.net.juniper.space.service-management.
    service-definition+json

    Produces

    Retrieves the details of a specific configured E-LINE P2P service definition that contains a service template based on a service definition ID.

    Output

    Sample XML Output

    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    	<ServiceResource>
    		<ServiceDefinition
    			href="/api/space/nsas/eline-ptp/service-management/service-definitions/295160"
    			uri="/api/space/nsas/eline-ptp/service-management/service-definitions/295160"
    			key="295160">
    			<Common>
    				<Name>P2P001</Name>
    				<Identity>295160</Identity>
    				<State>Published</State>
    				<CreatedDate>2012-12-06T11:57:22.000+05:30</CreatedDate>
    				<LastUpdatedDate>2012-12-06T11:57:22.000+05:30</LastUpdatedDate>
    				<CreatedBy>super</CreatedBy>
    			</Common>
    			<ServiceType>Point-to-Point Pseudowire(LDP)</ServiceType>
    			<InterfaceType>Ethernet</InterfaceType>
    			<EnableL3Access>false</EnableL3Access>
    			<ServiceTemplates>
    				<ServiceTemplate
    					key="/api/space/nsas/eline-ptp/service-management/service-templates/32826"
    					uri="/api/space/nsas/eline-ptp/service-management/service-templates/32826"
    					href="/api/space/nsas/eline-ptp/service-management/service-templates/32826">
    					<ID>32826</ID>
    					<Name>TEMP001</Name>
    				</ServiceTemplate>
    			</ServiceTemplates>
    			<ServiceElementConfigurationDefinition
    				xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPServiceEndpointGroupParameterDefType">
    				<VCID default="1" selection="Auto pick" editable="false" min="1"
    					max="4294967296" />
    				<MTU default="1522" editable="false" min="1522" max="9192" />
    			</ServiceElementConfigurationDefinition>
    			<ServiceEndPointConfigurationDefinition
    				xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPEndPointParameterDefType">
    				<EthernetOption>qinq</EthernetOption>
    				<VlanIdSelection selection="Auto pick" editable="false" />
    				<TrafficType>Transport all traffic</TrafficType>
    				<VlanIdAuto default="0" min="0" max="0" />
    				<VlanIdManual default="0" min="0" max="0" />
    				<PhysicalEncapsulation>vlan-ccc</PhysicalEncapsulation>
    				<LogicalEncapsulation>vlan-ccc</LogicalEncapsulation>
    				<MTU default="1522" editable="false" min="1522" max="9192" />
    				<EnableRateLimiting>Enabled</EnableRateLimiting>
    				<DefaultBandwidth default="1" editable="false" min="1"
    					max="100" unit="Mbps">10</DefaultBandwidth>
    				<MinBandwidth min="64" max="100000" unit="Kbps">0
    				</MinBandwidth>
    				<MaxBandwidth min="1" max="100000" unit="Mbps">0
    				</MaxBandwidth>
    				<Increment default="64" min="64" max="100000" unit="Kbps">0
    				</Increment>
    				<OuterTagProtocolId editable="false" />
    				<InnerTagProtocolId editable="false" />
    			</ServiceEndPointConfigurationDefinition>
    		</ServiceDefinition>
    	</ServiceResource>
    </Data>
     
    

    Create a Service Definition Associated with a Service Template

    This request is used to create a service definition configured with a service template.

    URI

    api/space/nsas/eline-ptp/service-management/service-definitions/

    api/space/nsas/elan-vpls/service-management/service-definitions/

    api/space/nsas/l3vpn/service-management/service-definitions/

    HTTP Method

    POST

    Content-Type

    application/vnd.net.juniper.space.service-
    management.service-definition+xml;version=2;charset=UTF-8

    Consumes

    application/vnd.net.juniper.space.service-management.
    service-definition-status+xml;version=2

    The following values are not correct and they are predefined as false.

    <Decommission>false</Decommission>

    <SvcSpecificValue>false</SvcSpecificValue>

    The Xpath parameter is used in the following format:

    <ConfigPageName>cp1</ConfigPageName>

    Here, cp1 represents the configuration page in template. If more than one config page is present, all the values, such as cp1, cp2, and so on, are fetched correspondingly.

    Produces

    Creates a service definition configured with a service template

    Input (Ethernet P2P)

    Sample XML Input

    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    	<ServiceResource>
    		<ServiceDefinition>
    			<Common>
    				<Name>P2P_DEF_TEMP_001</Name>
    			</Common>
    			<ServiceType>Point-to-Point Pseudowire(LDP)</ServiceType>
    			<InterfaceType>Ethernet</InterfaceType>
    			<EnableL3Access>false</EnableL3Access>
    			<ServiceTemplates>
    				<ServiceTemplate>
    					<ID>2654218</ID>
    				</ServiceTemplate>
    			</ServiceTemplates>
    			<ServiceElementConfigurationDefinition
    				xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPServiceEndpointGroupParameterDefType">
    				<VCID default="1" selection="Auto pick" editable="false" min="1"
    					max="4294967296" />
    				<MTU default="1522" editable="true" min="1522" max="9192" />
    			</ServiceElementConfigurationDefinition>
    			<ServiceEndPointConfigurationDefinition
    				xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPEndPointParameterDefType">
    				<EthernetOption>qinq</EthernetOption>
    				<VlanIdSelection selection="Auto pick" editable="false" />
    				<TrafficType>Transport all traffic</TrafficType>
    				<VlanIdAuto default="0" min="0" max="0" />
    				<VlanIdManual default="0" min="0" max="0" />
    				<PhysicalEncapsulation>vlan-ccc</PhysicalEncapsulation>
    				<LogicalEncapsulation>vlan-ccc</LogicalEncapsulation>
    				<MTU default="1522" editable="true" min="1522" max="9192" />
    				<EnableRateLimiting>Enabled</EnableRateLimiting>
    				<DefaultBandwidth default="1" editable="true" min="1"
    					max="100" unit="Mbps">10</DefaultBandwidth>
    				<MinBandwidth min="64" max="100000" unit="Kbps">1000
    				</MinBandwidth>
    				<MaxBandwidth min="1" max="100000" unit="Mbps">100
    				</MaxBandwidth>
    				<Increment default="64" min="64" max="100000" unit="Kbps">1000
    				</Increment>
    			</ServiceEndPointConfigurationDefinition>
    		</ServiceDefinition>
    	</ServiceResource>
    </Data>
     
    

    Input (P2P TDM)

    Sample XML Input

    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    	<ServiceResource>
    		<ServiceDefinition>
    			<Common>
    				<Name>StaticTDMpseudowire001</Name>
    			</Common>
    			<ServiceType>Point-to-Point Pseudowire(LDP)</ServiceType>
    			<InterfaceType>TDM</InterfaceType>
    			<StaticpseudoWire>true</StaticpseudoWire>
    			<ServiceTemplates>
    				<ServiceTemplate>
    					<ID>2654218</ID>
    				</ServiceTemplate>
    			</ServiceTemplates>
    			<ServiceElementConfigurationDefinition
    				xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPTDMServiceEndpointGroupParameterDefType">
    				<VCID default="1" selection="Auto pick" editable="true" min="1"
    					max="4294967296" />
    				<MTU default="1522" editable="true" min="1522" max="1900" />
    				<OutGoingLabel selection="Select manually"/>
    			</ServiceElementConfigurationDefinition>
    			<ServiceEndPointConfigurationDefinition
    				xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPTDMEndPointParameterDefType">
    				<PhysicalEncapsulation>satop</PhysicalEncapsulation>
    				<JitterBuffer editable="true">5</JitterBuffer>
    				<IdlePattern editable="true" min="0" max="255">255
    				</IdlePattern>
    				<ExcessPacketLossRate editable="true" min="0"
    					max="100">20</ExcessPacketLossRate>
    				<PayloadSize editable="true">192</PayloadSize>
    			</ServiceEndPointConfigurationDefinition>
    		</ServiceDefinition>
    	</ServiceResource>
    </Data>
     
    

    Input (Full-Mesh L3VPN)

    Sample XML Input

    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    	<ServiceResource>
    		<ServiceDefinition>
    			<Common>
    				<Name>L3VPN-BGP-Static_001</Name>
    			</Common>
    			<ServiceType>L3VPN</ServiceType>
    			<InterfaceType>L3 VPN (Full Mesh)</InterfaceType>
    			<ServiceTemplates>
    				<ServiceTemplate>
    					<ID>2654218</ID>
    				</ServiceTemplate>
    			</ServiceTemplates>
    			<ServiceElementConfigurationDefinition
    				xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="L3VPNServiceEndpointGroupParameterDefType">
    				<RouteTarget selection="Auto pick" editable="false" />
    				<RouteDistinguisher selection="Auto pick"
    					editable="false" />
    				<VRFTabelLabel editable="false">true</VRFTabelLabel>
    				<ExportDirectRoutes>true</ExportDirectRoutes>
    				<RoutingProtocol>BGP/Static Route</RoutingProtocol>
    				<PEInterfaceIP selection="Auto pick" editable="true" />
    				<IPPoolType editable="false">Global</IPPoolType>
    				<AddressBlockSize editable="true">30</AddressBlockSize>
    			</ServiceElementConfigurationDefinition>
    			<ServiceEndPointConfigurationDefinition
    				xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="L3VPNEndPointParameterDefType">
    				<VlanIdSelection selection="Auto pick" editable="true" />
    				<VlanIdAuto min="0" max="0" />
    				<VlanIdManual min="0" max="0" />
    			</ServiceEndPointConfigurationDefinition>
    		</ServiceDefinition>
    	</ServiceResource>
    </Data>
     
    

    Input (Hub-and-Spoke L3VPN)

    Sample XML Input

    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    	<ServiceResource>
    		<ServiceDefinition>
    			<Common>
    				<Name>L3VPNOSPFStaticHubSpoke001</Name>
    			</Common>
    			<ServiceType>L3VPN</ServiceType>
    			<InterfaceType>L3 VPN (Hub-Spoke 1 Interface)</InterfaceType>
    			<ServiceTemplates>
    				<ServiceTemplate>
    					<ID>2654218</ID>
    				</ServiceTemplate>
    			</ServiceTemplates>
    			<ServiceElementConfigurationDefinition
    				xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="L3VPNServiceEndpointGroupParameterDefType">
    				<RouteTarget selection="Auto pick" editable="false" />
    				<RouteDistinguisher selection="Auto pick"
    					editable="false" />
    				<VRFTabelLabel editable="false">true</VRFTabelLabel>
    				<ExportDirectRoutes>true</ExportDirectRoutes>
    				<RoutingProtocol>OSPF/Static Route</RoutingProtocol>
    				<PEInterfaceIP selection="Auto pick" editable="true" />
    				<IPPoolType editable="false">Global</IPPoolType>
    				<AddressBlockSize editable="true">30</AddressBlockSize>
    			</ServiceElementConfigurationDefinition>
    			<ServiceEndPointConfigurationDefinition
    				xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="L3VPNEndPointParameterDefType">
    				<VlanIdSelection selection="Auto pick" editable="true" />
    				<VlanIdAuto min="0" max="0" />
    				<VlanIdManual min="0" max="0" />
    			</ServiceEndPointConfigurationDefinition>
    		</ServiceDefinition>
    	</ServiceResource>
    </Data>
     
    

    Create a Service Order Associated with a Service Template

    This request is used to create a service order configured with a service template.

    URI

    api/space/nsas/eline-ptp/service-management/
    service-orders/

    api/space/nsas/l3vpn/service-management/
    service-orders/

    api/space/nsas/elan-vpls/service-management/
    service-orders/

    HTTP Method

    POST

    Content-Type

    application/vnd.net.juniper.space.service-
    management.service-order+xml;version=2;charset=UTF-8

    Consumes

    application/vnd.net.juniper.space.service-management.service-order-status+xml;version=2

    Produces

    Creates a service order configured with a service template

    Input (P2P LDP)

    Sample XML Input

    <? xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    	<ServiceResource>
    		<ServiceOrder>
    			<Common>
    				<Name>Test003</Name>
    			</Common>
    			<ServiceType>Point-to-Point Pseudowire</ServiceType>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA>
    						<DeviceName>kochin</DeviceName>
    						<DeviceID>4423740</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-0/0/6</InterfaceName>
    					<ServiceEndpointConfiguration
    						xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPElineLDPEndPointConfigParameterOrderType">
    						<EndPointCategory>PTP</EndPointCategory>
    						<UNIDescription>N/A</UNIDescription>
    					</ServiceEndpointConfiguration>
    					<ServiceTemplates>
    						<ServiceTemplate>
    							<Name>TEMP001</Name>
    							<ID>32826</ID>
    							<ConfigParams>
    								<Name>Description</Name>
    								<Value>Testing description AA</Value>
    								<ConfigPageName>cp1</ConfigPageName>
    							</ConfigParams>
    						</ServiceTemplate>
    						<ServiceTemplate>
    							<Name>TEMP003</Name>
    							<ID>2457649</ID>
    							<ConfigParams>
    								<Name>Description</Name>
    								<Value>TESTING 2ND DESC AA</Value>
    								<ConfigPageName>cp1</ConfigPageName>
    							</ConfigParams>
    						</ServiceTemplate>
    					</ServiceTemplates>
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA>
    						<DeviceName>embassy</DeviceName>
    						<DeviceID>4423781</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-1/1/6</InterfaceName>
    					<ServiceEndpointConfiguration
    						xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPElineLDPEndPointConfigParameterOrderType">
    						<EndPointCategory>PTP</EndPointCategory>
    						<UNIDescription>N/A</UNIDescription>
    					</ServiceEndpointConfiguration>
    					<ServiceTemplates>
    						<ServiceTemplate>
    							<Name>TEMP001</Name>
    							<ID>32826</ID>
    							<ConfigParams>
    								<Name>Description</Name>
    								<Value>Testing description BB</Value>
    								<ConfigPageName>cp1</ConfigPageName>
    							</ConfigParams>
    						</ServiceTemplate>
    						<ServiceTemplate>
    							<Name>TEMP003</Name>
    							<ID>2457649</ID>
    							<ConfigParams>
    								<Name>Description</Name>
    								<Value>TESTING 2ND DESC CC 555</Value>
    								<ConfigPageName>cp1</ConfigPageName>
    							</ConfigParams>
    						</ServiceTemplate>
    					</ServiceTemplates>
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<ServiceOrderParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    				xsi:type="PTPConfigParameterOrderType">
    			</ServiceOrderParameter>
    			<Reference>
    				<Customer key="426088"
    					href="/api/space/nsas/customer-management/customers/426088" uri="/api/space/nsas/customer-management/customers/426088" />
    				<ServiceDefinition>
    					<ServiceDefinitionID key="2490368"
    						href="/api/space/nsas/service-management/service-definitions/2490368"
    						uri="/api/space/nsas/service-management/service-definitions/2490368" />
    				</ServiceDefinition>
    			</Reference>
    		</ServiceOrder>
    	</ServiceResource>
    </Data>
     
    

    Input (P2P BGP)

    Sample XML Input

    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    	<ServiceResource>
    		<ServiceOrder>
    			<Common>
    				<Name>P2P_BGP_SO_TEMP_001</Name>
    			</Common>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA>
    						<DeviceName>vjx-junos-mx240-space</DeviceName>
    						<DeviceID>10256467</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-0/0/7</InterfaceName>
    					<ServiceEndpointConfiguration
    						xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPElineBGPEndPointConfigParameterOrderType">
    						<VlanId>2200</VlanId>
    						<CustomerVlanId>2440</CustomerVlanId>
    					</ServiceEndpointConfiguration>
    					<ServiceTemplates>
    						<ServiceTemplate>
    							<ID>9797632</ID>
    							<ConfigParams>
    								<Name>Description</Name>
    								<Value>Template Description-A</Value>
    								<ConfigPageName>cp1</ConfigPageName>
    							</ConfigParams>
    						</ServiceTemplate>
    					</ServiceTemplates>
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA>
    						<DeviceName>vjx-junos-mx80-1-space</DeviceName>
    						<DeviceID>10256459</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-0/0/5</InterfaceName>
    					<ServiceEndpointConfiguration
    						xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPElineBGPEndPointConfigParameterOrderType">
    						<VlanId>2200</VlanId>
    						<CustomerVlanId>2440</CustomerVlanId>
    					</ServiceEndpointConfiguration>
    					<ServiceTemplates>
    						<ServiceTemplate>
    							<ID>9797632</ID>
    							<ConfigParams>
    								<Name>Description</Name>
    								<Value>Template Description-Z</Value>
    								<ConfigPageName>cp1</ConfigPageName>
    							</ConfigParams>
    						</ServiceTemplate>
    					</ServiceTemplates>
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<ServiceOrderParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    				xsi:type="PTPConfigParameterOrderType">
    			</ServiceOrderParameter>
    			<Reference>
    				<Customer key="884834"/>
    				<ServiceDefinition>
    					<ServiceDefinitionID key="10158080"/>
    				</ServiceDefinition>
    			</Reference>
    		</ServiceOrder>
    	</ServiceResource>
    </Data>
     
    

    Output (P2P BGP)

    Sample XML Output

    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
        <Data xmlns="services.schema.networkapi.jmp.juniper.net">
        <Status>
        <Identity>
        <Type>ServiceOrder</Type>
        <Value>1376427</Value>
        </Identity>
        <Job>
        <ID>426219</ID>
        <Status>INPROGRESS</Status>
        </Job>
        <Code>200</Code>
        <Message>The Service Order Created Successfully and Validation is in Progress. Please check the status using the JOB ID.</Message>
        </Status>
        </Data>
     
    

    Input (VPLS Full-Mesh BGP)

    Sample XML Input

    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    	<ServiceResource>
    		<ServiceOrder>
    			<Common>
    				<Name>VPLS_ST_M2M_001</Name>
    			</Common>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA>
    						<DeviceName>embassy</DeviceName>
    						<DeviceID>4423781</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-1/0/6</InterfaceName>
    					<ServiceEndpointConfiguration
    						xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSBGPEndPointConfigParameterOrderType">
    						<CustomerVlanIdStart>1000</CustomerVlanIdStart>
    						<CustomerVlanIdEnd>2000</CustomerVlanIdEnd>
    					</ServiceEndpointConfiguration>
    					<ServiceTemplates>
    						<ServiceTemplate>
    							<ID>32826</ID>
    							<ConfigParams>
    								<Name>Description</Name>
    								<Value>Testing description AA</Value>
    								<Decommission>false</Decommission>
    								<SvcSpecificValue>false</SvcSpecificValue>
    								<ConfigPageName>cp1</ConfigPageName>
    							</ConfigParams>
    						</ServiceTemplate>
    						<ServiceTemplate>
    							<ID>2457649</ID>
    							<ConfigParams>
    								<Name>Description</Name>
    								<Value>TESTING 2ND DESC AAA</Value>
    								<Decommission>false</Decommission>
    								<SvcSpecificValue>false</SvcSpecificValue>
    								<ConfigPageName>cp1</ConfigPageName>
    							</ConfigParams>
    						</ServiceTemplate>
    					</ServiceTemplates>
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA>
    						<DeviceName>kochin</DeviceName>
    						<DeviceID>4423740</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-0/0/5</InterfaceName>
    					<ServiceEndpointConfiguration
    						xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSBGPEndPointConfigParameterOrderType">
    						<CustomerVlanIdStart>1000</CustomerVlanIdStart>
    						<CustomerVlanIdEnd>2000</CustomerVlanIdEnd>
    					</ServiceEndpointConfiguration>
    					<ServiceTemplates>
    						<ServiceTemplate>
    							<ID>32826</ID>
    							<ConfigParams>
    								<Name>Description</Name>
    								<Value>Testing description ZZ</Value>
    								<Decommission>false</Decommission>
    								<SvcSpecificValue>false</SvcSpecificValue>
    								<ConfigPageName>cp1</ConfigPageName>
    							</ConfigParams>
    						</ServiceTemplate>
    						<ServiceTemplate>
    							<ID>2457649</ID>
    							<ConfigParams>
    								<Name>Description</Name>
    								<Value>TESTING 2ND DESC ZZZ</Value>
    								<Decommission>false</Decommission>
    								<SvcSpecificValue>false</SvcSpecificValue>
    								<ConfigPageName>cp1</ConfigPageName>
    							</ConfigParams>
    						</ServiceTemplate>
    					</ServiceTemplates>
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<Reference>
    				<Customer key="426088" />
    				<ServiceDefinition>
    					<ServiceDefinitionID key="4882432" />
    				</ServiceDefinition>
    			</Reference>
    		</ServiceOrder>
    	</ServiceResource>
    	<CustomAction xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    		xsi:type="ServiceOrderCustomActionType">
    		<Action>SaveAndDeployNow</Action>
    	</CustomAction>
    </Data>
     
    

    Input (VPLS Hub-and-Spoke BGP)

    Sample XML Input

    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    	<ServiceResource>
    		<ServiceOrder>
    			<Common>
    				<Name>VPLS_ST_HS_001</Name>
    			</Common>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA>
    						<DeviceName>embassy</DeviceName>
    						<DeviceID>4423781</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-1/0/6</InterfaceName>
    					<ServiceEndpointConfiguration
    						xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSHSBGPEndPointConfigParameterOrderType">
                                             <Hub>false</Hub>
    					</ServiceEndpointConfiguration>
    					<ServiceTemplates>
    						<ServiceTemplate>
    							<ID>32826</ID>
    							<ConfigParams>
    								<Name>Description</Name>
    								<Value>Testing description AA</Value>
    								<Decommission>false</Decommission>
    								<SvcSpecificValue>false</SvcSpecificValue>
    								<ConfigPageName>cp1</ConfigPageName>
    							</ConfigParams>
    						</ServiceTemplate>
    						<ServiceTemplate>
    							<ID>2457649</ID>
    							<ConfigParams>
    								<Name>Description</Name>
    								<Value>TESTING 2ND DESC AAA</Value>
    								<Decommission>false</Decommission>
    								<SvcSpecificValue>false</SvcSpecificValue>
    								<ConfigPageName>cp1</ConfigPageName>
    							</ConfigParams>
    						</ServiceTemplate>
    					</ServiceTemplates>
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA>
    						<DeviceName>kochin</DeviceName>
    						<DeviceID>4423740</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-0/0/5</InterfaceName>
    					<ServiceEndpointConfiguration
    						xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSHSBGPEndPointConfigParameterOrderType">
                                             <Hub>true</Hub>
    					</ServiceEndpointConfiguration>
    					<ServiceTemplates>
    						<ServiceTemplate>
    							<ID>32826</ID>
    							<ConfigParams>
    								<Name>Description</Name>
    								<Value>Testing description ZZ</Value>
    								<Decommission>false</Decommission>
    								<SvcSpecificValue>false</SvcSpecificValue>
    								<ConfigPageName>cp1</ConfigPageName>
    							</ConfigParams>
    						</ServiceTemplate>
    						<ServiceTemplate>
    							<ID>2457649</ID>
    							<ConfigParams>
    								<Name>Description</Name>
    								<Value>TESTING 2ND Endpoint Z</Value>
    								<Decommission>false</Decommission>
    								<SvcSpecificValue>false</SvcSpecificValue>
    								<ConfigPageName>cp1</ConfigPageName>
    							</ConfigParams>
    						</ServiceTemplate>
    					</ServiceTemplates>
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<Reference>
    				<Customer key="426088" />
    				<ServiceDefinition>
    					<ServiceDefinitionID key="5210192"/>
    				</ServiceDefinition>
    			</Reference>
    		</ServiceOrder>
    	</ServiceResource>
    	<CustomAction xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    		xsi:type="ServiceOrderCustomActionType">
    		<Action>SaveAndDeployNow</Action>
    	</CustomAction>
    </Data>
     
    

    Input (VPLS LDP)

    Sample XML Input

    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    	<ServiceResource>
    		<ServiceOrder>
    			<Common>
    				<Name>VPLS_LDP_TEMP_SO_001</Name>
    			</Common>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA>
    						<DeviceName>vjx-junos-mx80-1-space</DeviceName>
    						<DeviceID>10256459</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-0/0/6</InterfaceName>
    					<ServiceEndpointConfiguration
    						xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSLDPEndPointConfigParameterOrderType">
    						<VlanId>1602</VlanId>
    						<MTU>1522</MTU>
    						<CustomerVlanId>2102</CustomerVlanId>
    					</ServiceEndpointConfiguration>
    					<ServiceTemplates>
    						<ServiceTemplate>
    							<ID>9797632</ID>
    							<ConfigParams>
    								<Name>Description</Name>
    								<Value>Template Description-A</Value>
    								<ConfigPageName>cp1</ConfigPageName>
    							</ConfigParams>
    						</ServiceTemplate>
    					</ServiceTemplates>
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA>
    						<DeviceName>vjx-junos-mx240-space</DeviceName>
    						<DeviceID>10256467</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-0/0/7</InterfaceName>
    					<ServiceEndpointConfiguration
    						xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="VPLSLDPEndPointConfigParameterOrderType">
    						<VlanId>1602</VlanId>
    						<MTU>1522</MTU>
    						<CustomerVlanId>2102</CustomerVlanId>
    					</ServiceEndpointConfiguration>
    					<ServiceTemplates>
    						<ServiceTemplate>
    							<ID>9797632</ID>
    							<ConfigParams>
    								<Name>Description</Name>
    								<Value>Template Description-Z</Value>
    								<ConfigPageName>cp1</ConfigPageName>
    							</ConfigParams>
    						</ServiceTemplate>
    					</ServiceTemplates>
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<ServiceOrderParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    				xsi:type="VPLSConfigParameterOrderType">
    			</ServiceOrderParameter>
    			<Reference>
    				<Customer key="884834"/>
    				<ServiceDefinition>
    					<ServiceDefinitionID key="10289152"/>
    				</ServiceDefinition>
    			</Reference>
    		</ServiceOrder>
    	</ServiceResource>
    </Data>
     
    

    Input (Full-Mesh L3VPN OSPF)

    Sample XML Input

    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    	<ServiceResource>
    		<ServiceOrder>
    			<Common>
    				<Name>L3VPN_SO_ST001</Name>
    			</Common>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA>
    						<DeviceName>kochin</DeviceName>
    						<DeviceID>4423740</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-0/0/5</InterfaceName>
    					<ServiceEndpointConfiguration
    						xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="L3VPNFMOSPFEndPointConfigParameterOrderType">
    						<EthernetOption>VLAN</EthernetOption>
    						<IPAddressPool>10.0.88.0/24</IPAddressPool>
    						<OSPFAreaId>0.0.0.0</OSPFAreaId>
    						<OSPFVersion>Ver 2</OSPFVersion>
    					</ServiceEndpointConfiguration>
    					<ServiceTemplates>
    						<ServiceTemplate>
    							<ID>32826</ID>
    							<ConfigParams>
    								<Name>Description</Name>
    								<Value>Testing description AA</Value>
    								<Decommission>false</Decommission>
    								<SvcSpecificValue>false</SvcSpecificValue>
    								<ConfigPageName>cp1</ConfigPageName>
    							</ConfigParams>
    						</ServiceTemplate>
    						<ServiceTemplate>
    							<ID>2457649</ID>
    							<ConfigParams>
    								<Name>Description</Name>
    								<Value>TESTING 2ND DESC AA</Value>
    								<Decommission>false</Decommission>
    								<SvcSpecificValue>false</SvcSpecificValue>
    								<ConfigPageName>cp1</ConfigPageName>
    							</ConfigParams>
    						</ServiceTemplate>
    					</ServiceTemplates>
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA>
    						<DeviceName>embassy</DeviceName>
    						<DeviceID>4423781</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-1/0/6</InterfaceName>
    					<ServiceEndpointConfiguration
    						xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="L3VPNFMOSPFEndPointConfigParameterOrderType">
    						<EthernetOption>VLAN</EthernetOption>
    						<IPAddressPool>10.0.99.0/24</IPAddressPool>
    						<OSPFAreaId>0.0.0.0</OSPFAreaId>
    						<OSPFVersion>Ver 2</OSPFVersion>
    					</ServiceEndpointConfiguration>
    					<ServiceTemplates>
    						<ServiceTemplate>
    							<ID>32826</ID>
    							<ConfigParams>
    								<Name>Description</Name>
    								<Value>Testing description ZZ</Value>
    								<Decommission>false</Decommission>
    								<SvcSpecificValue>false</SvcSpecificValue>
    								<ConfigPageName>cp1</ConfigPageName>
    							</ConfigParams>
    						</ServiceTemplate>
    						<ServiceTemplate>
    							<ID>2457649</ID>
    							<ConfigParams>
    								<Name>Description</Name>
    								<Value>TESTING 2ND DESC ZZ</Value>
    								<Decommission>false</Decommission>
    								<SvcSpecificValue>false</SvcSpecificValue>
    								<ConfigPageName>cp1</ConfigPageName>
    							</ConfigParams>
    						</ServiceTemplate>
    					</ServiceTemplates>
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<Reference>
    				<Customer key="426088"/>
    				<ServiceDefinition>
    					<ServiceDefinitionID key="4915200"/>
    				</ServiceDefinition>
    			</Reference>
    		</ServiceOrder>
    	</ServiceResource>
    </Data>
     
    

    Input (Full-Mesh L3VPN BGP)

    Sample XML Input

    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    	<ServiceResource>
    		<ServiceOrder>
    			<Common>
    				<Name>L3VPNFMBGPService</Name>
    				<Comments></Comments>
    			</Common>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA>
    						<DeviceName>kochin</DeviceName>
    						<DeviceID>4423740</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-0/0/5</InterfaceName>
    					<ServiceEndpointConfiguration
    						xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="L3VPNFMBGPEndPointConfigParameterOrderType">
    						<EthernetOption>VLAN</EthernetOption>
    						<Hub>true</Hub>
    						<IPAddressPool>10.0.77.0/24</IPAddressPool>
    						<PeerAS>23</PeerAS>
    					</ServiceEndpointConfiguration>
    					<ServiceTemplates>
    						<ServiceTemplate>
    							<ID>32826</ID>
    							<ConfigParams>
    								<Name>Description</Name>
    								<Value>Testing description AA</Value>
    								<Decommission>false</Decommission>
    								<SvcSpecificValue>false</SvcSpecificValue>
    								<ConfigPageName>cp1</ConfigPageName>
    							</ConfigParams>
    						</ServiceTemplate>
    						<ServiceTemplate>
    							<ID>2457649</ID>
    							<ConfigParams>
    								<Name>Description</Name>
    								<Value>TESTING 2ND DESC AAA</Value>
    								<Decommission>false</Decommission>
    								<SvcSpecificValue>false</SvcSpecificValue>
    								<ConfigPageName>cp1</ConfigPageName>
    							</ConfigParams>
    						</ServiceTemplate>
    					</ServiceTemplates>
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA>
    						<DeviceName>embassy</DeviceName>
    						<DeviceID>4423781</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-1/0/6</InterfaceName>
    					<ServiceEndpointConfiguration
    						xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="L3VPNFMBGPEndPointConfigParameterOrderType">
    						<EthernetOption>VLAN</EthernetOption>
    						<Hub>false</Hub>
    						<IPAddressPool>10.0.88.0/24</IPAddressPool>
    						<PeerAS>24</PeerAS>
    						</ServiceEndpointConfiguration>
    					<ServiceTemplates>
    						<ServiceTemplate>
    							<ID>32826</ID>
    							<ConfigParams>
    								<Name>Description</Name>
    								<Value>Testing description ZZ</Value>
    								<Decommission>false</Decommission>
    								<SvcSpecificValue>false</SvcSpecificValue>
    								<ConfigPageName>cp1</ConfigPageName>
    							</ConfigParams>
    						</ServiceTemplate>
    						<ServiceTemplate>
    							<ID>2457649</ID>
    							<ConfigParams>
    								<Name>Description</Name>
    								<Value>TESTING 2ND DESC ZZZ</Value>
    								<Decommission>false</Decommission>
    								<SvcSpecificValue>false</SvcSpecificValue>
    								<ConfigPageName>cp1</ConfigPageName>
    							</ConfigParams>
    						</ServiceTemplate>
    					</ServiceTemplates>
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<Reference>
    				<Customer key="426088" />
    				<ServiceDefinition>
    					<ServiceDefinitionID key="5111981"/>
    				</ServiceDefinition>
    			</Reference>
    		</ServiceOrder>
    	</ServiceResource>
    	<CustomAction xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    		xsi:type="ServiceOrderCustomActionType">
    		<Action>SaveAndDeployNow</Action>
    	</CustomAction>
    </Data>
     
    

    Input (Hub-and-Spoke L3VPN OSPF)

    Sample XML Input

    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    	<ServiceResource>
    		<ServiceOrder>
    			<Common>
    				<Name>L3VPNHSOSPFService</Name>
    				<Comments></Comments>
    			</Common>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA>
    						<DeviceName>kochin</DeviceName>
    						<DeviceID>4423740</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-0/0/5</InterfaceName>
    					<ServiceEndpointConfiguration
    						xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="L3VPNHSOSPFEndPointConfigParameterOrderType">
    						<EthernetOption>VLAN</EthernetOption>
    						<Hub>true</Hub>
    						<IPAddressPool>10.0.77.0/24</IPAddressPool>
    						<OSPFAreaId>0.0.0.0</OSPFAreaId>
    						<OSPFVersion>Ver 2</OSPFVersion>
    					</ServiceEndpointConfiguration>
    					<ServiceTemplates>
    						<ServiceTemplate>
    							<ID>32826</ID>
    							<ConfigParams>
    								<Name>Description</Name>
    								<Value>Testing description AA</Value>
    								<Decommission>false</Decommission>
    								<SvcSpecificValue>false</SvcSpecificValue>
    								<ConfigPageName>cp1</ConfigPageName>
    							</ConfigParams>
    						</ServiceTemplate>
    						<ServiceTemplate>
    							<ID>2457649</ID>
    							<ConfigParams>
    								<Name>Description</Name>
    								<Value>TESTING 2ND DESC AAA</Value>
    								<Decommission>false</Decommission>
    								<SvcSpecificValue>false</SvcSpecificValue>
    								<ConfigPageName>cp1</ConfigPageName>
    							</ConfigParams>
    						</ServiceTemplate>
    					</ServiceTemplates>
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA>
    						<DeviceName>embassy</DeviceName>
    						<DeviceID>4423781</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-1/0/6</InterfaceName>
    					<ServiceEndpointConfiguration
    						xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="L3VPNHSOSPFEndPointConfigParameterOrderType">
    						<EthernetOption>VLAN</EthernetOption>
    						<Hub>false</Hub>
    						<IPAddressPool>10.0.88.0/24</IPAddressPool>
    						<OSPFAreaId>1.1.1.1</OSPFAreaId>
    						<OSPFVersion>Ver 3</OSPFVersion>
    					</ServiceEndpointConfiguration>
    					<ServiceTemplates>
    						<ServiceTemplate>
    							<ID>32826</ID>
    							<ConfigParams>
    								<Name>Description</Name>
    								<Value>Testing description ZZ</Value>
    								<Decommission>false</Decommission>
    								<SvcSpecificValue>false</SvcSpecificValue>
    								<ConfigPageName>cp1</ConfigPageName>
    							</ConfigParams>
    						</ServiceTemplate>
    						<ServiceTemplate>
    							<ID>2457649</ID>
    							<ConfigParams>
    								<Name>Description</Name>
    								<Value>TESTING 2ND DESC ZZZ</Value>
    								<Decommission>false</Decommission>
    								<SvcSpecificValue>false</SvcSpecificValue>
    								<ConfigPageName>cp1</ConfigPageName>
    							</ConfigParams>
    						</ServiceTemplate>
    					</ServiceTemplates>
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<Reference>
    				<Customer key="426088" />
    				<ServiceDefinition>
    					<ServiceDefinitionID key="5111889" />
    				</ServiceDefinition>
    			</Reference>
    		</ServiceOrder>
    	</ServiceResource>
    	<CustomAction xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    		xsi:type="ServiceOrderCustomActionType">
    		<Action>SaveAndDeployNow</Action>
    	</CustomAction>
    </Data>
     
    

    Input (Hub-and-Spoke L3VPN BGP)

    Sample XML Input

    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    	<ServiceResource>
    		<ServiceOrder>
    			<Common>
    				<Name>L3VPNHSBGPService</Name>
    				<Comments></Comments>
    			</Common>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA>
    						<DeviceName>kochin</DeviceName>
    						<DeviceID>4423740</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-0/0/5</InterfaceName>
    					<ServiceEndpointConfiguration
    						xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="L3VPNHSBGPEndPointConfigParameterOrderType">
    						<EthernetOption>VLAN</EthernetOption>
    						<Hub>true</Hub>
    						<IPAddressPool>10.0.77.0/24</IPAddressPool>
    						<PeerAS>23</PeerAS>
    					</ServiceEndpointConfiguration>
    					<ServiceTemplates>
    						<ServiceTemplate>
    							<ID>32826</ID>
    							<ConfigParams>
    								<Name>Description</Name>
    								<Value>Testing description AA</Value>
    								<Decommission>false</Decommission>
    								<SvcSpecificValue>false</SvcSpecificValue>
    								<ConfigPageName>cp1</ConfigPageName>
    							</ConfigParams>
    						</ServiceTemplate>
    						<ServiceTemplate>
    							<ID>2457649</ID>
    							<ConfigParams>
    								<Name>Description</Name>
    								<Value>TESTING 2ND DESC AAA</Value>
    								<Decommission>false</Decommission>
    								<SvcSpecificValue>false</SvcSpecificValue>
    								<ConfigPageName>cp1</ConfigPageName>
    							</ConfigParams>
    						</ServiceTemplate>
    					</ServiceTemplates>
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA>
    						<DeviceName>embassy</DeviceName>
    						<DeviceID>4423781</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-1/0/6</InterfaceName>
    					<ServiceEndpointConfiguration
    						xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="L3VPNHSBGPEndPointConfigParameterOrderType">
    						<EthernetOption>VLAN</EthernetOption>
    						<Hub>false</Hub>
    						<IPAddressPool>10.0.88.0/24</IPAddressPool>
    						<PeerAS>24</PeerAS>
    						</ServiceEndpointConfiguration>
    					<ServiceTemplates>
    						<ServiceTemplate>
    							<ID>32826</ID>
    							<ConfigParams>
    								<Name>Description</Name>
    								<Value>Testing description ZZ</Value>
    								<Decommission>false</Decommission>
    								<SvcSpecificValue>false</SvcSpecificValue>
    								<ConfigPageName>cp1</ConfigPageName>
    							</ConfigParams>
    						</ServiceTemplate>
    						<ServiceTemplate>
    							<ID>2457649</ID>
    							<ConfigParams>
    								<Name>Description</Name>
    								<Value>TESTING 2ND DESC ZZZ</Value>
    								<Decommission>false</Decommission>
    								<SvcSpecificValue>false</SvcSpecificValue>
    								<ConfigPageName>cp1</ConfigPageName>
    							</ConfigParams>
    						</ServiceTemplate>
    					</ServiceTemplates>
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<Reference>
    				<Customer key="426088" />
    				<ServiceDefinition>
    					<ServiceDefinitionID key="5111962"/>
    				</ServiceDefinition>
    			</Reference>
    		</ServiceOrder>
    	</ServiceResource>
    	<CustomAction xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    		xsi:type="ServiceOrderCustomActionType">
    		<Action>SaveAndDeployNow</Action>
    	</CustomAction>
    </Data>
     
    

    Get a P2P Service Associated with a Service Template By Service ID

    This request is used to retrieve the details of a particular P2P service that is configured with a service template, based on the service identifier.

    URI

    api/space/nsas/eline-ptp/service-management/
    services/<serviceId>

    HTTP Method

    GET

    Consumes

    application/vnd.net.juniper.space.service-management.services+xml

    Produces

    Collects the details of a specific P2P service that contains a service template.

    Output

    Sample XML Output

    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    	<ServiceResource>
    		<Service
    			href="/api/space/nsas/eline-ptp/service-management/services/5603722"
    			uri="/api/space/nsas/eline-ptp/service-management/services/5603722"
    			key="5603722">
    			<Common>
    				<Name>P2P001</Name>
    				<Identity>5603722</Identity>
    				<State>Deployed</State>
    				<Comments></Comments>
    				<CreatedDate>2012-12-21T14:34:17.000+05:30</CreatedDate>
    				<LastUpdatedDate>2012-12-21T14:34:17.000+05:30</LastUpdatedDate>
    			</Common>
    			<ServiceType>LDP</ServiceType>
    			<AuditFlag>
    				<FunctionalAudit>Pending</FunctionalAudit>
    				<FaultStatus>None</FaultStatus>
    			</AuditFlag>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA href="/api/space/nsas/device-roles/pe-devices/5537806" uri="/api/space/nsas/device-roles/pe-devices/5537806"
    						key="5537806">
    						<DeviceName>exora</DeviceName>
    						<DeviceID>5537806</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-0/1/1.1500</InterfaceName>
    					<ServiceEndpointConfiguration
    						xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPElineLDPEndPointConfigParameterServiceType">
    						<EndPointCategory>PTP</EndPointCategory>
    						<TrafficType>QINQ Transport all traffic</TrafficType>
    						<PhysicalEncapsulation>extended-vlan-ccc</PhysicalEncapsulation>
    						<LogicalEncapsulation>extended-vlan-ccc</LogicalEncapsulation>
    						<UNIDescription>N/A</UNIDescription>
    						<VlanId>1500</VlanId>
    						<MTU>1522</MTU>
    						<Bandwidth unit="Mbps">0</Bandwidth>
    					</ServiceEndpointConfiguration>
    					<ServiceTemplates>
    						<ServiceTemplate key="32826"
    							uri="/api/space/nsas/eline-ptp/service-management/service-templates/32826"
    							href="/api/space/nsas/eline-ptp/service-management/service-templates/32826">
    							<ID>32826</ID>
    							<ConfigParams>
    								<Name>Description</Name>
    								<Value>Testing description AA</Value>
    								<Decommission>false</Decommission>
    								<SvcSpecificValue>false</SvcSpecificValue>
    								<ConfigPageName>cp1</ConfigPageName>
    							</ConfigParams>
    						</ServiceTemplate>
    						<ServiceTemplate key="2457649"
    							uri="/api/space/nsas/eline-ptp/service-management/service-templates/2457649"
    							href="/api/space/nsas/eline-ptp/service-management/service-templates/2457649">
    							<ID>2457649</ID>
    							<ConfigParams>
    								<Name>Description</Name>
    								<Value>TESTING 2ND DESC AAA</Value>
    								<Decommission>false</Decommission>
    								<SvcSpecificValue>false</SvcSpecificValue>
    								<ConfigPageName>cp1</ConfigPageName>
    							</ConfigParams>
    						</ServiceTemplate>
    					</ServiceTemplates>
    				</ServiceEndPoint>
    				<ServiceEndPointGroupParameter
    					xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPServiceEndpointGroupParameterServiceType">
    					<PEDevice_LoopBackIP>50.1.2.3</PEDevice_LoopBackIP>
    					<PEDevice_NeighborIP>50.1.2.2</PEDevice_NeighborIP>
    				</ServiceEndPointGroupParameter>
    			</ServiceEndPointGroup>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA href="/api/space/nsas/device-roles/pe-devices/5537816" uri="/api/space/nsas/device-roles/pe-devices/5537816"
    						key="5537816">
    						<DeviceName>jaipur</DeviceName>
    						<DeviceID>5537816</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-0/1/1.1500</InterfaceName>
    					<ServiceEndpointConfiguration
    						xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPElineLDPEndPointConfigParameterServiceType">
    						<EndPointCategory>PTP</EndPointCategory>
    						<TrafficType>QINQ Transport all traffic</TrafficType>
    						<PhysicalEncapsulation>extended-vlan-ccc</PhysicalEncapsulation>
    						<LogicalEncapsulation>extended-vlan-ccc</LogicalEncapsulation>
    						<UNIDescription>N/A</UNIDescription>
    						<VlanId>1500</VlanId>
    						<MTU>1522</MTU>
    						<Bandwidth unit="Mbps">0</Bandwidth>
    					</ServiceEndpointConfiguration>
    					<ServiceTemplates>
    						<ServiceTemplate key="32826"
    							uri="/api/space/nsas/eline-ptp/service-management/service-templates/32826"
    							href="/api/space/nsas/eline-ptp/service-management/service-templates/32826">
    							<ID>32826</ID>
    							<ConfigParams>
    								<Name>Description</Name>
    								<Value>Testing description ZZ</Value>
    								<Decommission>false</Decommission>
    								<SvcSpecificValue>false</SvcSpecificValue>
    								<ConfigPageName>cp1</ConfigPageName>
    							</ConfigParams>
    						</ServiceTemplate>
    						<ServiceTemplate key="2457649"
    							uri="/api/space/nsas/eline-ptp/service-management/service-templates/2457649"
    							href="/api/space/nsas/eline-ptp/service-management/service-templates/2457649">
    							<ID>2457649</ID>
    							<ConfigParams>
    								<Name>Description</Name>
    								<Value>TESTING 2ND DESC ZZZ</Value>
    								<Decommission>false</Decommission>
    								<SvcSpecificValue>false</SvcSpecificValue>
    								<ConfigPageName>cp1</ConfigPageName>
    							</ConfigParams>
    						</ServiceTemplate>
    					</ServiceTemplates>
    				</ServiceEndPoint>
    				<ServiceEndPointGroupParameter
    					xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPServiceEndpointGroupParameterServiceType">
    					<PEDevice_LoopBackIP>50.1.2.2</PEDevice_LoopBackIP>
    					<PEDevice_NeighborIP>50.1.2.3</PEDevice_NeighborIP>
    				</ServiceEndPointGroupParameter>
    			</ServiceEndPointGroup>
    			<ServiceParameters xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    				xsi:type="PTPConfigParameterServiceType">
    				<MTU>1522</MTU>
    				<VCID>122</VCID>
    			</ServiceParameters>
    			<Reference>
    				<ServiceOrder key="5603701"
    					href="/api/space/nsas/eline-ptp/service-management/service-orders/5603701"
    					uri="/api/space/nsas/eline-ptp/service-management/service-orders/5603701" />
    				<ServiceDefinition>
    					<ServiceDefinitionID key="5603687"
    						href="/api/space/nsas/eline-ptp/service-management/service-definitions/5603687"
    						uri="/api/space/nsas/eline-ptp/service-management/service-definitions/5603687" />
    				</ServiceDefinition>
    				<Customer key="426088"
    					href="/api/space/nsas/customer-management/customers/426088" uri="/api/space/nsas/customer-management/customers/426088" />
    			</Reference>
    		</Service>
    	</ServiceResource>
    </Data>
     
     
    

    Modify a P2P Service Associated with a Service Template

    This request is used to modify a P2P service that contains a service template.

    URI

    api/space/nsas/eline-ptp/service-management/
    services/{service-Id}

    HTTP Method

    POST

    Content-Type

    application/vnd.net.juniper.space.service-
    management.modify-service+xml;version=2;charset=UTF-8

    Consumes

    application/vnd.net.juniper.space.service-management.
    service-status+xml;version=2

    Produces

    Modifies a P2P service that contains a service template.

    Input

    Sample XML Input

    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    	<ServiceResource>
    		<ServiceOrder>
    			<Common>
    				<Name>P2P001_MODIFY</Name>
    			</Common>
    			<ServiceType>Point-to-Point Pseudowire</ServiceType>
    			<Signaling>LDP</Signaling>
    			<Action>Provisioning</Action>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA>
    						<DeviceName>exora</DeviceName>
    						<DeviceID>5537806</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-0/1/1</InterfaceName>
    					<ServiceEndpointConfiguration
    						xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPElineLDPEndPointConfigParameterOrderType">
    						<MTU>1527</MTU>
    					</ServiceEndpointConfiguration>
    					<ServiceTemplates>
    						<ServiceTemplate>
    							<ID>32826</ID>
    							<ConfigParams>
    								<Name>Description</Name>
    								<Value>Testing description Modify</Value>
    								<Decommission>false</Decommission>
    								<SvcSpecificValue>false</SvcSpecificValue>
    								<ConfigPageName>cp1</ConfigPageName>
    							</ConfigParams>
    						</ServiceTemplate>
    						<ServiceTemplate>
    							<ID>2457649</ID>
    							<ConfigParams>
    								<Name>Description</Name>
    								<Value>TESTING 2ND DESC Modify</Value>
    								<Decommission>false</Decommission>
    								<SvcSpecificValue>false</SvcSpecificValue>
    								<ConfigPageName>cp1</ConfigPageName>
    							</ConfigParams>
    						</ServiceTemplate>
    					</ServiceTemplates>
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA>
    						<DeviceName>jaipur</DeviceName>
    						<DeviceID>5537816</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-0/1/1</InterfaceName>
    					<ServiceEndpointConfiguration
    						xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPElineLDPEndPointConfigParameterOrderType">
    						<MTU>1526</MTU>
    					</ServiceEndpointConfiguration>
    					<ServiceTemplates>
    						<ServiceTemplate>
    							<ID>32826</ID>
    							<ConfigParams>
    								<Name>Description</Name>
    								<Value>Testing description Modify1</Value>
    								<Decommission>false</Decommission>
    								<SvcSpecificValue>false</SvcSpecificValue>
    								<ConfigPageName>cp1</ConfigPageName>
    							</ConfigParams>
    						</ServiceTemplate>
    						<ServiceTemplate>
    							<ID>2457649</ID>
    							<ConfigParams>
    								<Name>Description</Name>
    								<Value>TESTING 2ND DESC Modify2</Value>
    								<Decommission>false</Decommission>
    								<SvcSpecificValue>false</SvcSpecificValue>
    								<ConfigPageName>cp1</ConfigPageName>
    							</ConfigParams>
    						</ServiceTemplate>
    					</ServiceTemplates>
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			</ServiceOrder>
    	</ServiceResource>
    </Data>
     
    

    Modified: 2016-05-26