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

    Point-to-Point LDP Service Orders Management RESTful Web Services

    The following operations can be performed using the Connectivity Services Director Point-to-Point LDP Service Orders Management RESTful Web Services.

    Get All E-LINE LDP Service Orders

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

    URI

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

    HTTP Method

    GET

    Consumes

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

    Produces

    Collects all the configured E-LINE LDP service orders.

    Output

    Sample XML Output

    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    <ServiceResource size="3">
    	<ServiceOrder href="/api/space/nsas/eline-ptp/service-management/service-orders/4161536" uri="/api/space/nsas/eline-ptp/service-management/service-orders/4161536"
    	key="4161536">
    		<Common>
    			<Name>Eline_tes02_6</Name>
    			<Identity>4161536</Identity>
    			<State>Invalid</State>
    			<CreatedDate>2012-07-18T17:52:32.000+05:30</CreatedDate>
    			<LastUpdatedDate>2012-07-18T17:52:32.000+05:30</LastUpdatedDate>
    			<CreatedBy>super</CreatedBy>
    		</Common>
    		<ServiceType> Point-to-Point Pseudowire (LDP)</ServiceType>
    		<Action>Provisioning</Action>
    		<Reference>
    		<Customer key="327680"href="/api/space/nsas/customer-management/customers/327680" uri="/api/space/nsas/customermanagement/customers/327680" />
    		<ServiceDefinition>
    			<ServiceDefinitionID key="1179660" href="/api/space/nsas/eline-ptp/service-management/service-orders/1179660" uri="/api/space/nsas/eline-ptp/service-management/service-orders/1179660" />
    		</ServiceDefinition>
    		</Reference>
    	</ServiceOrder>
    	<ServiceOrder href="/api/space/nsas/eline-ptp/service-management/service-orders/3866624" uri="/api/space/nsas/eline-ptp/service-management/service-orders/3866624"
    		key="3866624">
    		<Common>
    			<Name>Eline_audit_2012-07-17 15:43:28.54</Name>
    			<Identity>3866624</Identity>
    			<State>Completed</State>
    			<Comments>Audit Eline2012-07-17 15:43:28.54</Comments>
    			<CreatedDate>2012-07-17T15:43:28.000+05:30</CreatedDate>
    			<LastUpdatedDate>2012-07-17T15:43:28.000+05:30</LastUpdatedDate>
    			<CreatedBy>super</CreatedBy>
    		</Common>
    		<ServiceType> Point-to-Point Pseudowire (LDP)</ServiceType>
    		<Action>Provisioning</Action>
    		<Reference>
    		<Customer key="327680" href="/api/space/nsas/customer-management/customers/327680" uri="/api/space/nsas/customermanagement/customers/327680" />
    		<ServiceDefinition>
    			<ServiceDefinitionID key="1179648" href="/api/space/nsas/eline-ptp/service-management/service-orders/1179648" uri="/api/space/nsas/eline-ptp/service-management/service-orders/1179648" />
    		</ServiceDefinition>
    		<Service key="1179679" href="/api/space/nsas/eline-ptp/service-management/services/1179679" uri="/api/space/nsas/eline-ptp/service-management/services/1179679" />
    		</Reference>
    	</ServiceOrder>
    	<ServiceOrder href="/api/space/nsas/eline-ptp/service-management/service-orders/1474567" uri="/api/space/nsas/eline-ptp/service-management/service-orders/1474567"
    		key="1474567">
    		<Common>
    			<Name>Eline_tes02_2</Name>
    			<Identity>1474567</Identity>
    			<State>Invalid</State>
    			<CreatedDate>2012-07-03T20:16:32.000+05:30</CreatedDate>
    			<LastUpdatedDate>2012-07-03T20:16:32.000+05:30</LastUpdatedDate>
    			<CreatedBy>super</CreatedBy>
    		</Common>
    		<ServiceType> Point-to-Point Pseudowire (LDP)</ServiceType>
    		<Action>Provisioning</Action>
    		<Reference>
    		<Customer key="327680" href="/api/space/nsas/customer-management/customers/327680" uri="/api/space/nsas/customermanagement/customers/327680" />
    		<ServiceDefinition>
    			<ServiceDefinitionID key="1179660" href="/api/space/nsas/eline-ptp/service-management/service-orders/1179660" uri="/api/space/nsas/eline-ptp/service-management/service-orders/1179660" />
    		</ServiceDefinition>
    		</Reference>
    	</ServiceOrder>
    </ServiceResource>
    </Data>

    Get All E-LINE P2P Service Orders By Customer ID or Name

    This request is used to retrieve all the configured Layer 2 Ethernet Private Line (EPL, also called E-LINE) P2P service orders based on customer name or customer ID.

    URI

    api/space/nsas/eline-ptp/service-management/
    service-orders?customerId=1015808

    api/space/nsas/eline-ptp/service-management/
    service-orders?customerName=Customer_001

    HTTP Method

    GET

    Consumes

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

    Produces

    Collects all the configured E-LINE LDP service orders based on the customer name or ID.

    Output

    Sample XML Output

    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    <ServiceResource size="2">
    	<ServiceOrder href="/api/space/nsas/eline-ptp/service-management/service-orders/4161536" uri="/api/space/nsas/eline-ptp/service-management/service-orders/4161536"
    	key="4161536">
    		<Common>
    			<Name>Eline_tes02_6</Name>
    			<Identity>4161536</Identity>
    			<State>Invalid</State>
    			<CreatedDate>2012-07-18T17:52:32.000+05:30</CreatedDate>
    			<LastUpdatedDate>2012-07-18T17:52:32.000+05:30</LastUpdatedDate>
    			<CreatedBy>super</CreatedBy>
    		</Common>
    		<ServiceType> Point-to-Point Pseudowire (LDP)</ServiceType>
    		<Action>Provisioning</Action>
    		<Reference>
    		<Customer key="327680"href="/api/space/nsas/customer-management/customers/327680" uri="/api/space/nsas/customermanagement/customers/327680" />
    		<ServiceDefinition>
    			<ServiceDefinitionID key="1179660" href="/api/space/nsas/eline-ptp/service-management/service-orders/1179660" uri="/api/space/nsas/eline-ptp/service-management/service-orders/1179660" />
    		</ServiceDefinition>
    		</Reference>
    	</ServiceOrder>
    	
    	<ServiceOrder href="/api/space/nsas/eline-ptp/service-management/service-orders/1474567" uri="/api/space/nsas/eline-ptp/service-management/service-orders/1474567"
    		key="1474567">
    		<Common>
    			<Name>Eline_tes02_2</Name>
    			<Identity>1474567</Identity>
    			<State>Invalid</State>
    			<CreatedDate>2012-07-03T20:16:32.000+05:30</CreatedDate>
    			<LastUpdatedDate>2012-07-03T20:16:32.000+05:30</LastUpdatedDate>
    			<CreatedBy>super</CreatedBy>
    		</Common>
    		<ServiceType> Point-to-Point Pseudowire (LDP)</ServiceType>
    		<Action>Provisioning</Action>
    		<Reference>
    		<Customer key="327680" href="/api/space/nsas/customer-management/customers/327680" uri="/api/space/nsas/customermanagement/customers/327680" />
    		<ServiceDefinition>
    			<ServiceDefinitionID key="1179660" href="/api/space/nsas/eline-ptp/service-management/service-orders/1179660" uri="/api/space/nsas/eline-ptp/service-management/service-orders/1179660" />
    		</ServiceDefinition>
    		</Reference>
    	</ServiceOrder>
    </ServiceResource>
    </Data>

    Get All E-LINE P2P Service Orders with Pagination, Search, and Filter

    This request is used to retrieve all the configured Layer 2 Ethernet Private Line (EPL, also called E-LINE) P2P service orders with pagination, and to filter the results based on the search criteria

    URI

    api/space/nsas/eline-ptp/service-management/service-orders
    ?sortorder=desc&sortedby=Name&filteredby="Name::Eline_t"

    HTTP Method

    GET

    Consumes

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

    Produces

    Collects all the configured E-LINE LDP service orders with pagination applied, and with a filtered result-set that matches the search criteria

    Note: For service orders, you can sort with “sortedby=CreatedDate” and “sortedby=State”.

    For Start and Limit attributes, you can provide integer values based on your requirement to sort and filter the API output. Sortorder can be “asc” and “desc”. The SortedBy attribute differs based on the APIs. For service orders, the SortedBy option can be “CtreatedDate”, “State”. For services, the SortedBy option can be “Name”, “LastModifiedDate”. The FilteredBy attribute differs based on the APIs. For service orders, the FilteredBy option can be “Name” and “State”. For services, the FilteredBy option can be “Name”.

    If you enter “paging=(starteq 2, limit eq 3)”, which is not a single integer value, the display is according to index of records. In this case, it shows from the first indexed record to the third indexed record. If you enter "start=2&limit=3", it starts from the second record and displays the next three records in all.

    You can specify multiple key:value pairs with the FilteredBy attribute. For example, to get service orders, you can use Get ServiceOrders with Name and State as “filteredby=Name::L3VPN@@State::Invalid”. Similarly, to get service orders, you can use with Name OR state “filteredby=Name::L3VPN!! State::Invalid”.

    Output

    Sample XML Output

    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    <ServiceResource size="1">
    <ServiceOrder
    href="/api/space/nsas/eline-ptp/service-management/service-orders/1671168"
    uri="/api/space/nsas/eline-ptp/service-management/service-orders/1671168"
    key="1671168">
    <Common>
    <Name>Eline_TDM_008</Name>
    <Identity>1671168</Identity>
    <State>Completed</State>
    <Comments>TDM service order</Comments>
    <CreatedDate>2012-08-13T17:24:50.000+05:30</CreatedDate>
    <LastUpdatedDate>2012-08-13T17:25:10.000+05:30</LastUpdatedDate>
    <CreatedBy>super</CreatedBy>
    </Common>
    <ServiceType>Point-to-Point Pseudowire (LDP)</ServiceType>
    <Action>Provisioning</Action>
    <Reference>
    <Customer key="1015808"
    href="/api/space/nsas/customer-management/customers/1015808" uri="/api/space/nsas/customermanagement/
    customers/1015808" />
    <ServiceDefinition>
    <ServiceDefinitionID key="262279"
    href="/api/space/nsas/eline-ptp/service-management/service-definitions/262279"
    uri="/api/space/nsas/eline-ptp/service-management/service-definitions/262279" />
    </ServiceDefinition>
    <Service key="1671189"
    href="/api/space/nsas/eline-ptp/service-management/services/1671189"
    uri="/api/space/nsas/eline-ptp/service-management/services/1671189" />
    </Reference>
    </ServiceOrder>
    </ServiceResource>
    </Data>
     
    

    Sample XML Output

    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    <ServiceResource size="2">
    	<ServiceOrder href="/api/space/nsas/eline-ptp/service-management/service-orders/4161536" uri="/api/space/nsas/eline-ptp/service-management/service-orders/4161536"
    	key="4161536">
    		<Common>
    			<Name>Eline_tes02_6</Name>
    			<Identity>4161536</Identity>
    			<State>Invalid</State>
    			<CreatedDate>2012-07-18T17:52:32.000+05:30</CreatedDate>
    			<LastUpdatedDate>2012-07-18T17:52:32.000+05:30</LastUpdatedDate>
    			<CreatedBy>super</CreatedBy>
    		</Common>
    		<ServiceType> Point-to-Point Pseudowire (LDP)</ServiceType>
    		<Action>Provisioning</Action>
    		<Reference>
    		<Customer key="327680"href="/api/space/nsas/customer-management/customers/327680" uri="/api/space/nsas/customermanagement/customers/327680" />
    		<ServiceDefinition>
    			<ServiceDefinitionID key="1179660" href="/api/space/nsas/eline-ptp/service-management/service-definitions/1179660" uri="/api/space/nsas/eline-ptp/service-management/service-definitions/1179660" />
    		</ServiceDefinition>
    		</Reference>
    	</ServiceOrder>
    	
    	<ServiceOrder href="/api/space/nsas/eline-ptp/service-management/service-orders/1474567" uri="/api/space/nsas/eline-ptp/service-management/service-orders/1474567"
    		key="1474567">
    		<Common>
    			<Name>Eline_tes02_2</Name>
    			<Identity>1474567</Identity>
    			<State>Invalid</State>
    			<CreatedDate>2012-07-03T20:16:32.000+05:30</CreatedDate>
    			<LastUpdatedDate>2012-07-03T20:16:32.000+05:30</LastUpdatedDate>
    			<CreatedBy>super</CreatedBy>
    		</Common>
    		<ServiceType> Point-to-Point Pseudowire (LDP)</ServiceType>
    		<Action>Provisioning</Action>
    		<Reference>
    		<Customer key="327680" href="/api/space/nsas/customer-management/customers/327680" uri="/api/space/nsas/customermanagement/customers/327680" />
    		<ServiceDefinition>
    			<ServiceDefinitionID key="1179660" href="/api/space/nsas/eline-ptp/service-management/service-definitions/1179660" uri="/api/space/nsas/eline-ptp/service-management/service-definitions/1179660" />
    		</ServiceDefinition>
    		</Reference>
    	</ServiceOrder>
    </ServiceResource>
    </Data>

    Get an E-LINE LDP Service Order By Order ID

    This request is used to retrieve the details of a particular Layer 2 Ethernet Private Line (EPL, also called E-LINE) LDP service order based on the service order ID.

    URI

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

    HTTP Method

    GET

    Consumes

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

    Produces

    Collects the details of a specific E-LINE LDP service order.

    Output

    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/393820" uri="/api/space/nsas/eline-ptp/service-management/service-orders/393820" key="393820">
        <Common>
        <Name>LDPSO02</Name>
        <Identity>393820</Identity>
        <State>Completed</State>
        <Comments>fddg</Comments>
        <CreatedDate>2014-03-13T11:38:39.000+05:30</CreatedDate>
        <LastUpdatedDate>2014-03-13T11:40:13.000+05:30</LastUpdatedDate>
        <CreatedBy>super</CreatedBy>
        </Common>
        <ServiceType>Point-to-Point Pseudowire</ServiceType>
        <Signaling>LDP</Signaling>
        <Action>Provisioning</Action>
        <ServiceEndPointGroup>
        <DeviceInfo>
        <NA href="/api/space/nsas/device-roles/pe-devices/589994" uri="/api/space/nsas/device-roles/pe-devices/589994" key="589994">
        <DeviceName>embassy</DeviceName>
        <DeviceID>589994</DeviceID>
        </NA>
        </DeviceInfo>
        <ServiceEndPoint>
        <InterfaceName>ge-1/1/3</InterfaceName>
        <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPElineLDPEndPointConfigParameterOrderType">
        <PEDevLoopBackIP>50.1.2.4</PEDevLoopBackIP>
        <EndPointCategory>PTP</EndPointCategory>
        <TrafficType>Transport using port</TrafficType>
        <PhysicalEncapsulation>ethernet-ccc</PhysicalEncapsulation>
        <UNIDescription>efrf</UNIDescription>
        <VlanId>0</VlanId>
        <MTU>1522</MTU>
        <Bandwidth unit="Mbps">10</Bandwidth>
        </ServiceEndpointConfiguration>
        <ServiceTemplates/>
        </ServiceEndPoint>
        </ServiceEndPointGroup>
        <ServiceEndPointGroup>
        <DeviceInfo>
        <NA href="/api/space/nsas/device-roles/pe-devices/590023" uri="/api/space/nsas/device-roles/pe-devices/590023" key="590023">
        <DeviceName>junos-space5</DeviceName>
        <DeviceID>590023</DeviceID>
        </NA>
        </DeviceInfo>
        <ServiceEndPoint>
        <InterfaceName>ge-0/2/0</InterfaceName>
        <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPElineLDPEndPointConfigParameterOrderType">
        <PEDevLoopBackIP>30.1.2.11</PEDevLoopBackIP>
        <EndPointCategory>PTP</EndPointCategory>
        <TrafficType>Transport using port</TrafficType>
        <PhysicalEncapsulation>ethernet-ccc</PhysicalEncapsulation>
        <UNIDescription>ertertre</UNIDescription>
        <VlanId>0</VlanId>
        <MTU>1522</MTU>
        <Bandwidth unit="Mbps">10</Bandwidth>
        </ServiceEndpointConfiguration>
        <ServiceTemplates/>
        </ServiceEndPoint>
        </ServiceEndPointGroup>
        <ServiceOrderParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPConfigParameterOrderType">
        <MTU>1522</MTU>
        <VCID>2147467278</VCID>
        <VlanNormalization>Normalization not required</VlanNormalization>
        </ServiceOrderParameter>
        <Reference>
        <Customer key="590085" href="/api/space/nsas/customer-management/customers/590085" uri="/api/space/nsas/customer-management/customers/590085"/>
        <ServiceDefinition>
        <ServiceDefinitionID key="393781" href="/api/space/nsas/eline-ptp/service-management/service-orders/393781" uri="/api/space/nsas/eline-ptp/service-management/service-orders/393781"/>
        </ServiceDefinition>
        <Service key="393829" href="/api/space/nsas/eline-ptp/service-management/services/393829" uri="/api/space/nsas/eline-ptp/service-management/services/393829"/>
        </Reference>
        </ServiceOrder>
        </ServiceResource>
        </Data>
    				
    
    	

    Get a P2P LDP Service Order By Order ID

    This request is used to retrieve the details of a particular P2P LDP service order based on the service order ID.

    URI

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

    HTTP Method

    GET

    Consumes

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

    Produces

    Collects the details of a specific P2P LDP service order.

    Output

    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/9371658"
    			uri="/api/space/nsas/eline-ptp/service-management/service-orders/9371658"
    			key="9371658">
    			<Common>
    				<Name>PTP_LDP_REDUNDANCY_API</Name>
    				<Identity>9371658</Identity>
    				<State>Invalid</State>
    				<CreatedDate>2013-01-17T12:15:13.000+05:30</CreatedDate>
    				<LastUpdatedDate>2013-01-17T12:15:13.000+05:30</LastUpdatedDate>
    				<CreatedBy>super</CreatedBy>
    			</Common>
    			<ServiceType>Point-to-Point Pseudowire</ServiceType>
    			<Signaling>LDP</Signaling>
    			<Action>Provisioning</Action>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA href="/api/space/nsas/device-roles/pe-devices/5341207" uri="/api/space/nsas/device-roles/pe-devices/5341207"
    						key="5341207">
    						<DeviceName>junos-m10-1-space</DeviceName>
    						<DeviceID>5341207</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-1/3/3</InterfaceName>
    					<ServiceEndpointConfiguration
    						xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPElineLDPEndPointConfigParameterOrderType">
    						<EndPointCategory>PTP</EndPointCategory>
    						<TrafficType>Transport using port</TrafficType>
    						<PhysicalEncapsulation>ethernet-ccc</PhysicalEncapsulation>
    						<UNIDescription>N/A</UNIDescription>
    						<VlanId>0</VlanId>
    						<MTU>1522</MTU>
    						<Bandwidth unit="Mbps">10</Bandwidth>
    					</ServiceEndpointConfiguration>
    					<ServiceTemplates />
    				</ServiceEndPoint>
    				<BackUpSettings>
    					<Enable>true</Enable>
    					<DeviceInfo>
    						<NA href="/api/space/nsas/device-roles/pe-devices/5341242" uri="/api/space/nsas/device-roles/pe-devices/5341242"
    							key="5341242">
    							<DeviceName>junos-mx480-space</DeviceName>
    							<DeviceID>5341242</DeviceID>
    						</NA>
    					</DeviceInfo>
    					<ServiceEndPoint>
    						<InterfaceName>ge-5/0/3</InterfaceName>
    						<ServiceEndpointConfiguration
    							xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPElineLDPEndPointConfigParameterOrderType">
    							<EndPointCategory>PTP</EndPointCategory>
    							<MTU>1522</MTU>
    							<Bandwidth unit="Mbps">10</Bandwidth>
    							<RevertTime>55</RevertTime>
    							<SwitchOverDelay>11</SwitchOverDelay>
    						</ServiceEndpointConfiguration>
    					</ServiceEndPoint>
    				</BackUpSettings>
    			</ServiceEndPointGroup>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA href="/api/space/nsas/device-roles/pe-devices/5341288" uri="/api/space/nsas/device-roles/pe-devices/5341288"
    						key="5341288">
    						<DeviceName>junos-mx240-space</DeviceName>
    						<DeviceID>5341288</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-0/2/7</InterfaceName>
    					<ServiceEndpointConfiguration
    						xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPElineLDPEndPointConfigParameterOrderType">
    						<EndPointCategory>PTP</EndPointCategory>
    						<TrafficType>Transport using port</TrafficType>
    						<PhysicalEncapsulation>ethernet-ccc</PhysicalEncapsulation>
    						<UNIDescription>N/A</UNIDescription>
    						<VlanId>0</VlanId>
    						<MTU>1522</MTU>
    						<Bandwidth unit="Mbps">10</Bandwidth>
    					</ServiceEndpointConfiguration>
    					<ServiceTemplates />
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<ServiceOrderParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    				xsi:type="PTPConfigParameterOrderType">
    				<MTU>9191</MTU>
    				<VCID>2147467369</VCID>
    			</ServiceOrderParameter>
    			<Reference>
    				<Customer key="819263"
    					href="/api/space/nsas/customer-management/customers/819263" uri="/api/space/nsas/customer-management/customers/819263" />
    				<ServiceDefinition>
    					<ServiceDefinitionID key="4882432"
    						href="/api/space/nsas/eline-ptp/service-management/service-definitions/4882432"
    						uri="/api/space/nsas/eline-ptp/service-management/service-definitions/4882432" />
    				</ServiceDefinition>
    			</Reference>
    		</ServiceOrder>
    	</ServiceResource>
    </Data>
     
     
    

    Get a P2P LDP Service Order with Tag Protocol ID By Order ID

    This request is used to retrieve the details of a particular P2P LDP service order with tag protocol configured based on the service order ID.

    URI

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

    HTTP Method

    GET

    Consumes

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

    Produces

    Collects the details of a specific P2P LDP service order with tag protocol ID.

    Output

    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/7372820"
    			uri="/api/space/nsas/eline-ptp/service-management/service-orders/7372820"
    			key="7372820">
    			<Common>
    				<Name>TPID_P2P_LDP_SO</Name>
    				<Identity>7372820</Identity>
    				<State>Failed_Deployed</State>
    				<CreatedDate>2012-12-26T12:12:33.000+05:30</CreatedDate>
    				<LastUpdatedDate>2012-12-26T12:12:55.000+05:30</LastUpdatedDate>
    				<CreatedBy>super</CreatedBy>
    			</Common>
    			<ServiceType>Point-to-Point Pseudowire</ServiceType>
    			<Signaling>LDP</Signaling>
    			<Action>Provisioning</Action>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA href="/api/space/nsas/device-roles/pe-devices/3997766" uri="/api/space/nsas/device-roles/pe-devices/3997766"	key="3997766">
    						<DeviceName>embassy</DeviceName>
    						<DeviceID>3997766</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-1/0/5</InterfaceName>
    					<ServiceEndpointConfiguration
    						xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPElineLDPEndPointConfigParameterOrderType">
    						<EndPointCategory>PTP</EndPointCategory>
    						<TrafficType>QINQ Transport single vlan</TrafficType>
    						<PhysicalEncapsulation>extended-vlan-ccc</PhysicalEncapsulation>
    						<LogicalEncapsulation>extended-vlan-ccc</LogicalEncapsulation>
    						<UNIDescription>N/A</UNIDescription>
    						<OuterTPID>0x88a8</OuterTPID>
    						<InnerTPID>0x8100</InnerTPID>
    						<VlanId>1500</VlanId>
    						<CustomerVlanId>1900</CustomerVlanId>
    						<MTU>1522</MTU>
    						<Bandwidth unit="Kbps">0</Bandwidth>
    					</ServiceEndpointConfiguration>
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA href="/api/space/nsas/device-roles/pe-devices/3997755" uri="/api/space/nsas/device-roles/pe-devices/3997755"
    						key="3997755">
    						<DeviceName>jaipur</DeviceName>
    						<DeviceID>3997755</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-0/1/1</InterfaceName>
    					<ServiceEndpointConfiguration
    						xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPElineLDPEndPointConfigParameterOrderType">
    						<EndPointCategory>PTP</EndPointCategory>
    						<TrafficType>QINQ Transport single vlan</TrafficType>
    						<PhysicalEncapsulation>extended-vlan-ccc</PhysicalEncapsulation>
    						<LogicalEncapsulation>extended-vlan-ccc</LogicalEncapsulation>
    						<UNIDescription>N/A</UNIDescription>
    						<OuterTPID>0x88a8</OuterTPID>
    						<InnerTPID>0x8100</InnerTPID>
    						<VlanId>1500</VlanId>
    						<CustomerVlanId>1900</CustomerVlanId>
    						<MTU>1522</MTU>
    						<Bandwidth unit="Kbps">0</Bandwidth>
    					</ServiceEndpointConfiguration>
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<ServiceOrderParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    				xsi:type="PTPConfigParameterOrderType">
    				<MTU>1522</MTU>
    				<VCID>1640</VCID>
    			</ServiceOrderParameter>
    			<Reference>
    				<Customer key="884834"
    					href="/api/space/nsas/customer-management/customers/884834" uri="/api/space/nsas/customer-management/customers/884834" />
    				<ServiceDefinition>
    					<ServiceDefinitionID key="7372800"
    						href="/api/space/nsas/service-management/service-definitions/7372800"
    						uri="/api/space/nsas/service-management/service-definitions/7372800" />
    				</ServiceDefinition>
    			</Reference>
    		</ServiceOrder>
    	</ServiceResource>
    </Data>
    
    
    

    Get E-LINE LDP Service Order Details for Multi-Segment Pseudowires By Order ID

    This request is used to retrieve the details of a particular Layer 2 Ethernet Private Line (EPL, also called E-LINE) LDP service order with a multi-segment pseudowire based on the service order ID.

    URI

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

    HTTP Method

    GET

    Consumes

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

    Produces

    Collects the details of a specific E-LINE LDP service order with a multi-segment pseudowire.

    Output

    Sample XML Output

        <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
        <Data xmlns="services.schema.networkapi.jmp.juniper.net">
        <ServiceResource>
        <ServiceOrder key="393565" uri="/api/space/nsas/eline-ptp/service-management/service-orders/393565" href="/api/space/nsas/eline-ptp/service-management/service-orders/393565">
        <Common>
        <Name>P2P_LDP_Multiseg_SO</Name>
        <Identity>393565</Identity>
        <State>Completed</State>
        <Comments>dsfdsf</Comments>
        <CreatedDate>2014-10-15T12:04:31.000+05:30</CreatedDate>
        <LastUpdatedDate>2014-10-15T12:04:55.000+05:30</LastUpdatedDate>
        <CreatedBy>super</CreatedBy>
        </Common>
        <ServiceType>Point-to-Point Pseudowire</ServiceType>
        <Signaling>LDP</Signaling>
        <Action>Provisioning</Action>
        <ServiceEndPointGroup>
        <DeviceInfo>
        <NA key="524351" uri="/api/space/nsas/device-roles/pe-devices/524351" href="/api/space/nsas/device-roles/pe-devices/524351">
        <DeviceName>embassy</DeviceName>
        <DeviceID>524351</DeviceID>
        </NA>
        </DeviceInfo>
        <ServiceEndPoint>
        <InterfaceName>xe-0/0/1</InterfaceName>
        <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPElineLDPEndPointConfigParameterOrderType">
        <PEDevLoopBackIP>50.1.2.4</PEDevLoopBackIP>
        <EndPointCategory>PTP</EndPointCategory>
        <TrafficType>Transport using port</TrafficType>
        <PhysicalEncapsulation>ethernet-ccc</PhysicalEncapsulation>
        <UNIDescription>safsdfsdf</UNIDescription>
        <VlanId>0</VlanId>
        <MTU>1522</MTU>
        <Bandwidth unit="Mbps">10</Bandwidth>
        </ServiceEndpointConfiguration>
        <ServiceTemplates/>
        </ServiceEndPoint>
        </ServiceEndPointGroup>
        <ServiceEndPointGroup>
        <DeviceInfo>
        <NA key="525406" uri="/api/space/nsas/device-roles/pe-devices/525406" href="/api/space/nsas/device-roles/pe-devices/525406">
        <DeviceName>junos-space3</DeviceName>
        <DeviceID>525406</DeviceID>
        </NA>
        </DeviceInfo>
        <ServiceEndPoint>
        <InterfaceName>iw0</InterfaceName>
        <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPElineLDPEndPointConfigParameterOrderType">
        <PEDevLoopBackIP>30.1.2.9</PEDevLoopBackIP>
        <EndPointCategory>PTP</EndPointCategory>
        <TrafficType>Transport using port</TrafficType>
        <PhysicalEncapsulation>ethernet-ccc</PhysicalEncapsulation>
        <StitchingUnit>10</StitchingUnit>
        <UNIDescription>sdfdsf</UNIDescription>
        <VlanId>0</VlanId>
        <MTU>1522</MTU>
        <Bandwidth unit="Mbps">10</Bandwidth>
        </ServiceEndpointConfiguration>
        <ServiceTemplates/>
        </ServiceEndPoint>
        </ServiceEndPointGroup>
        <ServiceOrderParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPConfigParameterOrderType">
        <MTU>1522</MTU>
        <VCID>2147467278</VCID>
        <VlanNormalization>Normalization not required</VlanNormalization>
        <MTUFactor>10</MTUFactor>
        </ServiceOrderParameter>
        <Reference>
        <Customer uri="/api/space/nsas/customer-management/customers/525426" href="/api/space/nsas/customer-management/customers/525426" key="525426"/>
        <ServiceDefinition>
        <ServiceDefinitionID uri="/api/space/nsas/eline-ptp/service-management/service-orders/393544" href="/api/space/nsas/eline-ptp/service-management/service-orders/393544" key="393544"/>
        </ServiceDefinition>
        <Service uri="/api/space/nsas/eline-ptp/service-management/services/393574" href="/api/space/nsas/eline-ptp/service-management/services/393574" key="393574"/>
        </Reference>
        </ServiceOrder>
        </ServiceResource>
        </Data>
    		
    
    	

    Get E-LINE LDP Service Order Details for Static Pseudowires By Order ID

    This request is used to retrieve the details of a particular Layer 2 Ethernet Private Line (EPL, also called E-LINE) LDP service order with a static pseudowire based on the service order ID.

    URI

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

    HTTP Method

    GET

    Consumes

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

    Produces

    Collects the details of a specific E-LINE LDP service order with a static pseudowire.

    Output

    Sample XML Output

       	    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
        <Data xmlns="services.schema.networkapi.jmp.juniper.net">
        <ServiceResource>
        <ServiceOrder key="393639" uri="/api/space/nsas/eline-ptp/service-management/service-orders/393639" href="/api/space/nsas/eline-ptp/service-management/service-orders/393639">
        <Common>
                <Name>P2P_LDP_E_SPW_SO_API_01</Name>
                <Identity>393639</Identity>
                <State>Completed</State>
                <Comments>fdgdfgdf</Comments>
               <CreatedDate>2014-09-18T12:55:22.000+05:30</CreatedDate>
                <LastUpdatedDate>2014-09-18T12:55:25.000+05:30</LastUpdatedDate>
                <CreatedBy>super</CreatedBy>
        </Common>
        <ServiceType>Point-to-Point Pseudowire</ServiceType>
        <Signaling>LDP</Signaling>
        <Action>Provisioning</Action>
        <ServiceEndPointGroup>
        <DeviceInfo>
        <NA key="524440" uri="/api/space/nsas/device-roles/pe-devices/524440" href="/api/space/nsas/device-roles/pe-devices/524440">
               <DeviceName>embassy</DeviceName>
               <DeviceID>524440</DeviceID>
        </NA>
        </DeviceInfo>
        <ServiceEndPoint>
        <InterfaceName>ge-1/0/7</InterfaceName>
        <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPElineLDPEndPointConfigParameterOrderType">
        <PEDevLoopBackIP>50.1.2.4</PEDevLoopBackIP>
        <EndPointCategory>PTP</EndPointCategory>
        <TrafficType>QINQ Transport single vlan</TrafficType>
        <PhysicalEncapsulation>vlan-ccc</PhysicalEncapsulation>
        <LogicalEncapsulation>vlan-ccc</LogicalEncapsulation>
        <UNIDescription>hgfh</UNIDescription>
        <OuterTPID>None</OuterTPID>
        <InnerTPID>None</InnerTPID>
        <UnitId>514</UnitId>
        <VlanId>514</VlanId>
        <CustomerVlanId>1</CustomerVlanId>
        <MTU>1522</MTU>
        <Bandwidth unit="Kbps">0</Bandwidth>
        <OutgoingLabel>1000000</OutgoingLabel>
        <IncomingLabel>1000000</IncomingLabel>
        </ServiceEndpointConfiguration>
        <ServiceTemplates/>
        </ServiceEndPoint>
        </ServiceEndPointGroup>
        <ServiceEndPointGroup>
        <DeviceInfo>
        <NA key="524296" uri="/api/space/nsas/device-roles/pe-devices/524296" href="/api/space/nsas/device-roles/pe-devices/524296">
                  <DeviceName>junos-mx240-space</DeviceName>
                  <DeviceID>524296</DeviceID>
        </NA>
        </DeviceInfo>
        <ServiceEndPoint>
        <InterfaceName>em0</InterfaceName>
        <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPElineLDPEndPointConfigParameterOrderType">
        <PEDevLoopBackIP>30.1.2.1</PEDevLoopBackIP>
        <EndPointCategory>PTP</EndPointCategory>
        <TrafficType>QINQ Transport single vlan</TrafficType>
        <PhysicalEncapsulation>vlan-ccc</PhysicalEncapsulation>
        <LogicalEncapsulation>vlan-ccc</LogicalEncapsulation>
        <UNIDescription>rtyrtutyu</UNIDescription>
        <OuterTPID>None</OuterTPID>
        <InnerTPID>None</InnerTPID>
        <UnitId>514</UnitId>
        <VlanId>514</VlanId>
        <CustomerVlanId>1</CustomerVlanId>
        <MTU>1522</MTU>
        <Bandwidth unit="Kbps">0</Bandwidth>
        <OutgoingLabel>1000000</OutgoingLabel>
        <IncomingLabel>1000000</IncomingLabel>
        </ServiceEndpointConfiguration>
        <ServiceTemplates/>
        </ServiceEndPoint>
        </ServiceEndPointGroup>
        <ServiceOrderParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPConfigParameterOrderType">
        <MTU>1522</MTU>
        <VCID>2147467269</VCID>
        <VlanNormalization>Normalize to QinQ tags</VlanNormalization>
        <OuterVlanTagToStack>1</OuterVlanTagToStack>
        <InnerVlanTagToStack>1</InnerVlanTagToStack>
        </ServiceOrderParameter>
        <Reference>
        <Customer uri="/api/space/nsas/customer-management/customers/525406" href="/api/space/nsas/customer-management/customers/525406" key="525406"/>
        <ServiceDefinition>
        <ServiceDefinitionID uri="/api/space/nsas/eline-ptp/service-management/service-orders/393589" href="/api/space/nsas/eline-ptp/service-management/service-orders/393589" key="393589"/>
        </ServiceDefinition>
        <Service uri="/api/space/nsas/eline-ptp/service-management/services/393646" href="/api/space/nsas/eline-ptp/service-management/services/393646" key="393646"/>
        </Reference>
        </ServiceOrder>
        </ServiceResource>
        </Data>
    
    
    	

    Get E-LINE LDP Service Order Details with MC-LAG Interfaces By Order ID

    This request is used to retrieve the details of a particular Layer 2 Ethernet Private Line (EPL, also called E-LINE) LDP service order with multichassis link aggregation (MC-LAG) interfaces based on the service order ID.

    URI

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

    HTTP Method

    GET

    Consumes

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

    Produces

    Collects the details of a specific E-LINE LDP service order with MC-LAG interfaces.

    Output

    Sample XML Output

    	     <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
        <Data xmlns="services.schema.networkapi.jmp.juniper.net">
        <ServiceResource>
        <ServiceOrder key="393568" uri="/api/space/nsas/eline-ptp/service-management/service-orders/393568" href="/api/space/nsas/eline-ptp/service-management/service-orders/393568">
        <Common>
        <Name>P2P_LDP_BurstSizeCal_SO</Name>
        <Identity>393568</Identity>
        <State>Completed</State>
        <Comments>erwwer</Comments>
        <CreatedDate>2014-09-26T14:44:31.000+05:30</CreatedDate>
        <LastUpdatedDate>2014-09-26T14:45:32.000+05:30</LastUpdatedDate>
        <CreatedBy>super</CreatedBy>
        </Common>
        <ServiceType>Point-to-Point Pseudowire</ServiceType>
        <Signaling>LDP</Signaling>
        <Action>Provisioning</Action>
        <ServiceEndPointGroup>
        <DeviceInfo>
        <NA key="558232" uri="/api/space/nsas/device-roles/pe-devices/558232" href="/api/space/nsas/device-roles/pe-devices/558232">
        <DeviceName>embassy</DeviceName>
        <DeviceID>558232</DeviceID>
        </NA>
        </DeviceInfo>
        <ServiceEndPoint>
        <InterfaceName>ge-1/1/3</InterfaceName>
        <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPElineLDPEndPointConfigParameterOrderType">
        <PEDevLoopBackIP>50.1.2.4</PEDevLoopBackIP>
        <EndPointCategory>PTP</EndPointCategory>
        <TrafficType>QINQ Transport single vlan</TrafficType>
        <PhysicalEncapsulation>vlan-ccc</PhysicalEncapsulation>
        <LogicalEncapsulation>vlan-ccc</LogicalEncapsulation>
        <UNIDescription>ututy</UNIDescription>
        <OuterTPID>None</OuterTPID>
        <InnerTPID>None</InnerTPID>
        <UnitId>512</UnitId>
        <VlanId>512</VlanId>
        <CustomerVlanId>1</CustomerVlanId>
        <MTU>1522</MTU>
        <Bandwidth unit="Mbps">10</Bandwidth>
        </ServiceEndpointConfiguration>
        <ServiceTemplates/>
        </ServiceEndPoint>
        </ServiceEndPointGroup>
        <ServiceEndPointGroup>
        <DeviceInfo>
        <NA key="557176" uri="/api/space/nsas/device-roles/pe-devices/557176" href="/api/space/nsas/device-roles/pe-devices/557176">
        <DeviceName>junos-mx80-1-space</DeviceName>
        <DeviceID>557176</DeviceID>
        </NA>
        </DeviceInfo>
        <ServiceEndPoint>
        <InterfaceName>ge-1/1/7</InterfaceName>
        <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPElineLDPEndPointConfigParameterOrderType">
        <PEDevLoopBackIP>30.1.2.5</PEDevLoopBackIP>
        <EndPointCategory>PTP</EndPointCategory>
        <TrafficType>QINQ Transport single vlan</TrafficType>
        <PhysicalEncapsulation>vlan-ccc</PhysicalEncapsulation>
        <LogicalEncapsulation>vlan-ccc</LogicalEncapsulation>
        <UNIDescription>wreere</UNIDescription>
        <OuterTPID>None</OuterTPID>
        <InnerTPID>None</InnerTPID>
        <UnitId>512</UnitId>
        <VlanId>512</VlanId>
        <CustomerVlanId>1</CustomerVlanId>
        <MTU>1522</MTU>
        <Bandwidth unit="Mbps">10</Bandwidth>
        </ServiceEndpointConfiguration>
        <ServiceTemplates/>
        </ServiceEndPoint>
        </ServiceEndPointGroup>
        <ServiceOrderParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPConfigParameterOrderType">
        <MTU>1522</MTU>
        <VCID>2147467269</VCID>
        <VlanNormalization>Normalize to QinQ tags</VlanNormalization>
        <OuterVlanTagToStack>1</OuterVlanTagToStack>
        <InnerVlanTagToStack>1</InnerVlanTagToStack>
        <MTUFactor>15</MTUFactor>
        </ServiceOrderParameter>
        <Reference>
        <Customer uri="/api/space/nsas/customer-management/customers/558229" href="/api/space/nsas/customer-management/customers/558229" key="558229"/>
        <ServiceDefinition>
        <ServiceDefinitionID uri="/api/space/nsas/eline-ptp/service-management/service-orders/393544" href="/api/space/nsas/eline-ptp/service-management/service-orders/393544" key="393544"/>
        </ServiceDefinition>
        <Service uri="/api/space/nsas/eline-ptp/service-management/services/393577" href="/api/space/nsas/eline-ptp/service-management/services/393577" key="393577"/>
        </Reference>
        </ServiceOrder>
        </ServiceResource>
        </Data>
    
    	

    Get E-LINE LDP Service Order Details with Burst Size Calculation By Order ID

    This request is used to retrieve the details of a particular Layer 2 Ethernet Private Line (EPL, also called E-LINE) LDP service order with burst size calculation based on the service order ID.

    URI

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

    HTTP Method

    GET

    Consumes

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

    Produces

    Collects the details of a specific E-LINE LDP service order with burst size calculation.

    Output

    Sample XML Output

    		<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    	<ServiceResource>
    		<ServiceOrder key="1540140"
    			uri="/api/space/nsas/eline-ptp/service-management/service-orders/1540140"
    			href="/api/space/nsas/eline-ptp/service-management/service-orders/1540140">
    			<Common>
    				<Name>testMCLag_SO_MDFSO_2014-10-1318-55-35.878</Name>
    				<Identity>1540140</Identity>
    				<State>Completed</State>
    				<CreatedDate>2014-10-13T18:56:18.000+05:30</CreatedDate>
    				<LastUpdatedDate>2014-10-14T19:39:18.000+05:30</LastUpdatedDate>
    				<CreatedBy>super</CreatedBy>
    			</Common>
    			<ServiceType>Point-to-Point Pseudowire</ServiceType>
    			<Signaling>LDP</Signaling>
    			<Action>Provisioning</Action>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA key="1573073" uri="/api/space/nsas/device-roles/pe-devices/1573073"
    						href="/api/space/nsas/device-roles/pe-devices/1573073">
    						<DeviceName>embassy</DeviceName>
    						<DeviceID>1573073</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-1/0/5</InterfaceName>
    					<ServiceEndpointConfiguration
    						xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPElineLDPEndPointConfigParameterOrderType">
    						<PEDevLoopBackIP>50.1.2.4</PEDevLoopBackIP>
    						<EndPointCategory>PTP</EndPointCategory>
    						<TrafficType>DOT1Q Transport single vlan</TrafficType>
    						<PhysicalEncapsulation>extended-vlan-ccc</PhysicalEncapsulation>
    						<LogicalEncapsulation>extended-vlan-ccc</LogicalEncapsulation>
    						<UNIDescription>N/A</UNIDescription>
    						<OuterTPID>None</OuterTPID>
    						<UnitId>1</UnitId>
    						<VlanId>1</VlanId>
    						<MTU>1522</MTU>
    						<Bandwidth unit="Kbps">0</Bandwidth>
    					</ServiceEndpointConfiguration>
    					<ServiceTemplates />
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA key="1572979" uri="/api/space/nsas/device-roles/pe-devices/1572979"
    						href="/api/space/nsas/device-roles/pe-devices/1572979">
    						<DeviceName>junos-mx240-space</DeviceName>
    						<DeviceID>1572979</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-0/3/2</InterfaceName>
    					<ServiceEndpointConfiguration
    						xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPElineLDPEndPointConfigParameterOrderType">
    						<PEDevLoopBackIP>30.1.2.1</PEDevLoopBackIP>
    						<EndPointCategory>PTP</EndPointCategory>
    						<TrafficType>DOT1Q Transport single vlan</TrafficType>
    						<PhysicalEncapsulation>extended-vlan-ccc</PhysicalEncapsulation>
    						<LogicalEncapsulation>extended-vlan-ccc</LogicalEncapsulation>
    						<UNIDescription>N/A</UNIDescription>
    						<OuterTPID>None</OuterTPID>
    						<UnitId>1</UnitId>
    						<VlanId>1</VlanId>
    						<MTU>1522</MTU>
    						<Bandwidth unit="Kbps">0</Bandwidth>
    					</ServiceEndpointConfiguration>
    					<ServiceTemplates />
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<ServiceOrderParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    				xsi:type="PTPConfigParameterOrderType">
    				<MTU>1522</MTU>
    				<VCID>2147467265</VCID>
    				<VlanNormalization>Swap</VlanNormalization>
    				<MTUFactor>10</MTUFactor>
    				<EnableMCLAG>true</EnableMCLAG>
    			</ServiceOrderParameter>
    			<Reference>
    				<Customer uri="/api/space/nsas/customer-management/customers/1573103"
    					href="/api/space/nsas/customer-management/customers/1573103" key="1573103" />
    				<ServiceDefinition>
    					<ServiceDefinitionID
    						uri="/api/space/nsas/eline-ptp/service-management/service-orders/1540096"
    						href="/api/space/nsas/eline-ptp/service-management/service-orders/1540096"
    						key="1540096" />
    				</ServiceDefinition>
    				<Service
    					uri="/api/space/nsas/eline-ptp/service-management/services/1540158"
    					href="/api/space/nsas/eline-ptp/service-management/services/1540158"
    					key="1540158" />
    			</Reference>
    		</ServiceOrder>
    	</ServiceResource>
    </Data>    
    
    				

    Get E-LINE P2P Service Order Details with Normalization Support By Order ID

    This request is used to retrieve the details of a particular Layer 2 Ethernet Private Line (EPL, also called E-LINE) P2P service order configured with normalization of VLANs and logical interface unit-handling, based on the service order ID.

    URI

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

    HTTP Method

    GET

    Consumes

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

    Produces

    Collects the details of a specific E-LINE P2P service order configured with normalization of VLANs and logical unit of interfaces.

    Output (VLAN Normalization: Normalize to Q-in-Q tags)

    Sample XML Output

       <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    	<ServiceResource>
    		<ServiceOrder key="852008"
    			uri="/api/space/nsas/eline-ptp/service-management/service-orders/852008"
    			href="/api/space/nsas/eline-ptp/service-management/service-orders/852008">
    			<Common>
    				<Name>TeestQinQ</Name>
    				<Identity>852008</Identity>
    				<State>Validated</State>
    				<CreatedDate>2014-07-07T18:42:14.000+05:30</CreatedDate>
    				<LastUpdatedDate>2014-07-07T18:42:14.000+05:30</LastUpdatedDate>
    				<CreatedBy>super</CreatedBy>
    			</Common>
    			<ServiceType>Point-to-Point Pseudowire</ServiceType>
    			<Signaling>LDP</Signaling>
    			<Action>Provisioning</Action>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA key="786447" uri="/api/space/nsas/device-roles/pe-devices/786447"
    						href="/api/space/nsas/device-roles/pe-devices/786447">
    						<DeviceName>junos-mx240-space</DeviceName>
    						<DeviceID>786447</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>em0</InterfaceName>
    					<ServiceEndpointConfiguration
    						xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPElineLDPEndPointConfigParameterOrderType">
    						<PEDevLoopBackIP>30.1.2.1</PEDevLoopBackIP>
    						<EndPointCategory>PTP</EndPointCategory>
    						<TrafficType>QINQ Transport all traffic</TrafficType>
    						<PhysicalEncapsulation>vlan-ccc</PhysicalEncapsulation>
    						<LogicalEncapsulation>vlan-ccc</LogicalEncapsulation>
    						<UNIDescription>N/A</UNIDescription>
    						<OuterTPID>None</OuterTPID>
    						<UnitId>512</UnitId>
    						<VlanId>512</VlanId>
    						<MTU>1522</MTU>
    						<Bandwidth unit="Kbps">0</Bandwidth>
    					</ServiceEndpointConfiguration>
    					<ServiceTemplates />
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA key="786493" uri="/api/space/nsas/device-roles/pe-devices/786493"
    						href="/api/space/nsas/device-roles/pe-devices/786493">
    						<DeviceName>kochin</DeviceName>
    						<DeviceID>786493</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>em0</InterfaceName>
    					<ServiceEndpointConfiguration
    						xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPElineLDPEndPointConfigParameterOrderType">
    						<PEDevLoopBackIP>30.1.2.25</PEDevLoopBackIP>
    						<EndPointCategory>PTP</EndPointCategory>
    						<TrafficType>QINQ Transport all traffic</TrafficType>
    						<PhysicalEncapsulation>vlan-ccc</PhysicalEncapsulation>
    						<LogicalEncapsulation>vlan-ccc</LogicalEncapsulation>
    						<UNIDescription>N/A</UNIDescription>
    						<OuterTPID>None</OuterTPID>
    						<UnitId>512</UnitId>
    						<VlanId>512</VlanId>
    						<MTU>1522</MTU>
    						<Bandwidth unit="Kbps">0</Bandwidth>
    					</ServiceEndpointConfiguration>
    					<ServiceTemplates />
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<ServiceOrderParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    				xsi:type="PTPConfigParameterOrderType">
    				<MTU>1522</MTU>
    				<VCID>2147467350</VCID>
    				<VlanNormalization>Normalize to QinQ tags</VlanNormalization>
    				<OuterVlanTagToStack>12</OuterVlanTagToStack>
    				<InnerVlanTagToStack>13</InnerVlanTagToStack>
    			</ServiceOrderParameter>
    			<Reference>
    				<Customer uri="/api/space/nsas/customer-management/customers/557118"
    					href="/api/space/nsas/customer-management/customers/557118" key="557118" />
    				<ServiceDefinition>
    					<ServiceDefinitionID
    						uri="/api/space/nsas/eline-ptp/service-management/service-orders/851977"
    						href="/api/space/nsas/eline-ptp/service-management/service-orders/851977"
    						key="851977" />
    				</ServiceDefinition>
    			</Reference>
    		</ServiceOrder>
    	</ServiceResource>
    </Data>
    
    

    Output (VLAN Normalization: Normalize to dot1Q tags)

    Sample XML Output

      <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    	<ServiceResource>
    		<ServiceOrder key="852048"
    			uri="/api/space/nsas/eline-ptp/service-management/service-orders/852048"
    			href="/api/space/nsas/eline-ptp/service-management/service-orders/852048">
    			<Common>
    				<Name>Dot1QSO</Name>
    				<Identity>852048</Identity>
    				<State>Validated</State>
    				<CreatedDate>2014-07-07T18:54:22.000+05:30</CreatedDate>
    				<LastUpdatedDate>2014-07-07T18:54:22.000+05:30</LastUpdatedDate>
    				<CreatedBy>super</CreatedBy>
    			</Common>
    			<ServiceType>Point-to-Point Pseudowire</ServiceType>
    			<Signaling>LDP</Signaling>
    			<Action>Provisioning</Action>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA key="786447" uri="/api/space/nsas/device-roles/pe-devices/786447"
    						href="/api/space/nsas/device-roles/pe-devices/786447">
    						<DeviceName>junos-mx240-space</DeviceName>
    						<DeviceID>786447</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>em1</InterfaceName>
    					<ServiceEndpointConfiguration
    						xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPElineLDPEndPointConfigParameterOrderType">
    						<PEDevLoopBackIP>30.1.2.1</PEDevLoopBackIP>
    						<EndPointCategory>PTP</EndPointCategory>
    						<TrafficType>DOT1Q Transport single vlan</TrafficType>
    						<PhysicalEncapsulation>vlan-ccc</PhysicalEncapsulation>
    						<LogicalEncapsulation>vlan-ccc</LogicalEncapsulation>
    						<UNIDescription>N/A</UNIDescription>
    						<OuterTPID>None</OuterTPID>
    						<UnitId>512</UnitId>
    						<VlanId>512</VlanId>
    						<MTU>1522</MTU>
    						<Bandwidth unit="Kbps">0</Bandwidth>
    					</ServiceEndpointConfiguration>
    					<ServiceTemplates />
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA key="786539" uri="/api/space/nsas/device-roles/pe-devices/786539"
    						href="/api/space/nsas/device-roles/pe-devices/786539">
    						<DeviceName>embassy</DeviceName>
    						<DeviceID>786539</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-1/0/7</InterfaceName>
    					<ServiceEndpointConfiguration
    						xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPElineLDPEndPointConfigParameterOrderType">
    						<PEDevLoopBackIP>50.1.2.4</PEDevLoopBackIP>
    						<EndPointCategory>PTP</EndPointCategory>
    						<TrafficType>DOT1Q Transport single vlan</TrafficType>
    						<PhysicalEncapsulation>vlan-ccc</PhysicalEncapsulation>
    						<LogicalEncapsulation>vlan-ccc</LogicalEncapsulation>
    						<UNIDescription>N/A</UNIDescription>
    						<OuterTPID>None</OuterTPID>
    						<UnitId>512</UnitId>
    						<VlanId>512</VlanId>
    						<MTU>1522</MTU>
    						<Bandwidth unit="Kbps">0</Bandwidth>
    					</ServiceEndpointConfiguration>
    					<ServiceTemplates />
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<ServiceOrderParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    				xsi:type="PTPConfigParameterOrderType">
    				<MTU>1522</MTU>
    				<VCID>2147467352</VCID>
    				<VlanNormalization>Normalize to Dot1q tag</VlanNormalization>
    				<VlanTagToStack>1</VlanTagToStack>
    			</ServiceOrderParameter>
    			<Reference>
    				<Customer uri="/api/space/nsas/customer-management/customers/557118"
    					href="/api/space/nsas/customer-management/customers/557118" key="557118" />
    				<ServiceDefinition>
    					<ServiceDefinitionID
    						uri="/api/space/nsas/eline-ptp/service-management/service-orders/852026"
    						href="/api/space/nsas/eline-ptp/service-management/service-orders/852026"
    						key="852026" />
    				</ServiceDefinition>
    			</Reference>
    		</ServiceOrder>
    	</ServiceResource>
    </Data>
    
     
    

    Get E-LINE LDP TDM Service Order Details with CESoPSN Support By Order ID

    This request is used to retrieve the details of a particular EPL or E-LINE LDP service order configured with time division multiplexed (TDM) Circuit Emulation Service over Packet-Switched Network (CESoPSN), based on the service order ID.

    URI

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

    HTTP Method

    GET

    Consumes

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

    Produces

    Collects the details of a specific E-LINE LDP service order with TDM CESoPSN configured.

    Output

    Sample XML Output

         <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
        <Data xmlns="services.schema.networkapi.jmp.juniper.net">
        <ServiceResource>
        <ServiceOrder key="3604697" uri="/api/space/nsas/eline-ptp/service-management/service-orders/3604697" href="/api/space/nsas/eline-ptp/service-management/service-orders/3604697">
        <Common>
        <Name>TDM_SO_API</Name>
        <Identity>3604697</Identity>
        <State>Validated</State>
        <Comments>dgfdgdfgfd</Comments>
        <CreatedDate>2014-10-21T12:37:15.000+05:30</CreatedDate>
        <LastUpdatedDate>2014-10-21T12:37:13.000+05:30</LastUpdatedDate>
        <CreatedBy>super</CreatedBy>
        </Common>
        <ServiceType>Point-to-Point Pseudowire</ServiceType>
        <Signaling>LDP</Signaling>
        <Action>Provisioning</Action>
        <ServiceEndPointGroup>
        <DeviceInfo>
        <NA key="525348" uri="/api/space/nsas/device-roles/pe-devices/525348" href="/api/space/nsas/device-roles/pe-devices/525348">
        <DeviceName>junos-space5</DeviceName>
        <DeviceID>525348</DeviceID>
        </NA>
        </DeviceInfo>
        <ServiceEndPoint>
        <InterfaceName>t1-0/0/1</InterfaceName>
        <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPTDMEndPointConfigParameterOrderType">
        <EndPointCategory>PTP</EndPointCategory>
        <TrafficType>Transport using port</TrafficType>
        <PhysicalEncapsulation>satop</PhysicalEncapsulation>
        <UNIDescription>N/A</UNIDescription>
        <JitterBuffer>5</JitterBuffer>
        <IdlePattern>255</IdlePattern>
        <ExcessPacketLossRate>20</ExcessPacketLossRate>
        <PayloadSize>192</PayloadSize>
        </ServiceEndpointConfiguration>
        <ServiceTemplates/>
        </ServiceEndPoint>
        </ServiceEndPointGroup>
        <ServiceEndPointGroup>
        <DeviceInfo>
        <NA key="525406" uri="/api/space/nsas/device-roles/pe-devices/525406" href="/api/space/nsas/device-roles/pe-devices/525406">
        <DeviceName>junos-space3</DeviceName>
        <DeviceID>525406</DeviceID>
        </NA>
        </DeviceInfo>
        <ServiceEndPoint>
        <InterfaceName>iw0</InterfaceName>
        <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPTDMEndPointConfigParameterOrderType">
        <EndPointCategory>PTP</EndPointCategory>
        <TrafficType>Transport using port</TrafficType>
        <PhysicalEncapsulation>satop</PhysicalEncapsulation>
        <StitchingUnit>130</StitchingUnit>
        <UNIDescription>N/A</UNIDescription>
        <JitterBuffer>5</JitterBuffer>
        <IdlePattern>255</IdlePattern>
        <ExcessPacketLossRate>20</ExcessPacketLossRate>
        <PayloadSize>192</PayloadSize>
        </ServiceEndpointConfiguration>
        <ServiceTemplates/>
        </ServiceEndPoint>
        </ServiceEndPointGroup>
        <ServiceOrderParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPTDMConfigParameterOrderType">
        <VCID>2147467293</VCID>
        <VlanNormalization>Swap</VlanNormalization>
        </ServiceOrderParameter>
        <Reference>
        <Customer uri="/api/space/nsas/customer-management/customers/525426" href="/api/space/nsas/customer-management/customers/525426" key="525426"/>
        <ServiceDefinition>
        <ServiceDefinitionID uri="/api/space/nsas/eline-ptp/service-management/service-orders/3407971" href="/api/space/nsas/eline-ptp/service-management/service-orders/3407971" key="3407971"/>
        </ServiceDefinition>
        </Reference>
        </ServiceOrder>
        </ServiceResource>
        </Data>
    
     
    

    Get E-LINE LDP TDM Service Order Details with Multi-Segment Pseudowire By Order ID

    This request is used to retrieve the details of a particular E-LINE LDP service order configured that contains TDM interfaces with multi-segment pseudowires for P2P LDP TDM, based on the service order ID.

    URI

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

    HTTP Method

    GET

    Consumes

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

    Produces

    Collects the details of a specific E-LINE LDP service order with TDM interfaces and a multi-segment pseudowire.

    Output

    Sample XML Output

         <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
        <Data xmlns="services.schema.networkapi.jmp.juniper.net">
        <ServiceResource>
        <ServiceOrder key="3604697" uri="/api/space/nsas/eline-ptp/service-management/service-orders/3604697" href="/api/space/nsas/eline-ptp/service-management/service-orders/3604697">
        <Common>
        <Name>TDM_SO_API</Name>
        <Identity>3604697</Identity>
        <State>Validated</State>
        <Comments>dgfdgdfgfd</Comments>
        <CreatedDate>2014-10-21T12:37:15.000+05:30</CreatedDate>
        <LastUpdatedDate>2014-10-21T12:37:13.000+05:30</LastUpdatedDate>
        <CreatedBy>super</CreatedBy>
        </Common>
        <ServiceType>Point-to-Point Pseudowire</ServiceType>
        <Signaling>LDP</Signaling>
        <Action>Provisioning</Action>
        <ServiceEndPointGroup>
        <DeviceInfo>
        <NA key="525348" uri="/api/space/nsas/device-roles/pe-devices/525348" href="/api/space/nsas/device-roles/pe-devices/525348">
        <DeviceName>junos-space5</DeviceName>
        <DeviceID>525348</DeviceID>
        </NA>
        </DeviceInfo>
        <ServiceEndPoint>
        <InterfaceName>t1-0/0/1</InterfaceName>
        <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPTDMEndPointConfigParameterOrderType">
        <EndPointCategory>PTP</EndPointCategory>
        <TrafficType>Transport using port</TrafficType>
        <PhysicalEncapsulation>satop</PhysicalEncapsulation>
        <UNIDescription>N/A</UNIDescription>
        <JitterBuffer>5</JitterBuffer>
        <IdlePattern>255</IdlePattern>
        <ExcessPacketLossRate>20</ExcessPacketLossRate>
        <PayloadSize>192</PayloadSize>
        </ServiceEndpointConfiguration>
        <ServiceTemplates/>
        </ServiceEndPoint>
        </ServiceEndPointGroup>
        <ServiceEndPointGroup>
        <DeviceInfo>
        <NA key="525406" uri="/api/space/nsas/device-roles/pe-devices/525406" href="/api/space/nsas/device-roles/pe-devices/525406">
        <DeviceName>junos-space3</DeviceName>
        <DeviceID>525406</DeviceID>
        </NA>
        </DeviceInfo>
        <ServiceEndPoint>
        <InterfaceName>iw0</InterfaceName>
        <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPTDMEndPointConfigParameterOrderType">
        <EndPointCategory>PTP</EndPointCategory>
        <TrafficType>Transport using port</TrafficType>
        <PhysicalEncapsulation>satop</PhysicalEncapsulation>
        <StitchingUnit>130</StitchingUnit>
        <UNIDescription>N/A</UNIDescription>
        <JitterBuffer>5</JitterBuffer>
        <IdlePattern>255</IdlePattern>
        <ExcessPacketLossRate>20</ExcessPacketLossRate>
        <PayloadSize>192</PayloadSize>
        </ServiceEndpointConfiguration>
        <ServiceTemplates/>
        </ServiceEndPoint>
        </ServiceEndPointGroup>
        <ServiceOrderParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPTDMConfigParameterOrderType">
        <VCID>2147467293</VCID>
        <VlanNormalization>Swap</VlanNormalization>
        </ServiceOrderParameter>
        <Reference>
        <Customer uri="/api/space/nsas/customer-management/customers/525426" href="/api/space/nsas/customer-management/customers/525426" key="525426"/>
        <ServiceDefinition>
        <ServiceDefinitionID uri="/api/space/nsas/eline-ptp/service-management/service-orders/3407971" href="/api/space/nsas/eline-ptp/service-management/service-orders/3407971" key="3407971"/>
        </ServiceDefinition>
        </Reference>
        </ServiceOrder>
        </ServiceResource>
        </Data>
    
     
    

    Get E-LINE LDP ATM Service Order Details with Multi-Segment Pseudowire By Order ID

    This request is used to retrieve the details of a particular E-LINE LDP service order configured that contains ATM interfaces with multi-segment pseudowires for P2P LDP ATM, based on the service order ID.

    URI

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

    HTTP Method

    GET

    Consumes

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

    Produces

    Collects the details of a specific E-LINE LDP service order with ATM interfaces and a multi-segment pseudowire.

    Output

    Sample XML Output

    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    <ServiceResource>
    <ServiceOrder>
    <Common>
    <Name>ATM_SO_API</Name>
    <Comments>dgfgd</Comments>
    </Common>
    <ServiceType>Point-to-Point Pseudowire</ServiceType>
    <Signaling>LDP</Signaling>
    <Action>Provisioning</Action>
    <ServiceEndPointGroup>
    <DeviceInfo>
    <NA key="525348" uri="/api/space/nsas/device-roles/pe-devices/525348" href="/api/space/nsas/device-roles/pe-devices/525348">
    <DeviceName>junos-space5</DeviceName>
    <DeviceID>525348</DeviceID>
    </NA>
    </DeviceInfo>
    <ServiceEndPoint>
    <InterfaceName>at-0/0/7</InterfaceName>
    <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPATMEndPointConfigParameterOrderType">
    <EndPointCategory>PTP</EndPointCategory>
    <UNIDescription>dfgfgfdgfd</UNIDescription>
    </ServiceEndpointConfiguration>
    </ServiceEndPoint>
    </ServiceEndPointGroup>
    <ServiceEndPointGroup>
    <DeviceInfo>
    <NA key="525406" uri="/api/space/nsas/device-roles/pe-devices/525406" href="/api/space/nsas/device-roles/pe-devices/525406">
    <DeviceName>junos-space3</DeviceName>
    <DeviceID>525406</DeviceID>
    </NA>
    </DeviceInfo>
    <ServiceEndPoint>
    <InterfaceName>iw0</InterfaceName>
    <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPATMEndPointConfigParameterOrderType">
    <EndPointCategory>PTP</EndPointCategory>
    <StitchingUnit>128</StitchingUnit>
    <UNIDescription>dsfdsgfg</UNIDescription>
    </ServiceEndpointConfiguration>
    </ServiceEndPoint>
    </ServiceEndPointGroup>
    <ServiceOrderParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPATMConfigParameterOrderType">
    <VlanNormalization>Swap</VlanNormalization>
    <VPI>34</VPI>
    <VCI>45</VCI>
    </ServiceOrderParameter>
    <Reference>
    <Customer key="525426"/>
    <ServiceDefinition>
    <ServiceDefinitionID  key="3407991"/>
    </ServiceDefinition>
    <Service key="3604613"/>
    </Reference>
    </ServiceOrder>
    </ServiceResource>
    </Data>
    
    
    

    Create an E-LINE LDP Service Order

    This request is used to create an E-LINE LDP service order.

    URI

    api/space/nsas/eline-ptp/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

    For the various options in creating ServiceOrder the options must be specified in the Action Element inside OperationSpecificData. The following values can be entered:

    • Save (Create and only Save a SO)
    • SaveAndValidate (Create, Save, and Validate a SO) Default value when no Custom action is specified.
    • SaveAndDeployNow (Create, Save, and Deploy a SO)
    • SaveAndDeployLater (Create, Save, and Deploy Later a SO)

    Produces

    Creates an E-LINE LDP service order.

    Input

    Sample XML Input

    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    <ServiceResource>
    	<ServiceOrder>
    		<Common>
    			<Name>P2P_SO</Name>
    			<Comments>P2P service order</Comments>
    		</Common>
    		<ServiceEndPointGroup>
    			<DeviceInfo>
    				<NA>
    					<DeviceName>embassy</DeviceName>
    					<DeviceID>327752</DeviceID>
    				</NA>
    			</DeviceInfo>
    			<ServiceEndPoint>
    				<InterfaceName>ge-1/0/1</InterfaceName>
    				<ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"	xsi:type="PTPElineLDPEndPointConfigParameterOrderType">
    					<EndPointCategory>PTP</EndPointCategory>
    					<VlanId>760</VlanId>
    					<MTU>1522</MTU>
    					<Bandwidth unit="Mbps">10</Bandwidth>
    				</ServiceEndpointConfiguration>
    			</ServiceEndPoint>
    		</ServiceEndPointGroup>
    		<ServiceEndPointGroup>
    			<DeviceInfo>
    				<NA>
    					<DeviceName>exora</DeviceName>
    					<DeviceID>327689</DeviceID>
    				</NA>
    			</DeviceInfo>
    			<ServiceEndPoint>
    				<InterfaceName>ge-0/1/2</InterfaceName>
    				<ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"	xsi:type="PTPElineLDPEndPointConfigParameterOrderType">
    					<EndPointCategory>PTP</EndPointCategory>
    					<VlanId>760</VlanId>
    					<MTU>1522</MTU>
    					<Bandwidth unit="Mbps">10</Bandwidth>
    				</ServiceEndpointConfiguration>
    			</ServiceEndPoint>
    		</ServiceEndPointGroup>
    		<ServiceOrderParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPConfigParameterOrderType">
    		<MTU>1577</MTU>
    		<VCID>760</VCID>
    		</ServiceOrderParameter>
    		<Reference>
    		<Customer key="327680"/>
    		<ServiceDefinition>
    			<ServiceDefinitionID key="262144"/>
    		</ServiceDefinition>
    		</Reference>
    	</ServiceOrder>
    </ServiceResource>
    		<CustomAction xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ServiceOrderCustomActionType">
    		<Action>SaveAndDeployNow</Action>
    		<ScheduledDateTime>2012-04-09T19:07:18.000+05:30</ScheduledDateTime>
    		</CustomAction>
    </Data>
    	

    Output

    Sample XML Output

    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    <Status>
    	<Identity>
    		<Type>ServiceOrder</Type>
    		<Value>6553609</Value>
    	</Identity>
    	<Job>
    		<ID>1998898</ID>
    		<Status>INPROGRESS</Status>
    	</Job>
    	<Code>200</Code>
    	<Message>Service Order Created Successfully and Deployment is in Progress. Please check the status using the JOB ID.</Message>
    </Status>
    </Data>
    	

    Create an E-LINE LDP Ethernet Service Order with Multi-Segment Pseudowire

    This request is used to create an E-LINE LDP service order for Ethernet interfaces with multi-segment pseudowires.

    URI

    api/space/nsas/eline-ptp/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 an E-LINE LDP service order for Ethernet interfaces with multi-segment pseudowires.

    Input

    Sample XML Input

    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
        <ServiceResource>
        <ServiceOrder>
        <Common>
        <Name>P2P_LDP_Multiseg_SO_API_Test</Name>
         <Comments>dsfdsf</Comments>
        </Common>
        <ServiceType>Point-to-Point Pseudowire</ServiceType>
        <Signaling>LDP</Signaling>
        <Action>Provisioning</Action>
        <ServiceEndPointGroup>
        <DeviceInfo>
        <NA key="524351" uri="/api/space/nsas/device-roles/pe-devices/524351" href="/api/space/nsas/device-roles/pe-devices/524351">
        <DeviceName>embassy</DeviceName>
        <DeviceID>524351</DeviceID>
        </NA>
        </DeviceInfo>
        <ServiceEndPoint>
        <InterfaceName>ge-1/1/4</InterfaceName>
        <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPElineLDPEndPointConfigParameterOrderType">
        <PEDevLoopBackIP>50.1.2.4</PEDevLoopBackIP>
        <EndPointCategory>PTP</EndPointCategory>
        <UNIDescription>safsdfsdf</UNIDescription>
        </ServiceEndpointConfiguration>
        </ServiceEndPoint>
        </ServiceEndPointGroup>
        <ServiceEndPointGroup>
        <DeviceInfo>
        <NA key="525406" uri="/api/space/nsas/device-roles/pe-devices/525406" href="/api/space/nsas/device-roles/pe-devices/525406">
        <DeviceName>junos-space3</DeviceName>
        <DeviceID>525406</DeviceID>
        </NA>
        </DeviceInfo>
        <ServiceEndPoint>
        <InterfaceName>iw0</InterfaceName>
        <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPElineLDPEndPointConfigParameterOrderType">
        <PEDevLoopBackIP>30.1.2.9</PEDevLoopBackIP>
        <EndPointCategory>PTP</EndPointCategory>
        <StitchingUnit>150</StitchingUnit>
        <UNIDescription>sdfdsf</UNIDescription>
        </ServiceEndpointConfiguration>
        </ServiceEndPoint>
        </ServiceEndPointGroup>
        <ServiceOrderParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPConfigParameterOrderType">
        <VlanNormalization>Normalization not required</VlanNormalization>
        </ServiceOrderParameter>
        <Reference>
        <Customer key="525426"/>
        <ServiceDefinition>
        <ServiceDefinitionID  key="393544"/>
        </ServiceDefinition>
        <Service key="393574"/>
        </Reference>
        </ServiceOrder>
        </ServiceResource>
        </Data>
    
    	

    Output

    Sample XML Output

    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    <Status>
    	<Identity>
    		<Type>ServiceOrder</Type>
    		<Value>6553609</Value>
    	</Identity>
    	<Job>
    		<ID>1998898</ID>
    		<Status>INPROGRESS</Status>
    	</Job>
    	<Code>200</Code>
    	<Message>Service Order Created Successfully and Deployment is in Progress. Please check the status using the JOB ID.</Message>
    </Status>
    </Data>
    	

    Create an E-LINE LDP Ethernet Service Order with Static Pseudowire

    This request is used to create an E-LINE LDP service order for Ethernet interfaces with static pseudowires.

    URI

    api/space/nsas/eline-ptp/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 an E-LINE LDP service order for Ethernet interfaces with static pseudowires.

    Input

    Sample XML Input

    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
        <ServiceResource>
        <ServiceOrder>
        <Common>
            <Name>P2P_LDP_E_SPW_SO_API_01</Name>
            <Comments>fdgdfgdf</Comments>
        </Common>
        <ServiceType>Point-to-Point Pseudowire</ServiceType>
        <Signaling>LDP</Signaling>
        <Action>Provisioning</Action>
        <ServiceEndPointGroup>
        <DeviceInfo>
        <NA key="524440" uri="/api/space/nsas/device-roles/pe-devices/524440" href="/api/space/nsas/device-roles/pe-devices/524440">
              <DeviceName>embassy</DeviceName>
              <DeviceID>524440</DeviceID>
        </NA>
        </DeviceInfo>
        <ServiceEndPoint>
            <InterfaceName>ge-1/0/7</InterfaceName>
        <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPElineLDPEndPointConfigParameterOrderType">
             <EndPointCategory>PTP</EndPointCategory>
             <UNIDescription>hgfh</UNIDescription>
             <CustomerVlanId>1</CustomerVlanId>
             <OutgoingLabel>1000000</OutgoingLabel>
         </ServiceEndpointConfiguration>
        </ServiceEndPoint>
        </ServiceEndPointGroup>
        <ServiceEndPointGroup>
        <DeviceInfo>
        <NA key="524296" uri="/api/space/nsas/device-roles/pe-devices/524296" href="/api/space/nsas/device-roles/pe-devices/524296">
              <DeviceName>junos-mx240-space</DeviceName>
              <DeviceID>524296</DeviceID>
        </NA>
        </DeviceInfo>
        <ServiceEndPoint>
             <InterfaceName>em0</InterfaceName>
        <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPElineLDPEndPointConfigParameterOrderType">
             <EndPointCategory>PTP</EndPointCategory>
             <UNIDescription>rtyrtutyu</UNIDescription>
             <CustomerVlanId>1</CustomerVlanId>
             <OutgoingLabel>1000000</OutgoingLabel>
        </ServiceEndpointConfiguration>
        </ServiceEndPoint>
        </ServiceEndPointGroup>
        <ServiceOrderParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPConfigParameterOrderType">
        <VlanNormalization>Normalize to QinQ tags</VlanNormalization>
        <OuterVlanTagToStack>1</OuterVlanTagToStack>
        <InnerVlanTagToStack>1</InnerVlanTagToStack>
        </ServiceOrderParameter>
        <Reference>
            <Customer key="525406"/>
          <ServiceDefinition>
               <ServiceDefinitionID key="393589"/>
          </ServiceDefinition>
        </Reference>
        </ServiceOrder>
        </ServiceResource>
       <CustomAction xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ServiceOrderCustomActionType">
    		<Action>SaveAndDeployNow</Action>
       </CustomAction>
        </Data>
    
    	

    Output

    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>393639</Value>
        </Identity>
        <Job>
        <ID>196637</ID>
        <Status>INPROGRESS</Status>
        </Job>
        <Code>200</Code>
        <Message>Service Order Created Successfully and Deployment is in Progress. Please check the status using the JOB ID.</Message>
        </Status>
        </Data>
    				
    				
    	

    Create an E-LINE LDP Ethernet Service Order with MC-LAG Interfaces

    This request is used to create an E-LINE LDP service order for MC-LAG interfaces.

    URI

    api/space/nsas/eline-ptp/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 an E-LINE LDP service order for MC-LAG interfaces.

    Input

    Sample XML Input

    				<Data xmlns="services.schema.networkapi.jmp.juniper.net">
        <ServiceResource>
        <ServiceOrder>
        <Common>
            <Name>MC_LAG_API_02</Name>
            <Comments>rtert</Comments>
         </Common>
        <ServiceType>Point-to-Point Pseudowire</ServiceType>
        <Signaling>LDP</Signaling>
        <Action>Provisioning</Action>
        <ServiceEndPointGroup>
        <DeviceInfo>
        <NA>
             <DeviceName>junos-mx240-space</DeviceName>
             <DeviceID>524419</DeviceID>
        </NA>
        </DeviceInfo>
        <ServiceEndPoint>
        <InterfaceName>ge-0/0/7</InterfaceName>
        <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPElineLDPEndPointConfigParameterOrderType">
        <PEDevLoopBackIP>30.1.2.1</PEDevLoopBackIP>
        <EndPointCategory>PTP</EndPointCategory>
        <UNIDescription>gfhgfhg</UNIDescription>
        </ServiceEndpointConfiguration>
        </ServiceEndPoint>
           <BackUpSettings>
               <Enable>true</Enable>
                <DeviceInfo>
                        <NA>
                             <DeviceName>junos-space5</DeviceName>
                             <DeviceID>525453</DeviceID>
                        </NA>
                </DeviceInfo>
              <ServiceEndPoint>
                        <InterfaceName>ge-0/1/7</InterfaceName>
                        <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPElineLDPEndPointConfigParameterOrderType">
                        </ServiceEndpointConfiguration>
                        <Description>gfhgfhg</Description>
             </ServiceEndPoint>
          </BackUpSettings>
        </ServiceEndPointGroup>
        <ServiceEndPointGroup>
        <DeviceInfo>
        <NA>
                      <DeviceName>junos-mx80-1-space</DeviceName>
                      <DeviceID>524367</DeviceID>
        </NA>
        </DeviceInfo>
        <ServiceEndPoint>
                     <InterfaceName>ge-1/0/9</InterfaceName>
          <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPElineLDPEndPointConfigParameterOrderType">
                     <PEDevLoopBackIP>30.1.2.5</PEDevLoopBackIP>
                     <EndPointCategory>PTP</EndPointCategory>
                    <UNIDescription>rthyrthy</UNIDescription>
         </ServiceEndpointConfiguration>
         </ServiceEndPoint>
        <BackUpSettings>
                 <Enable>true</Enable>
                    <DeviceInfo>
                       <NA>
                          <DeviceName>junos-space3</DeviceName>
                          <DeviceID>525483</DeviceID>
                      </NA>
                </DeviceInfo>
        <ServiceEndPoint>
                    <InterfaceName>ae2</InterfaceName>
          <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPElineLDPEndPointConfigParameterOrderType">
          </ServiceEndpointConfiguration>
              <Description>rthyrthy</Description>
        </ServiceEndPoint>
        </BackUpSettings>
        </ServiceEndPointGroup>
        <ServiceOrderParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPConfigParameterOrderType">
        <VlanNormalization>Normalization not required</VlanNormalization>
        <EnableMCLAG>true</EnableMCLAG>
        </ServiceOrderParameter>
        <Reference>
        <Customer key="525504"/>
        <ServiceDefinition>
        <ServiceDefinitionID key="394022"/>
        </ServiceDefinition>
        <Service key="819243"/>
        </Reference>
        </ServiceOrder>
        </ServiceResource>
        </Data>
    
    	

    Output

    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>819322</Value>
        </Identity>
        <Job>
        <ID>327757</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>
    
    
    	

    Create an E-LINE P2P Service Order with VLAN Normalization

    This request is used to create an E-LINE P2P service order configured with VLAN normalization types.

    URI

    api/space/nsas/eline-ptp/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 an E-LINE P2P service order configured with VLAN normalization types.

    Input (VLAN Normalization: Normalize to QinQ tags)

    Sample XML Input

    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    <ServiceResource>
    	<ServiceOrder>
    		<Common>
    			<Name>P2P_LDP_SO_MTUBased_API_Test01</Name>
    			<Comments>P2P service order</Comments>
    		</Common>
    		<ServiceEndPointGroup>
    			<DeviceInfo>
    				<NA>
    					<DeviceName>embassy</DeviceName>
                                            <DeviceID>557096</DeviceID>
    				</NA>
    			</DeviceInfo>
    			<ServiceEndPoint>
    				    <InterfaceName>ge-1/1/3</InterfaceName>
    				<ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"	xsi:type="PTPElineLDPEndPointConfigParameterOrderType">
    					<EndPointCategory>PTP</EndPointCategory>
                                            <UnitId>56</UnitId>					
    				</ServiceEndpointConfiguration>
    			</ServiceEndPoint>
    		</ServiceEndPointGroup>
    		<ServiceEndPointGroup>
    			<DeviceInfo>
    				<NA>
    					<DeviceName>junos-mx240-space</DeviceName>
                                             <DeviceID>557076</DeviceID>
    				</NA>
    			</DeviceInfo>
    			<ServiceEndPoint>
    				 <InterfaceName>ae2</InterfaceName>
    				<ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"	xsi:type="PTPElineLDPEndPointConfigParameterOrderType">
    					<EndPointCategory>PTP</EndPointCategory>
                                           <UnitId>56</UnitId>
    				</ServiceEndpointConfiguration>
    			</ServiceEndPoint>
    		</ServiceEndPointGroup>
    		<ServiceOrderParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPConfigParameterOrderType">
    				<OuterVlanTagToStack>12</OuterVlanTagToStack>
    				<InnerVlanTagToStack>14</InnerVlanTagToStack>
                       		         <MTUFactor>56</MTUFactor>
    		</ServiceOrderParameter>
    		<Reference>
    		<Customer key="851968"/>
    		<ServiceDefinition>
    			<ServiceDefinitionID key="917590"/>
    		</ServiceDefinition>
    		</Reference>
    	</ServiceOrder>
    </ServiceResource>
    		<CustomAction xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ServiceOrderCustomActionType">
    		<Action>SaveAndDeployNow</Action>
    		</CustomAction>
    </Data>
    
    

    Input (VLAN Normalization: Normalize to dot1Q tags)

    Sample XML Input

     <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    <ServiceResource>
    	<ServiceOrder>
    		<Common>
    			<Name>P2P_LDP_SO_MTUBased_API_Test01</Name>
    			<Comments>P2P service order</Comments>
    		</Common>
    		<ServiceEndPointGroup>
    			<DeviceInfo>
    				<NA>
    					<DeviceName>embassy</DeviceName>
                                            <DeviceID>557096</DeviceID>
    				</NA>
    			</DeviceInfo>
    			<ServiceEndPoint>
    				    <InterfaceName>ge-1/1/3</InterfaceName>
    				<ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"	xsi:type="PTPElineLDPEndPointConfigParameterOrderType">
    					<EndPointCategory>PTP</EndPointCategory>
                                            <UnitId>56</UnitId>					
    				</ServiceEndpointConfiguration>
    			</ServiceEndPoint>
    		</ServiceEndPointGroup>
    		<ServiceEndPointGroup>
    			<DeviceInfo>
    				<NA>
    					<DeviceName>junos-mx240-space</DeviceName>
                                             <DeviceID>557076</DeviceID>
    				</NA>
    			</DeviceInfo>
    			<ServiceEndPoint>
    				 <InterfaceName>ae2</InterfaceName>
    				<ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"	xsi:type="PTPElineLDPEndPointConfigParameterOrderType">
    					<EndPointCategory>PTP</EndPointCategory>
                                           <UnitId>56</UnitId>
    				</ServiceEndpointConfiguration>
    			</ServiceEndPoint>
    		</ServiceEndPointGroup>
    		<ServiceOrderParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPConfigParameterOrderType">
                         <VlanTagToStack>1</VlanTagToStack>
                          <BurstPeriod >56</BurstPeriod>
    		</ServiceOrderParameter>
    		<Reference>
    		<Customer key="851968"/>
    		<ServiceDefinition>
    			<ServiceDefinitionID key="917590"/>
    		</ServiceDefinition>
    		</Reference>
    	</ServiceOrder>
    </ServiceResource>
    		<CustomAction xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ServiceOrderCustomActionType">
    		<Action>SaveAndDeployNow</Action>
    		</CustomAction>
    </Data>
    
    
     
    

    Output

    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>393698</Value>
        </Identity>
        <Job>
        <ID>131165</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>
    
    
        
     
     
    

    Create an E-LINE LDP TDM Service Order with CESoPSN

    This request is used to create an E-LINE LDP service order with time division multiplexed (TDM) Circuit Emulation Service over Packet-Switched Network (CESoPSN).

    URI

    api/space/nsas/eline-ptp/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 an E-LINE LDP service order with time division multiplexed (TDM) Circuit Emulation Service over Packet-Switched Network (CESoPSN).

    Input

    Sample XML Input

    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
        <ServiceResource>
        <ServiceOrder>
        <Common>
        <Name>CESoPSN_SO_Test_Via_API</Name>
         <Comments>dfgfdg</Comments>
        </Common>
        <ServiceType>Point-to-Point Pseudowire</ServiceType>
        <Signaling>LDP</Signaling>
        <Action>Provisioning</Action>
        <ServiceEndPointGroup>
        <DeviceInfo>
        <NA>
        <DeviceName>junos-space2</DeviceName>
        <DeviceID>590135</DeviceID>
        </NA>
        </DeviceInfo>
        <ServiceEndPoint>
        <InterfaceName>ds-0/0/3:3</InterfaceName>
        <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPTDMEndPointConfigParameterOrderType">
    	<PacketizationLatency>5000</PacketizationLatency>
        <EndPointCategory>PTP</EndPointCategory>
        <UNIDescription>dgfgfdg</UNIDescription>
        <JitterBuffer>5</JitterBuffer>
        <IdlePattern>255</IdlePattern>
        <ExcessPacketLossRate>20</ExcessPacketLossRate>
        </ServiceEndpointConfiguration>
        </ServiceEndPoint>
        </ServiceEndPointGroup>
        <ServiceEndPointGroup>
        <DeviceInfo>
        <NA>
        <DeviceName>junos-space2</DeviceName>
        <DeviceID>590135</DeviceID>
        </NA>
        </DeviceInfo>
        <ServiceEndPoint>
        <InterfaceName>ds-0/0/7:3</InterfaceName>
        <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPTDMEndPointConfigParameterOrderType">
    	<PacketizationLatency>5000</PacketizationLatency>
        <EndPointCategory>PTP</EndPointCategory>
        <UNIDescription>fghhghf</UNIDescription>
        <JitterBuffer>5</JitterBuffer>
        <IdlePattern>255</IdlePattern>
        <ExcessPacketLossRate>20</ExcessPacketLossRate>
        </ServiceEndpointConfiguration>
        </ServiceEndPoint>
        </ServiceEndPointGroup>
        <ServiceOrderParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPTDMConfigParameterOrderType"/>
        <Reference>
        <Customer key="589824" href="/api/space/nsas/customer-management/customers/589824" uri="/api/space/nsas/customer-management/customers/589824"/>
        <ServiceDefinition>
        <ServiceDefinitionID key="393544" href="/api/space/nsas/eline-ptp/service-management/service-definitions/393544" uri="/api/space/nsas/eline-ptp/service-management/service-definitions/393544"/>
        </ServiceDefinition>
        <Service key="393571" href="/api/space/nsas/eline-ptp/service-management/services/393571" uri="/api/space/nsas/eline-ptp/service-management/services/393571"/>
        </Reference>
        </ServiceOrder>
        </ServiceResource>
        </Data>
    
     
     
    

    Output

    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>393581</Value>
        </Identity>
        <Job>
        <ID>131109</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>
     
     
    

    Create an E-LINE LDP TDM Service Order with Multi-Segment Pseudowire for P2P

    This request is used to create an E-LINE LDP service order with TDM interfaces and multi-segment pseudowires for P2P.

    URI

    api/space/nsas/eline-ptp/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 an E-LINE LDP service order with TDM interfaces and multi-segment pseudowires for P2P.

    Input

    Sample XML Input

    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
        <ServiceResource>
        <ServiceOrder>
        <Common>
        <Name>TDM_SO_API</Name>
            <Comments>dgfdgdfgfd</Comments>
           </Common>
        <ServiceType>Point-to-Point Pseudowire</ServiceType>
        <Signaling>LDP</Signaling>
        <Action>Provisioning</Action>
        <ServiceEndPointGroup>
        <DeviceInfo>
        <NA key="525348" uri="/api/space/nsas/device-roles/pe-devices/525348" href="/api/space/nsas/device-roles/pe-devices/525348">
        <DeviceName>junos-space5</DeviceName>
        <DeviceID>525348</DeviceID>
        </NA>
        </DeviceInfo>
        <ServiceEndPoint>
        <InterfaceName>t1-0/0/1</InterfaceName>
        <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPTDMEndPointConfigParameterOrderType">
        <EndPointCategory>PTP</EndPointCategory>
        <UNIDescription>N/A</UNIDescription>
        </ServiceEndpointConfiguration>
        </ServiceEndPoint>
        </ServiceEndPointGroup>
        <ServiceEndPointGroup>
        <DeviceInfo>
        <NA key="525406" uri="/api/space/nsas/device-roles/pe-devices/525406" href="/api/space/nsas/device-roles/pe-devices/525406">
        <DeviceName>junos-space3</DeviceName>
        <DeviceID>525406</DeviceID>
        </NA>
        </DeviceInfo>
        <ServiceEndPoint>
        <InterfaceName>iw0</InterfaceName>
        <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPTDMEndPointConfigParameterOrderType">
        <EndPointCategory>PTP</EndPointCategory>
        <StitchingUnit>130</StitchingUnit>
        <UNIDescription>N/A</UNIDescription>
        </ServiceEndpointConfiguration>
        </ServiceEndPoint>
        </ServiceEndPointGroup>
        <ServiceOrderParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPTDMConfigParameterOrderType">
        <VlanNormalization>Swap</VlanNormalization>
        </ServiceOrderParameter>
        <Reference>
        <Customer key="525426"/>
        <ServiceDefinition>
        <ServiceDefinitionID key="3407971"/>
        </ServiceDefinition>
        <Service key="3604602"/>
        </Reference>
        </ServiceOrder>
        </ServiceResource>
        </Data>
    
    

    Output

    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>3604697</Value>
        </Identity>
        <Job>
        <ID>1016496</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>
    
     
     
    

    Create an E-LINE LDP ATM Service Order with Multi-Segment Pseudowire

    This request is used to create an E-LINE LDP service order with ATM interfaces and multi-segment pseudowires.

    URI

    api/space/nsas/eline-ptp/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 an E-LINE LDP service order with ATM interfaces and multi-segment pseudowires.

    Input

    Sample XML Input

    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    <ServiceResource>
    <ServiceOrder>
    <Common>
    <Name>ATM_SO_API</Name>
    <Comments>dgfgd</Comments>
    </Common>
    <ServiceType>Point-to-Point Pseudowire</ServiceType>
    <Signaling>LDP</Signaling>
    <Action>Provisioning</Action>
    <ServiceEndPointGroup>
    <DeviceInfo>
    <NA key="525348" uri="/api/space/nsas/device-roles/pe-devices/525348" href="/api/space/nsas/device-roles/pe-devices/525348">
    <DeviceName>junos-space5</DeviceName>
    <DeviceID>525348</DeviceID>
    </NA>
    </DeviceInfo>
    <ServiceEndPoint>
    <InterfaceName>at-0/0/7</InterfaceName>
    <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPATMEndPointConfigParameterOrderType">
    <EndPointCategory>PTP</EndPointCategory>
    <UNIDescription>dfgfgfdgfd</UNIDescription>
    </ServiceEndpointConfiguration>
    </ServiceEndPoint>
    </ServiceEndPointGroup>
    <ServiceEndPointGroup>
    <DeviceInfo>
    <NA key="525406" uri="/api/space/nsas/device-roles/pe-devices/525406" href="/api/space/nsas/device-roles/pe-devices/525406">
    <DeviceName>junos-space3</DeviceName>
    <DeviceID>525406</DeviceID>
    </NA>
    </DeviceInfo>
    <ServiceEndPoint>
    <InterfaceName>iw0</InterfaceName>
    <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPATMEndPointConfigParameterOrderType">
    <EndPointCategory>PTP</EndPointCategory>
    <StitchingUnit>128</StitchingUnit>
    <UNIDescription>dsfdsgfg</UNIDescription>
    </ServiceEndpointConfiguration>
    </ServiceEndPoint>
    </ServiceEndPointGroup>
    <ServiceOrderParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPATMConfigParameterOrderType">
    <VlanNormalization>Swap</VlanNormalization>
    <VPI>34</VPI>
    <VCI>45</VCI>
    </ServiceOrderParameter>
    <Reference>
    <Customer key="525426"/>
    <ServiceDefinition>
    <ServiceDefinitionID  key="3407991"/>
    </ServiceDefinition>
    <Service key="3604613"/>
    </Reference>
    </ServiceOrder>
    </ServiceResource>
    </Data>
    
    
    

    Output

    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>3604697</Value>
        </Identity>
        <Job>
        <ID>1016496</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>
    
     
    

    Modify an E-LINE LDP TDM Service Order with Multi-Segment Pseudowire for P2P

    This request is used to modify an E-LINE LDP service order with TDM interfaces and multi-segment pseudowires for P2P.

    URI

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

    HTTP Method

    POST

    Content-Type

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

    Consumes

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

    Produces

    Modifies an E-LINE LDP service order with TDM interfaces and multi-segment pseudowires for P2P.

    Input

    Sample XML Input

    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
        <ServiceResource>
        <ServiceOrder>
        <Common>
        <Name>TDM_SO_API</Name>
            <Comments>dgfdgdfgfd</Comments>
           </Common>
        <ServiceType>Point-to-Point Pseudowire</ServiceType>
        <Signaling>LDP</Signaling>
        <Action>Provisioning</Action>
        <ServiceEndPointGroup>
        <DeviceInfo>
        <NA key="525348" uri="/api/space/nsas/device-roles/pe-devices/525348" href="/api/space/nsas/device-roles/pe-devices/525348">
        <DeviceName>junos-space5</DeviceName>
        <DeviceID>525348</DeviceID>
        </NA>
        </DeviceInfo>
        <ServiceEndPoint>
        <InterfaceName>t1-0/0/1</InterfaceName>
        <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPTDMEndPointConfigParameterOrderType">
        <EndPointCategory>PTP</EndPointCategory>
        <UNIDescription>N/A</UNIDescription>
        </ServiceEndpointConfiguration>
        </ServiceEndPoint>
        </ServiceEndPointGroup>
        <ServiceEndPointGroup>
        <DeviceInfo>
        <NA key="525406" uri="/api/space/nsas/device-roles/pe-devices/525406" href="/api/space/nsas/device-roles/pe-devices/525406">
        <DeviceName>junos-space3</DeviceName>
        <DeviceID>525406</DeviceID>
        </NA>
        </DeviceInfo>
        <ServiceEndPoint>
        <InterfaceName>iw0</InterfaceName>
        <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPTDMEndPointConfigParameterOrderType">
        <EndPointCategory>PTP</EndPointCategory>
        <StitchingUnit>198</StitchingUnit>
        <UNIDescription>N/A</UNIDescription>
        </ServiceEndpointConfiguration>
        </ServiceEndPoint>
        </ServiceEndPointGroup>
        <ServiceOrderParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPTDMConfigParameterOrderType">
        <VlanNormalization>Swap</VlanNormalization>
        </ServiceOrderParameter>
        <Reference>
        <Customer key="525426"/>
        <ServiceDefinition>
        <ServiceDefinitionID key="3407971"/>
        </ServiceDefinition>
        <Service key="3604602"/>
        </Reference>
        </ServiceOrder>
        </ServiceResource>
        </Data>
    
    

    Output

    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>884775</Value>
        </Identity>
        <Job>
        <ID>294932</ID>
        <Status>INPROGRESS</Status>
        </Job>
        <Code>200</Code>
        <Message>The Service Order Modified Successfully and Validation is in Progress. Please check the status using the JOB ID.</Message>
        </Status>
        </Data>
    
    

    Modify a Saved E-LINE LDP Service Order with Ethernet Option as Asymmetric Tag Depth

    This request is used to modify a saved E-LINE LDP service order configured with flexible VLAN tagging (asymmetric tag depth) as the Ethernet option.

    URI

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

    HTTP Method

    POST

    Content-Type

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

    Consumes

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

    Produces

    Modifies a saved E-LINE LDP service order configured with flexible VLAN tagging (asymmetric tag depth) as the Ethernet option.

    Input

    Sample XML Input

    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
        <ServiceResource>
        <ServiceOrder>
        <Common>
                 <Name>P2P_LDP_Asymmetric_ModifySO_API</Name>
                 <Comments>sdfsf</Comments>
        </Common>
        <ServiceType>Point-to-Point Pseudowire</ServiceType>
        <Signaling>LDP</Signaling>
        <Action>Provisioning</Action>
        <ServiceEndPointGroup>
        <DeviceInfo>
        <NA key="524504" uri="/api/space/nsas/device-roles/pe-devices/524504" href="/api/space/nsas/device-roles/pe-devices/524504">
        <DeviceName>embassy</DeviceName>
        <DeviceID>524504</DeviceID>
        </NA>
        </DeviceInfo>
        <ServiceEndPoint>
        <InterfaceName>ge-1/1/2</InterfaceName>
        <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPElineLDPEndPointConfigParameterOrderType">
        <PEDevLoopBackIP>50.1.2.4</PEDevLoopBackIP>
        <EndPointCategory>PTP</EndPointCategory>
        <TrafficType>QINQ Transport single vlan</TrafficType>
       <EthernetOption>qinq</EthernetOption>
        <UNIDescription>sdfsd</UNIDescription>
        <CustomerVlanId>1</CustomerVlanId>
        </ServiceEndpointConfiguration>
        </ServiceEndPoint>
        </ServiceEndPointGroup>
        <ServiceEndPointGroup>
        <DeviceInfo>
        <NA key="524452" uri="/api/space/nsas/device-roles/pe-devices/524452" href="/api/space/nsas/device-roles/pe-devices/524452">
        <DeviceName>junos-mx80-1-space</DeviceName>
        <DeviceID>524452</DeviceID>
        </NA>
        </DeviceInfo>
        <ServiceEndPoint>
        <InterfaceName>ge-1/2/8</InterfaceName>
        <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPElineLDPEndPointConfigParameterOrderType">
        <PEDevLoopBackIP>30.1.2.5</PEDevLoopBackIP>
        <EndPointCategory>PTP</EndPointCategory>
        <TrafficType>QINQ Transport single vlan</TrafficType>
        <EthernetOption>qinq</EthernetOption>
        <UNIDescription>sdfdsfs</UNIDescription>
        <CustomerVlanId>1</CustomerVlanId>
        </ServiceEndpointConfiguration>
        </ServiceEndPoint>
        </ServiceEndPointGroup>
        <ServiceOrderParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPConfigParameterOrderType">
        <VlanNormalization>Normalize to Dot1q tag</VlanNormalization>
        <VlanTagToStack>1</VlanTagToStack>
        </ServiceOrderParameter>
        <Reference>
        <Customer key="524615"/>
        <ServiceDefinition>
        <ServiceDefinitionID key="393587"/>
        </ServiceDefinition>
        <Service key="393576"/>
        </Reference>
        </ServiceOrder>
        </ServiceResource>
        </Data>
    
    

    Output

    Sample XML Output

    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    	<Status>
    		<Identity>
    			<Type>ServiceOrder</Type>
    			<Value>6553609</Value>
    		</Identity>
    		<Job>
    			<ID>1998898</ID>
    			<Status>INPROGRESS</Status>
    		</Job>
    		<Code>200</Code>
    		<Message>Service Order Modified Successfully and Deployment is in
    			Progress. Please check the status using the JOB ID.</Message>
    	</Status>
    </Data>
    
    
    

    Modify an E-LINE LDP ATM Service Order with Multi-Segment Pseudowire

    This request is used to modify a previously configured E-LINE LDP service order with ATM interfaces and multi-segment pseudowires.

    URI

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

    HTTP Method

    POST

    Content-Type

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

    Consumes

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

    Produces

    Modifies an E-LINE LDP service order with ATM interfaces and multi-segment pseudowires.

    Input

    Sample XML Input

    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    <ServiceResource>
    <ServiceOrder>
    <Common>
    <Name>ATM_Modify_SO_API</Name>
    <Comments>dgfgd</Comments>
    </Common>
    <ServiceType>Point-to-Point Pseudowire</ServiceType>
    <Signaling>LDP</Signaling>
    <Action>Provisioning</Action>
    <ServiceEndPointGroup>
    <DeviceInfo>
    <NA key="525348" uri="/api/space/nsas/device-roles/pe-devices/525348" href="/api/space/nsas/device-roles/pe-devices/525348">
    <DeviceName>junos-space5</DeviceName>
    <DeviceID>525348</DeviceID>
    </NA>
    </DeviceInfo>
    <ServiceEndPoint>
    <InterfaceName>at-0/0/7</InterfaceName>
    <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPATMEndPointConfigParameterOrderType">
    <EndPointCategory>PTP</EndPointCategory>
    <UNIDescription>dfgfgfdgfd</UNIDescription>
    </ServiceEndpointConfiguration>
    </ServiceEndPoint>
    </ServiceEndPointGroup>
    <ServiceEndPointGroup>
    <DeviceInfo>
    <NA key="525406" uri="/api/space/nsas/device-roles/pe-devices/525406" href="/api/space/nsas/device-roles/pe-devices/525406">
    <DeviceName>junos-space3</DeviceName>
    <DeviceID>525406</DeviceID>
    </NA>
    </DeviceInfo>
    <ServiceEndPoint>
    <InterfaceName>iw0</InterfaceName>
    <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPATMEndPointConfigParameterOrderType">
    <EndPointCategory>PTP</EndPointCategory>
    <StitchingUnit>189</StitchingUnit>
    <UNIDescription>dsfdsgfg</UNIDescription>
    </ServiceEndpointConfiguration>
    </ServiceEndPoint>
    </ServiceEndPointGroup>
    <ServiceOrderParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPATMConfigParameterOrderType">
    <VlanNormalization>Swap</VlanNormalization>
    <VPI>34</VPI>
    <VCI>45</VCI>
    </ServiceOrderParameter>
    <Reference>
    <Customer key="525426"/>
    <ServiceDefinition>
    <ServiceDefinitionID  key="3407991"/>
    </ServiceDefinition>
    <Service key="3604613"/>
    </Reference>
    </ServiceOrder>
    </ServiceResource>
    </Data>
    
    

    Output

    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>884775</Value>
        </Identity>
        <Job>
        <ID>294932</ID>
        <Status>INPROGRESS</Status>
        </Job>
        <Code>200</Code>
        <Message>The Service Order Modified Successfully and Validation is in Progress. Please check the status using the JOB ID.</Message>
        </Status>
        </Data>
    
    

    Create an E-LINE LDP Service Order with Static Pseudowire for P2P

    This request is used to create an E-LINE LDP service order with static pseudowires for P2P.

    URI

    api/space/nsas/eline-ptp/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 an E-LINE LDP service order with static pseudowires for P2P.

    Input

    Sample XML Input

    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
        <ServiceResource>
        <ServiceOrder>
        <Common>
            <Name>P2P_LDP_E_SPW_SO_API_01</Name>
            <Comments>fdgdfgdf</Comments>
        </Common>
        <ServiceType>Point-to-Point Pseudowire</ServiceType>
        <Signaling>LDP</Signaling>
        <Action>Provisioning</Action>
        <ServiceEndPointGroup>
        <DeviceInfo>
        <NA key="524440" uri="/api/space/nsas/device-roles/pe-devices/524440" href="/api/space/nsas/device-roles/pe-devices/524440">
              <DeviceName>embassy</DeviceName>
              <DeviceID>524440</DeviceID>
        </NA>
        </DeviceInfo>
        <ServiceEndPoint>
            <InterfaceName>ge-1/0/7</InterfaceName>
        <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPElineLDPEndPointConfigParameterOrderType">
             <EndPointCategory>PTP</EndPointCategory>
             <UNIDescription>hgfh</UNIDescription>
             <CustomerVlanId>1</CustomerVlanId>
             <OutgoingLabel>1000000</OutgoingLabel>
         </ServiceEndpointConfiguration>
        </ServiceEndPoint>
        </ServiceEndPointGroup>
        <ServiceEndPointGroup>
        <DeviceInfo>
        <NA key="524296" uri="/api/space/nsas/device-roles/pe-devices/524296" href="/api/space/nsas/device-roles/pe-devices/524296">
              <DeviceName>junos-mx240-space</DeviceName>
              <DeviceID>524296</DeviceID>
        </NA>
        </DeviceInfo>
        <ServiceEndPoint>
             <InterfaceName>em0</InterfaceName>
        <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPElineLDPEndPointConfigParameterOrderType">
             <EndPointCategory>PTP</EndPointCategory>
             <UNIDescription>rtyrtutyu</UNIDescription>
             <CustomerVlanId>1</CustomerVlanId>
             <OutgoingLabel>1000000</OutgoingLabel>
        </ServiceEndpointConfiguration>
        </ServiceEndPoint>
        </ServiceEndPointGroup>
        <ServiceOrderParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPConfigParameterOrderType">
        <VlanNormalization>Normalize to QinQ tags</VlanNormalization>
        <OuterVlanTagToStack>1</OuterVlanTagToStack>
        <InnerVlanTagToStack>1</InnerVlanTagToStack>
        </ServiceOrderParameter>
        <Reference>
            <Customer key="525406"/>
          <ServiceDefinition>
               <ServiceDefinitionID key="393589"/>
          </ServiceDefinition>
        </Reference>
        </ServiceOrder>
        </ServiceResource>
       <CustomAction xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ServiceOrderCustomActionType">
    		<Action>SaveAndDeployNow</Action>
       </CustomAction>
        </Data>
    
    	

    Output

    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>393639</Value>
        </Identity>
        <Job>
        <ID>196637</ID>
        <Status>INPROGRESS</Status>
        </Job>
        <Code>200</Code>
        <Message>Service Order Created Successfully and Deployment is in Progress. Please check the status using the JOB ID.</Message>
        </Status>
        </Data>
    				
    				
    	

    Deploy, Validate, and Partially-Delete an E-LINE LDP Service Order

    This request is used to deploy, validate, or partially delete a previously created E-LINE LDP service order.

    URI

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

    HTTP Method

    POST

    Content-Type

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

    Consumes

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

    The options must be specified in the Action Element inside OperationSpecificData. The various options are as follows:

    • DeployNow (Deploy an already created SO)
    • DeployLater (Deploy Later an already created SO)
    • ValidateNow (Validate now an already created SO)
    • ValidateLater (Validate later an already created SO)
    • PartialDeleteNow (Delete the partially created configuration now)
    • PartialDeleteLater (Delete the partially created configuration Later

    Produces

    Deploys, validates or, partially-deletes a previously created E-LINE LDP service order.

    Input

    Sample XML Input

    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    <CustomAction xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ServiceOrderCustomActionType">
    <Action>DeployNow</Action>
    <ScheduledDateTime>2012-04-09T19:07:18.000+05:30</ScheduledDateTime>
    </CustomAction>
    </Data>
     
    

    Output

    Sample XML Output

     <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    <Status>
    <Identity>
    <Type>ServiceOrder</Type>
    <Value>6553600</Value>
    </Identity>
    <Job>
    <ID>1998905</ID>
    <Status>INPROGRESS</Status>
    </Job>
    <Code>200</Code>
    <Message>The Service Order Deployment is in Progress. Please check the
    status using the JOB ID.</Message>
    </Status>
    </Data>
    

    Delete an E-LINE LDP Service Order

    This request is used to delete a previously configured E-LINE LDP service order.

    URI

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

    HTTP Method

    DELETE

    Consumes

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

    Produces

    Deletes an E-LINE LDP service order.

    Output

    Sample XML Output

    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    <Status>
    	<Identity>
    		<Type>ServiceOrder</Type>
    		<Value>6553600</Value>
    	</Identity>
    	<Code>200</Code>
    	<Message>Service order Deleted Successfully.</Message>
    </Status>
    </Data>
    	

    View the Pending Configuration of an E-LINE P2P Service Order

    This request is used to view the details of a E-LINE P2P service order that are pending to be applied to a device.

    URI

    api/space/nsas/eline-ptp/service-management/service-orders/
    view-pendingorderconfiguration/<serviceOrder-id>

    HTTP Method

    GET

    Consumes

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

    Produces

    Displays the configuration details of a service order pending to be applied to a device.

    Output

    Sample XML Output

     
    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    <PendingOrderConfiguration>
    <PendingOrderConfigDeviceEnd>
    <DeviceName>exora</DeviceName>
    <Configuration><configuration><interfaces><interface><name>ge-
    0/1/1</name><flexible-vlan-tagging/><mtu>1522</mtu><encapsulation>flexible-ethernetservices&
    lt;/encapsulation><unit><name>24</name><encapsulation>vlan-ccc</encapsulation><vlan-idrange&
    gt;24-34</vlan-idrange&
    gt;</unit></interface></interfaces><protocols><l2circuit><neighbor><name>50.1.2.1</name
    ><interface><name>ge-0/1/1.24</name><virtual-circuit-id>2147467281</virtual-circuit-id><no-controlword/&
    gt;<mtu>1522</mtu><revert-time>5</revert-time><backupneighbor&
    gt;<name>30.1.2.7</name><virtual-circuit-id>2147467281</virtual-circuit-id><standby/></backupneighbor&
    gt;</interface></neighbor></l2circuit></protocols></configuration>
    </Configuration>
    </PendingOrderConfigDeviceEnd>
    <PendingOrderConfigDeviceEnd>
    <DeviceName>junos-space1</DeviceName>
    <Configuration><configuration><interfaces><interface><name>ge-
    0/1/5</name><flexible-vlan-tagging/><mtu>1522</mtu><encapsulation>flexible-ethernetservices&
    lt;/encapsulation><unit><name>24</name><encapsulation>vlan-ccc</encapsulation><vlan-idrange&
    gt;24-34</vlan-idrange&
    gt;</unit></interface></interfaces><protocols><l2circuit><neighbor><name>50.1.2.3</name
    ><interface><name>ge-0/1/5.24</name><virtual-circuit-id>2147467281</virtual-circuit-id><no-controlword/&
    gt;<mtu>1522</mtu></interface></neighbor></l2circuit></protocols></configuration>
    </Configuration>
    </PendingOrderConfigDeviceEnd>
    <PendingOrderConfigDeviceEnd>
    <DeviceName>kochin</DeviceName>
    <Configuration><configuration><interfaces><interface><name>ge-
    0/0/4</name><flexible-vlan-tagging/><mtu>1522</mtu><encapsulation>flexible-ethernetservices&
    lt;/encapsulation><unit><name>24</name><encapsulation>vlan-ccc</encapsulation><vlan-idrange&
    gt;24-34</vlan-idrange&
    gt;</unit></interface></interfaces><protocols><l2circuit><neighbor><name>50.1.2.3</name
    ><interface><name>ge-0/0/4.24</name><virtual-circuit-id>2147467281</virtual-circuit-id><no-controlword/&
    gt;<mtu>1522</mtu></interface></neighbor></l2circuit></protocols></configuration>
    </Configuration>
    </PendingOrderConfigDeviceEnd>
    </PendingOrderConfiguration>
    </Data>
    

    Create a P2P LDP Service Order with Pseudowire Redundancy

    This request is used to create a P2P LDP service order configured with pseudowire redundancy.

    URI

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

    HTTP Method

    POST

    Content-Type

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

    Consumes

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

    Produces

    Creates a P2P LDP service order with pseudowire redundancy.

    Input

    Sample XML Input

     
    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    <ServiceResource>
    <ServiceOrder>
    <Common>
    <Name>PTP_LDP_REDUNDANCY_API</Name>
    </Common>
    <ServiceEndPointGroup>
    <DeviceInfo>
    <NA>
    <DeviceName>junos-m10-1-space</DeviceName>
    <DeviceID>5341207</DeviceID>
    </NA>
    </DeviceInfo>
    <ServiceEndPoint>
    <InterfaceName>ge-1/3/3</InterfaceName>
    <ServiceEndpointConfiguration
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:type="PTPElineLDPEndPointConfigParameterOrderType">
    <EndPointCategory>PTP</EndPointCategory>
    <VlanId>5</VlanId>
    <MTU>1522</MTU>
    <Bandwidth unit="Mbps">10</Bandwidth>
    </ServiceEndpointConfiguration>
    </ServiceEndPoint>
    <BackUpSettings>
    <Enable>true</Enable>
    <DeviceInfo>
    <NA>
    <DeviceName>junos-mx480-space</DeviceName>
    <DeviceID>5341242</DeviceID>
    </NA>
    </DeviceInfo>
    <ServiceEndPoint>
    <InterfaceName>ge-5/0/3</InterfaceName>
    <ServiceEndpointConfiguration
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:type="PTPElineLDPEndPointConfigParameterOrderType">
    <EndPointCategory>PTP</EndPointCategory>
    <MTU>1522</MTU>
    <Bandwidth unit="Mbps">10</Bandwidth>
    <RevertTime>55</RevertTime>
    <SwitchOverDelay>11</SwitchOverDelay>
    </ServiceEndpointConfiguration>
    </ServiceEndPoint>
    </BackUpSettings>
    </ServiceEndPointGroup>
    <ServiceEndPointGroup>
    <DeviceInfo>
    <NA>
    <DeviceName>junos-mx240-space</DeviceName>
    <DeviceID>5341288</DeviceID>
    </NA>
    </DeviceInfo>
    <ServiceEndPoint>
    <InterfaceName>ge-0/2/7</InterfaceName>
    <ServiceEndpointConfiguration
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:type="PTPElineLDPEndPointConfigParameterOrderType">
    <EndPointCategory>PTP</EndPointCategory>
    <VlanId>5</VlanId>
    <MTU>1522</MTU>
    <Bandwidth unit="Mbps">10</Bandwidth>
    </ServiceEndpointConfiguration>
    </ServiceEndPoint>
    </ServiceEndPointGroup>
    <ServiceOrderParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:type="PTPConfigParameterOrderType">
    <MTU>9191</MTU>
    <VCID>2147467369</VCID>
    </ServiceOrderParameter>
    <Reference>
    <Customer key="819263"
    href="/api/space/nsas/customer-management/customers/819263"
    uri="/api/space/nsas/customer-management/customers/819263" />
    <ServiceDefinition>
    <ServiceDefinitionID key="4882432"
    href="/api/space/nsas/eline-ptp/service-management/servicedefinitions/
    4882432"
    uri="/api/space/nsas/eline-ptp/service-management/servicedefinitions/
    4882432" />
    </ServiceDefinition>
    </Reference>
    </ServiceOrder>
    </ServiceResource>
    </Data>
    

    Output

    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>9371658</Value>
    </Identity>
    <Job>
    <ID>3047524</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>
    

    Create a P2P LDP Service Order with Tag Protocol ID

    This request is used to create a P2P LDP service order configured with tag protocol ID.

    URI

    api/space/nsas/eline-ptp/service-management/
    service-orders/{service-order-id}

    HTTP Method

    POST

    Content-Type

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

    Consumes

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

    Produces

    Creates a P2P LDP service order with tag protocol ID.

    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> TPID_P2P_LDP_SO </Name>
    			</Common>			
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA>
    						<DeviceName>exora</DeviceName>
    						<DeviceID>5996551</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-0/1/1</InterfaceName>
    					<ServiceEndpointConfiguration
    						xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPElineLDPEndPointConfigParameterOrderType">
    						<OuterTPID>0x88a8</OuterTPID>
    						<InnerTPID>0x9100</InnerTPID>
    						<VlanId>1500</VlanId>
    						<CustomerVlanIdStart>1500</CustomerVlanIdStart>
    						<CustomerVlanIdEnd>1800</CustomerVlanIdEnd>
    						<MTU>1522</MTU>
    					</ServiceEndpointConfiguration>
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA>
    						<DeviceName>jaipur</DeviceName>
    						<DeviceID>5996561</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-0/1/0</InterfaceName>
    					<ServiceEndpointConfiguration
    						xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPElineLDPEndPointConfigParameterOrderType">
    						<OuterTPID>0x88a8</OuterTPID>
    						<InnerTPID>0x88a8</InnerTPID>
    						<VlanId>1500</VlanId>
    						<CustomerVlanIdStart>1500</CustomerVlanIdStart>
    						<CustomerVlanIdEnd>1800</CustomerVlanIdEnd>
    						<MTU>1522</MTU>
    					</ServiceEndpointConfiguration>
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<ServiceOrderParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    				xsi:type="PTPConfigParameterOrderType">
    				<MTU>1522</MTU>
    				<VCID>1250</VCID>
    			</ServiceOrderParameter>
    			<Reference>
    				<Customer key="426088"/>
    				<ServiceDefinition>
    					<ServiceDefinitionID key="6095018"/>
    				</ServiceDefinition>
    			</Reference>
    		</ServiceOrder>
    	</ServiceResource>
    </Data>
    
    

    Create a P2P LDP TDM Service Order with Pseudowire Redundancy

    This request is used to create a P2P LDP TDM service order configured with pseudowire redundancy.

    URI

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

    HTTP Method

    POST

    Content-Type

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

    Consumes

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

    Produces

    Creates a P2P LDP TDM service order with pseudowire redundancy.

    Input

    Sample XML Input

    <Data xmlns="services.schema.networkapi.jmp.juniper.net"> 
    <ServiceResource> 
    <ServiceOrder> 
    <Common> 
    <Name>Test_p2p_ldp_TDM_redundancy_API</Name> 
    </Common> 
    <ServiceEndPointGroup> 
    <DeviceInfo> 
    <NA> 
    <DeviceName>junos-m10-1-space</DeviceName> 
    <DeviceID>5341207</DeviceID> 
    </NA> 
    </DeviceInfo> 
    <ServiceEndPoint> 
    <InterfaceName>t1-0/2/0</InterfaceName> 
    <ServiceEndpointConfiguration 
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
    xsi:type="PTPTDMEndPointConfigParameterOrderType"> 
    <EndPointCategory>PTP</EndPointCategory> 
    </ServiceEndpointConfiguration> 
    </ServiceEndPoint> 
    </ServiceEndPointGroup> 
    <ServiceEndPointGroup> 
    <DeviceInfo>
    <NA> 
    <DeviceName>junos-space1</DeviceName> 
    <DeviceID>4980738</DeviceID> 
    </NA> 
    </DeviceInfo> 
    <ServiceEndPoint> 
    <InterfaceName>t1-0/0/1</InterfaceName> 
    <ServiceEndpointConfiguration 
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
    xsi:type="PTPTDMEndPointConfigParameterOrderType"> 
    <EndPointCategory>PTP</EndPointCategory> 
    </ServiceEndpointConfiguration> 
    </ServiceEndPoint> 
    <BackUpSettings> 
    <Enable>true</Enable> 
    <DeviceInfo>
    <NA> 
    <DeviceName>junos-mx240-space</DeviceName> 
    <DeviceID>5341288</DeviceID> 
    </NA> 
    </DeviceInfo> 
    <ServiceEndPoint> 
    <InterfaceName>ge-0/2/7</InterfaceName> 
    <ServiceEndpointConfiguration 
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
    xsi:type="PTPTDMEndPointConfigParameterOrderType"> 
    <EndPointCategory>PTP</EndPointCategory> 
    <RevertTime>14</RevertTime> 
    <SwitchOverDelay>27</SwitchOverDelay> 
    </ServiceEndpointConfiguration> 
    </ServiceEndPoint> 
    </BackUpSettings> 
    </ServiceEndPointGroup> 
    <ServiceOrderParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
    xsi:type="PTPTDMConfigParameterOrderType"> 
    <VCID>2147407969</VCID> 
    </ServiceOrderParameter> 
    <Reference> 
    <Customer key="819263" 
    href="/api/space/nsas/customer-management/customers/819263" 
    uri="/api/space/nsas/customer-management/customers/819263" /> 
    <ServiceDefinition> 
    <ServiceDefinitionID key="5210135" 
    href="/api/space/nsas/eline-ptp/service-management/servicedefinitions/
    5210135" 
    uri="/api/space/nsas/eline-ptp/service-management/servicedefinitions/
    5210135" /> 
    </ServiceDefinition> 
    </Reference> 
    </ServiceOrder> 
    </ServiceResource> 
    </Data> 
     
    

    Output

    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>9371758</Value>
    </Identity>
    <Job>
    <ID>3047654</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>
     
    

    Create a P2P LDP ATM Service Order with Pseudowire Redundancy

    This request is used to create a P2P LDP ATM service order configured with pseudowire redundancy.

    URI

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

    HTTP Method

    POST

    Content-Type

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

    Consumes

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

    Produces

    Creates a P2P LDP ATM service order with pseudowire redundancy.

    Input

    Sample XML Input

     
    <?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/3539146"
    uri="/api/space/nsas/eline-ptp/service-management/service-orders/3539146" key="3539146">
    <Common>
    <Name>ATM_Red1</Name>
    </Common>
    <ServiceEndPointGroup>
    <DeviceInfo>
    <NA>
    <DeviceName>junos-space2</DeviceName>
    <DeviceID>3441007</DeviceID>
    </NA>
    </DeviceInfo>
    <ServiceEndPoint>
    <InterfaceName>at-0/0/8</InterfaceName>
    </ServiceEndPoint>
    </ServiceEndPointGroup>
    <ServiceEndPointGroup>
    <DeviceInfo>
    <NA>
    <DeviceName>junos-m10-1-space</DeviceName>
    <DeviceID>3441456</DeviceID>
    </NA>
    </DeviceInfo>
    <ServiceEndPoint>
    <InterfaceName>at-0/3/0:3:1</InterfaceName>
    </ServiceEndPoint>
    <BackUpSettings>
    <Enable>true</Enable>
    <DeviceInfo>
    API Reference Guide - NetworkAppsAPI release 12.3 Patch
    © Juniper Networks, Inc. 147
    <NA>
    <DeviceName>junos-m10-2-space</DeviceName>
    <DeviceID>3441481</DeviceID>
    </NA>
    </DeviceInfo>
    <ServiceEndPoint>
    <InterfaceName>at-0/3/1:1:1</InterfaceName>
    <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:type="PTPATMEndPointConfigParameterOrderType">
    <RevertTime>25</RevertTime>
    <SwitchOverDelay>20</SwitchOverDelay>
    </ServiceEndpointConfiguration>
    </ServiceEndPoint>
    </BackUpSettings>
    </ServiceEndPointGroup>
    <ServiceOrderParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:type="PTPATMConfigParameterOrderType">
    <VPI>21</VPI>
    <VCI>21</VCI>
    </ServiceOrderParameter>
    <Reference>
    <Customer key="3441116"/>
    <ServiceDefinition>
    <ServiceDefinitionID key="3539127"/>
    </ServiceDefinition>
    </Reference>
    </ServiceOrder>
    </ServiceResource>
    </Data>
     
    

    Output

    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>9371767</Value>
    </Identity>
    <Job>
    <ID>3047567</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>
     
     
    

    Modify a Saved E-LINE P2P Service Order with LDP

    This request is used to modify a saved E-LINE LDP service order.

    URI

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

    HTTP Method

    POST

    Content-Type

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

    Consumes

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

    For the various options in creating ServiceOrder the options must be specified in the Action Element inside OperationSpecificData. The following values can be entered:

    • Save (Create and only Save a SO)
    • SaveAndValidate (Create, Save, and Validate a SO) Default value when no Custom action is specified.
    • SaveAndDeployNow (Create, Save, and Deploy a SO)
    • SaveAndDeployLater (Create, Save, and Deploy Later a SO)

    Produces

    Modifies a saved E-LINE LDP service order.

    Input (Ethernet–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>P2P_test_API</Name>
    			</Common>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA href="/api/space/nsas/device-roles/pe-devices/589938" uri="/api/space/nsas/device-roles/pe-devices/589938"
    						key="589938">
    						<DeviceName>exora</DeviceName>
    						<DeviceID>589938</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-1/3/0</InterfaceName>
    					<ServiceEndpointConfiguration
    						xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPElineLDPEndPointConfigParameterOrderType">
    						<VlanId>15</VlanId>
    						<MTU>1522</MTU>
    						<Bandwidth unit="Mbps">30</Bandwidth>
    					</ServiceEndpointConfiguration>
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA href="/api/space/nsas/device-roles/pe-devices/589832" uri="/api/space/nsas/device-roles/pe-devices/589832"
    						key="589832">
    						<DeviceName>kochin</DeviceName>
    						<DeviceID>589832</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-0/0/9</InterfaceName>
    					<ServiceEndpointConfiguration
    						xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPElineLDPEndPointConfigParameterOrderType">
    						<VlanId>17</VlanId>
    						<MTU>1522</MTU>
    						<Bandwidth unit="Mbps">20</Bandwidth>
    					</ServiceEndpointConfiguration>
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<ServiceOrderParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    				xsi:type="PTPConfigParameterOrderType">
    				<MTU>1522</MTU>
    				<VCID>2</VCID>
    			</ServiceOrderParameter>
    			<Reference>
    				<Customer key="589990"
    					href="/api/space/nsas/customer-management/customers/589990" uri="/api/space/nsas/customer-management/customers/589990" />
    				<ServiceDefinition>
    					<ServiceDefinitionID key="393216"
    						href="/api/space/nsas/eline-ptp/service-management/service-definitions/393216"
    						uri="/api/space/nsas/eline-ptp/service-management/service-definitions/393216" />
    				</ServiceDefinition>
    			</Reference>
    		</ServiceOrder>
    	</ServiceResource>
    </Data><CustomAction xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ServiceOrderCustomActionType">
                      <Action>SaveAndDeployNow</Action>
                      <ScheduledDateTime>2012-04-09T19:07:18.000+05:30</ScheduledDateTime>
    </CustomAction>
    </Data>
    
    
    

    Output (Ethernet–LDP)

    Sample XML Output

    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    	<Status>
    		<Identity>
    			<Type>ServiceOrder</Type>
    			<Value>6553609</Value>
    		</Identity>
    		<Job>
    			<ID>1998898</ID>
    			<Status>INPROGRESS</Status>
    		</Job>
    		<Code>200</Code>
    		<Message>Service Order Modified Successfully and Deployment is in
    			Progress. Please check the status using the JOB ID.</Message>
    	</Status>
    </Data>
    
    
    

    Input (ATM–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>ATM_P2P_API</Name>
    			</Common>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA href="/api/space/nsas/device-roles/pe-devices/589938" uri="/api/space/nsas/device-roles/pe-devices/589938"
    						key="589938">
    						<DeviceName>exora</DeviceName>
    						<DeviceID>589938</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>at-0/3/12</InterfaceName>
    					<ServiceEndpointConfiguration
    						xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPATMEndPointConfigParameterOrderType">
    						<UNIDescription>A-End</UNIDescription>
    						<CellBundleSize>1</CellBundleSize>
    					</ServiceEndpointConfiguration>	
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA href="/api/space/nsas/device-roles/pe-devices/589954" uri="/api/space/nsas/device-roles/pe-devices/589954"
    						key="589954">
    						<DeviceName>junos-space1</DeviceName>
    						<DeviceID>589954</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>at-0/0/16</InterfaceName>
    					<ServiceEndpointConfiguration
    						xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPATMEndPointConfigParameterOrderType">			
    						<UNIDescription>Z-End</UNIDescription>				
    						<CellBundleSize>1</CellBundleSize>
    					</ServiceEndpointConfiguration>		
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<ServiceOrderParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    				xsi:type="PTPATMConfigParameterOrderType">
    				<VCID>4</VCID>
                   				<VPI>7</VPI>
    			  	   <VCI>9</VCI>
    			</ServiceOrderParameter>
    			<Reference>
    				<Customer key="589990"
    					href="/api/space/nsas/customer-management/customers/589990" uri="/api/space/nsas/customer-management/customers/589990" />
    				<ServiceDefinition>
    					<ServiceDefinitionID key="393372"
    						href="/api/space/nsas/eline-ptp/service-management/service-definitions/393372"
    						uri="/api/space/nsas/eline-ptp/service-management/service-definitions/393372" />
    				</ServiceDefinition>
    			</Reference>
    		</ServiceOrder>
    	</ServiceResource>
    </Data>
    
    
    

    Output (ATM–LDP)

    Sample XML Output

    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    	<Status>
    		<Identity>
    			<Type>ServiceOrder</Type>
    			<Value>6553609</Value>
    		</Identity>
    		<Job>
    			<ID>1998898</ID>
    			<Status>INPROGRESS</Status>
    		</Job>
    		<Code>200</Code>
    		<Message>Service Order Modified Successfully and Validation is in
    			Progress. Please check the status using the JOB ID.</Message>
    	</Status>
    </Data>
    
    
    

    Input (TDM–LDP)

    Sample XML Input

    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    	<ServiceResource>
    		<ServiceOrder>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA href="/api/space/nsas/device-roles/pe-devices/589954" uri="/api/space/nsas/device-roles/pe-devices/589954"
    						key="589954">
    						<DeviceName>junos-space1</DeviceName>
    						<DeviceID>589954</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>t1-0/0/12</InterfaceName>
    					<ServiceEndpointConfiguration
    						xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPTDMEndPointConfigParameterOrderType">
    						<PhysicalEncapsulation>SATOP</PhysicalEncapsulation>						
    						<JitterBuffer>5</JitterBuffer>
    						<IdlePattern>255</IdlePattern>
    						<ExcessPacketLossRate>20</ExcessPacketLossRate>
    						<PayloadSize>192</PayloadSize>
    					</ServiceEndpointConfiguration>			
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA href="/api/space/nsas/device-roles/pe-devices/0" uri="/api/space/nsas/device-roles/pe-devices/0"
    						key="0">
    						<DeviceName>UnmanagedDevice</DeviceName>
    						<DeviceID>0</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>1/2/3</InterfaceName>
    					<LoopbackIP>30.1.2.7</LoopbackIP>
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<ServiceOrderParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    				xsi:type="PTPTDMConfigParameterOrderType">
    				<VCID>3</VCID>
    			</ServiceOrderParameter>
    			<Reference>
    				<Customer key="589990"
    					href="/api/space/nsas/customer-management/customers/589990" uri="/api/space/nsas/customer-management/customers/589990" />
    				<ServiceDefinition>
    					<ServiceDefinitionID key="393340"
    						href="/api/space/nsas/eline-ptp/service-management/service-definitions/393340"
    						uri="/api/space/nsas/eline-ptp/service-management/service-definitions/393340" />
    				</ServiceDefinition>
    			</Reference>
    		</ServiceOrder>
    	</ServiceResource>
    </Data>
    
    
    

    Output (TDM–LDP)

    Sample XML Output

    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    	<Status>
    		<Identity>
    			<Type>ServiceOrder</Type>
    			<Value>6553609</Value>
    		</Identity>
    		<Job>
    			<ID>1998898</ID>
    			<Status>INPROGRESS</Status>
    		</Job>
    		<Code>200</Code>
    		<Message>Service Order Modified Successfully and Validation is in
    			Progress. Please check the status using the JOB ID.</Message>
    	</Status>
    </Data>
    
    
    

    Modify a Saved E-LINE P2P Service Order (Version 2)

    This request is used to modify a saved E-LINE P2P service order.

    URI

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

    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

    Modifies a saved E-LINE P2P service order.

    Input

    Sample XML Input

     <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    <ServiceResource>
    	<ServiceOrder>
    		<Common>
    			<Name>P2P_LDP_Modify_SO_MTUBased_API_Test01</Name>
    			<Comments>P2P service order</Comments>
    		</Common>
    		<ServiceEndPointGroup>
    			<DeviceInfo>
    				<NA>
    					<DeviceName>embassy</DeviceName>
                                            <DeviceID>557096</DeviceID>
    				</NA>
    			</DeviceInfo>
    			<ServiceEndPoint>
    				    <InterfaceName>ge-1/1/3</InterfaceName>
    				<ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"	xsi:type="PTPElineLDPEndPointConfigParameterOrderType">
    					<EndPointCategory>PTP</EndPointCategory>
                                            <UnitId>56</UnitId>					
    				</ServiceEndpointConfiguration>
    			</ServiceEndPoint>
    		</ServiceEndPointGroup>
    		<ServiceEndPointGroup>
    			<DeviceInfo>
    				<NA>
    					<DeviceName>junos-mx240-space</DeviceName>
                                             <DeviceID>557076</DeviceID>
    				</NA>
    			</DeviceInfo>
    			<ServiceEndPoint>
    				 <InterfaceName>ae2</InterfaceName>
    				<ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"	xsi:type="PTPElineLDPEndPointConfigParameterOrderType">
    					<EndPointCategory>PTP</EndPointCategory>
                                           <UnitId>56</UnitId>
    				</ServiceEndpointConfiguration>
    			</ServiceEndPoint>
    		</ServiceEndPointGroup>
    		<ServiceOrderParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPConfigParameterOrderType">
                         <OuterVlanTagToStack>12</OuterVlanTagToStack>
    	       <InnerVlanTagToStack>14</InnerVlanTagToStack>
                          <BurstPeriod >56</BurstPeriod>
    		</ServiceOrderParameter>
    		<Reference>
    		<Customer key="851968"/>
    		<ServiceDefinition>
    			<ServiceDefinitionID key="917590"/>
    		</ServiceDefinition>
    		</Reference>
    	</ServiceOrder>
    </ServiceResource>
    		<CustomAction xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ServiceOrderCustomActionType">
    		<Action>SaveAndDeployNow</Action>
    		</CustomAction>
    </Data>
    
    

    Output

    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>1507439</Value>
    		</Identity>
    		<Job>
    			<ID>622660</ID>
    			<Status>INPROGRESS</Status>
    		</Job>
    		<Code>200</Code>
    		<Message>Service Order Modified Successfully and Deployment is in
    			Progress. Please check the status using the JOB ID.</Message>
    	</Status>
    </Data>
    
     
    

    Modify a Saved E-LINE LDP Service Order with Ethernet Option as Asymmetric Tag Depth

    This request is used to modify a saved E-LINE LDP service order configured with flexible VLAN tagging (asymmetric tag depth) as the Ethernet option.

    URI

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

    HTTP Method

    POST

    Content-Type

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

    Consumes

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

    Produces

    Modifies a saved E-LINE LDP service order configured with flexible VLAN tagging (asymmetric tag depth) as the Ethernet option.

    Input (Ethernet LDP)

    Sample XML Input

    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
        <ServiceResource>
        <ServiceOrder>
        <Common>
                 <Name>P2P_LDP_Asymmetric_ModifySO_API</Name>
                 <Comments>sdfsf</Comments>
        </Common>
        <ServiceType>Point-to-Point Pseudowire</ServiceType>
        <Signaling>LDP</Signaling>
        <Action>Provisioning</Action>
        <ServiceEndPointGroup>
        <DeviceInfo>
        <NA key="524504" uri="/api/space/nsas/device-roles/pe-devices/524504" href="/api/space/nsas/device-roles/pe-devices/524504">
        <DeviceName>embassy</DeviceName>
        <DeviceID>524504</DeviceID>
        </NA>
        </DeviceInfo>
        <ServiceEndPoint>
        <InterfaceName>ge-1/1/2</InterfaceName>
        <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPElineLDPEndPointConfigParameterOrderType">
        <PEDevLoopBackIP>50.1.2.4</PEDevLoopBackIP>
        <EndPointCategory>PTP</EndPointCategory>
        <TrafficType>QINQ Transport single vlan</TrafficType>
       <EthernetOption>qinq</EthernetOption>
        <UNIDescription>sdfsd</UNIDescription>
        <CustomerVlanId>1</CustomerVlanId>
        </ServiceEndpointConfiguration>
        </ServiceEndPoint>
        </ServiceEndPointGroup>
        <ServiceEndPointGroup>
        <DeviceInfo>
        <NA key="524452" uri="/api/space/nsas/device-roles/pe-devices/524452" href="/api/space/nsas/device-roles/pe-devices/524452">
        <DeviceName>junos-mx80-1-space</DeviceName>
        <DeviceID>524452</DeviceID>
        </NA>
        </DeviceInfo>
        <ServiceEndPoint>
        <InterfaceName>ge-1/2/8</InterfaceName>
        <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPElineLDPEndPointConfigParameterOrderType">
        <PEDevLoopBackIP>30.1.2.5</PEDevLoopBackIP>
        <EndPointCategory>PTP</EndPointCategory>
        <TrafficType>QINQ Transport single vlan</TrafficType>
        <EthernetOption>qinq</EthernetOption>
        <UNIDescription>sdfdsfs</UNIDescription>
        <CustomerVlanId>1</CustomerVlanId>
        </ServiceEndpointConfiguration>
        </ServiceEndPoint>
        </ServiceEndPointGroup>
        <ServiceOrderParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPConfigParameterOrderType">
        <VlanNormalization>Normalize to Dot1q tag</VlanNormalization>
        <VlanTagToStack>1</VlanTagToStack>
        </ServiceOrderParameter>
        <Reference>
        <Customer key="524615"/>
        <ServiceDefinition>
        <ServiceDefinitionID key="393587"/>
        </ServiceDefinition>
        <Service key="393576"/>
        </Reference>
        </ServiceOrder>
        </ServiceResource>
        </Data>
    
    

    Output

    Sample XML Output

    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    	<Status>
    		<Identity>
    			<Type>ServiceOrder</Type>
    			<Value>6553609</Value>
    		</Identity>
    		<Job>
    			<ID>1998898</ID>
    			<Status>INPROGRESS</Status>
    		</Job>
    		<Code>200</Code>
    		<Message>Service Order Modified Successfully and Deployment is in
    			Progress. Please check the status using the JOB ID.</Message>
    	</Status>
    </Data>
    
    
    

    Modify a Saved E-LINE LDP Service Order with Static Pseudowires

    This request is used to modify a saved E-LINE LDP service order configured with static pseudowires.

    URI

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

    HTTP Method

    POST

    Content-Type

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

    Consumes

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

    Produces

    Modifies a saved E-LINE LDP service order with static pseudowires.

    Input

    Sample XML Input

    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
        <ServiceResource>
        <ServiceOrder>
        <Common>
            <Name>P2P_LDP_E_SPW_ModifySO_API</Name>
            <Comments>fdgdfgdf</Comments>
        </Common>
        <ServiceType>Point-to-Point Pseudowire</ServiceType>
        <Signaling>LDP</Signaling>
        <Action>Provisioning</Action>
        <ServiceEndPointGroup>
        <DeviceInfo>
        <NA key="524440" uri="/api/space/nsas/device-roles/pe-devices/524440" href="/api/space/nsas/device-roles/pe-devices/524440">
              <DeviceName>embassy</DeviceName>
              <DeviceID>524440</DeviceID>
        </NA>
        </DeviceInfo>
        <ServiceEndPoint>
            <InterfaceName>ge-1/0/7</InterfaceName>
        <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPElineLDPEndPointConfigParameterOrderType">
             <EndPointCategory>PTP</EndPointCategory>
             <UNIDescription>hgfh</UNIDescription>
             <CustomerVlanId>1</CustomerVlanId>
             <OutgoingLabel>1000000</OutgoingLabel>
         </ServiceEndpointConfiguration>
        </ServiceEndPoint>
        </ServiceEndPointGroup>
        <ServiceEndPointGroup>
        <DeviceInfo>
        <NA key="524296" uri="/api/space/nsas/device-roles/pe-devices/524296" href="/api/space/nsas/device-roles/pe-devices/524296">
              <DeviceName>junos-mx240-space</DeviceName>
              <DeviceID>524296</DeviceID>
        </NA>
        </DeviceInfo>
        <ServiceEndPoint>
             <InterfaceName>em0</InterfaceName>
        <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPElineLDPEndPointConfigParameterOrderType">
             <EndPointCategory>PTP</EndPointCategory>
             <UNIDescription>rtyrtutyu</UNIDescription>
             <CustomerVlanId>1</CustomerVlanId>
             <OutgoingLabel>1000000</OutgoingLabel>
        </ServiceEndpointConfiguration>
        </ServiceEndPoint>
        </ServiceEndPointGroup>
        <ServiceOrderParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPConfigParameterOrderType">
        <VlanNormalization>Normalize to QinQ tags</VlanNormalization>
        <OuterVlanTagToStack>1</OuterVlanTagToStack>
        <InnerVlanTagToStack>1</InnerVlanTagToStack>
        </ServiceOrderParameter>
        <Reference>
            <Customer key="525406"/>
          <ServiceDefinition>
               <ServiceDefinitionID key="393589"/>
          </ServiceDefinition>
        </Reference>
        </ServiceOrder>
        </ServiceResource>
       <CustomAction xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ServiceOrderCustomActionType">
    		<Action>SaveAndDeployNow</Action>
       </CustomAction>
        </Data>
    
    

    Output

    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>393666</Value>
        </Identity>
        <Job>
        <ID>196644</ID>
        <Status>INPROGRESS</Status>
        </Job>
        <Code>200</Code>
        <Message>The Service Order Modified Successfully and Deployment is in Progress. Please check the status using the JOB ID.</Message>
        </Status>
        </Data>
    
    

    Modify a Saved E-LINE LDP Service Order with Multisegment Pseudowires

    This request is used to modify a saved E-LINE LDP service order configured with multisegment pseudowires.

    URI

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

    HTTP Method

    POST

    Content-Type

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

    Consumes

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

    Produces

    Modifies a saved E-LINE LDP service order with multisegment pseudowires.

    Input (Ethernet LDP)

    Sample XML Input

    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
        <ServiceResource>
        <ServiceOrder>
        <Common>
        <Name>P2P_LDP_Multiseg_SO_API_Test</Name>
         <Comments>dsfdsf</Comments>
        </Common>
        <ServiceType>Point-to-Point Pseudowire</ServiceType>
        <Signaling>LDP</Signaling>
        <Action>Provisioning</Action>
        <ServiceEndPointGroup>
        <DeviceInfo>
        <NA key="524351" uri="/api/space/nsas/device-roles/pe-devices/524351" href="/api/space/nsas/device-roles/pe-devices/524351">
        <DeviceName>embassy</DeviceName>
        <DeviceID>524351</DeviceID>
        </NA>
        </DeviceInfo>
        <ServiceEndPoint>
        <InterfaceName>ge-1/1/4</InterfaceName>
        <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPElineLDPEndPointConfigParameterOrderType">
        <PEDevLoopBackIP>50.1.2.4</PEDevLoopBackIP>
        <EndPointCategory>PTP</EndPointCategory>
        <UNIDescription>safsdfsdf</UNIDescription>
        </ServiceEndpointConfiguration>
        </ServiceEndPoint>
        </ServiceEndPointGroup>
        <ServiceEndPointGroup>
        <DeviceInfo>
        <NA key="525406" uri="/api/space/nsas/device-roles/pe-devices/525406" href="/api/space/nsas/device-roles/pe-devices/525406">
        <DeviceName>junos-space3</DeviceName>
        <DeviceID>525406</DeviceID>
        </NA>
        </DeviceInfo>
        <ServiceEndPoint>
        <InterfaceName>iw0</InterfaceName>
        <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPElineLDPEndPointConfigParameterOrderType">
        <PEDevLoopBackIP>30.1.2.9</PEDevLoopBackIP>
        <EndPointCategory>PTP</EndPointCategory>
        <StitchingUnit>200</StitchingUnit>
        <UNIDescription>sdfdsf</UNIDescription>
        </ServiceEndpointConfiguration>
        </ServiceEndPoint>
        </ServiceEndPointGroup>
        <ServiceOrderParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPConfigParameterOrderType">
        <VlanNormalization>Normalization not required</VlanNormalization>
        </ServiceOrderParameter>
        <Reference>
        <Customer key="525426"/>
        <ServiceDefinition>
        <ServiceDefinitionID  key="393544"/>
        </ServiceDefinition>
        <Service key="393574"/>
        </Reference>
        </ServiceOrder>
        </ServiceResource>
        </Data>
    
    

    Output

    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>884775</Value>
        </Identity>
        <Job>
        <ID>294932</ID>
        <Status>INPROGRESS</Status>
        </Job>
        <Code>200</Code>
        <Message>The Service Order Modified Successfully and Validation is in Progress. Please check the status using the JOB ID.</Message>
        </Status>
        </Data>
    
    

    Modify a Saved E-LINE LDP Service Order with MC-LAG Interfaces

    This request is used to modify a saved E-LINE LDP service order configured with MC-LAG interfaces.

    URI

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

    HTTP Method

    POST

    Content-Type

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

    Consumes

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

    Produces

    Modifies a saved E-LINE LDP service order with MC-LAG interfaces.

    Input (Ethernet LDP)

    Sample XML Input

        <Data xmlns="services.schema.networkapi.jmp.juniper.net">
        <ServiceResource>
        <ServiceOrder>
        <Common>
            <Name>MC_LAG_Modify_API_002</Name>
            <Comments>rtert</Comments>
         </Common>
        <ServiceType>Point-to-Point Pseudowire</ServiceType>
        <Signaling>LDP</Signaling>
        <Action>Provisioning</Action>
        <ServiceEndPointGroup>
        <DeviceInfo>
        <NA>
             <DeviceName>junos-mx240-space</DeviceName>
             <DeviceID>524419</DeviceID>
        </NA>
        </DeviceInfo>
        <ServiceEndPoint>
        <InterfaceName>ge-0/0/7</InterfaceName>
        <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPElineLDPEndPointConfigParameterOrderType">
        <PEDevLoopBackIP>30.1.2.1</PEDevLoopBackIP>
        <EndPointCategory>PTP</EndPointCategory>
        <UNIDescription>gfhgfhg</UNIDescription>
        </ServiceEndpointConfiguration>
        </ServiceEndPoint>
           <BackUpSettings>
               <Enable>true</Enable>
                <DeviceInfo>
                        <NA>
                             <DeviceName>junos-space5</DeviceName>
                             <DeviceID>525453</DeviceID>
                        </NA>
                </DeviceInfo>
              <ServiceEndPoint>
                        <InterfaceName>ge-0/1/7</InterfaceName>
                        <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPElineLDPEndPointConfigParameterOrderType">
                        </ServiceEndpointConfiguration>
                        <Description>gfhgfhg</Description>
             </ServiceEndPoint>
          </BackUpSettings>
        </ServiceEndPointGroup>
        <ServiceEndPointGroup>
        <DeviceInfo>
        <NA>
                      <DeviceName>junos-mx80-1-space</DeviceName>
                      <DeviceID>524367</DeviceID>
        </NA>
        </DeviceInfo>
        <ServiceEndPoint>
                     <InterfaceName>ge-1/0/9</InterfaceName>
          <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPElineLDPEndPointConfigParameterOrderType">
                     <PEDevLoopBackIP>30.1.2.5</PEDevLoopBackIP>
                     <EndPointCategory>PTP</EndPointCategory>
                    <UNIDescription>rthyrthy</UNIDescription>
         </ServiceEndpointConfiguration>
         </ServiceEndPoint>
        <BackUpSettings>
                 <Enable>true</Enable>
                    <DeviceInfo>
                       <NA>
                          <DeviceName>junos-space3</DeviceName>
                          <DeviceID>525483</DeviceID>
                      </NA>
                </DeviceInfo>
        <ServiceEndPoint>
                    <InterfaceName>ae2</InterfaceName>
          <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPElineLDPEndPointConfigParameterOrderType">
          </ServiceEndpointConfiguration>
              <Description>rthyrthy</Description>
        </ServiceEndPoint>
        </BackUpSettings>
        </ServiceEndPointGroup>
        <ServiceOrderParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPConfigParameterOrderType">
        <VlanNormalization>Normalization not required</VlanNormalization>
        <EnableMCLAG>true</EnableMCLAG>
        </ServiceOrderParameter>
        <Reference>
        <Customer key="525504"/>
        <ServiceDefinition>
        <ServiceDefinitionID key="394022"/>
        </ServiceDefinition>
        <Service key="819243"/>
        </Reference>
        </ServiceOrder>
        </ServiceResource>
        </Data>
    
    
    

    Output

    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>819399</Value>
        </Identity>
        <Job>
        <ID>327782</ID>
        <Status>INPROGRESS</Status>
        </Job>
        <Code>200</Code>
        <Message>The Service Order Modified Successfully and Validation is in Progress. Please check the status using the JOB ID.</Message>
        </Status>
        </Data>
    
    
    
    

    Get E-LINE LDP ATM Service Order Details with MC-APS

    This request is used to retrieve the details of a particular Layer 2 Ethernet Private Line (EPL, also called E-LINE) LDP service order with multichassis automatic protection switching based on the service order ID.

    URI

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

    HTTP Method

    GET

    Consumes

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

    Produces

    Collects the details of a specific E-LINE LDP ATM service order with MC-APS.

    Output

    Sample XML Output

    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    	<ServiceResource>
    		<ServiceOrder key="2064572" uri="/api/space/nsas/eline-ptp/service-management/service-orders/2064572" href="/api/space/nsas/eline-ptp/service-management/service-orders/2064572">
    			<Common>
    				<Name>ATM_LDP_MCAPS_Modify_SO_API_03</Name>
    				<Identity>2064572</Identity>
    				<State>Validated</State>
    				<Comments>rtyrty</Comments>
    				<CreatedDate>2014-12-12T17:27:29.000+05:30</CreatedDate>
    				<LastUpdatedDate>2014-12-12T17:27:28.000+05:30</LastUpdatedDate>
    				<CreatedBy>super</CreatedBy>
    			</Common>
    			<ServiceType>Point-to-Point Pseudowire</ServiceType>
    			<Signaling>LDP</Signaling>
    			<Action>Provisioning</Action>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA key="558223" uri="/api/space/nsas/device-roles/pe-devices/558223" href="/api/space/nsas/device-roles/pe-devices/558223">
    						<DeviceName>fortius-f2100-a</DeviceName>
    						<DeviceID>558223</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>at-0/0/10</InterfaceName>
    					<ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPATMEndPointConfigParameterOrderType">
    						<EndPointCategory>PTP</EndPointCategory>
    						<PhysicalEncapsulation>atm-ccc-cell-relay</PhysicalEncapsulation>
    						<UNIDescription>erterter</UNIDescription>
    						<VPI>30</VPI>
    						<VCI>34</VCI>
    						<CellBundleSize>1</CellBundleSize>
    					</ServiceEndpointConfiguration>
    					<ServiceTemplates/>
    				</ServiceEndPoint>
    				<BackUpSettings>
    					<Enable>true</Enable>
    					<DeviceInfo>
    						<NA key="558152" uri="/api/space/nsas/device-roles/pe-devices/558152" href="/api/space/nsas/device-roles/pe-devices/558152">
    							<DeviceName>fortius-f2100-b</DeviceName>
    							<DeviceID>558152</DeviceID>
    						</NA>
    					</DeviceInfo>
    					<ServiceEndPoint>
    						<InterfaceName>at-0/0/8</InterfaceName>
    						<ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPATMEndPointConfigParameterOrderType">
    							<RevertTime>5</RevertTime>
    							<SwitchOverDelay>0</SwitchOverDelay>
    						</ServiceEndpointConfiguration>
    						<Description>erterter</Description>
    					</ServiceEndPoint>
    				</BackUpSettings>
    			</ServiceEndPointGroup>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA key="558170" uri="/api/space/nsas/device-roles/pe-devices/558170" href="/api/space/nsas/device-roles/pe-devices/558170">
    						<DeviceName>junos-space1</DeviceName>
    						<DeviceID>558170</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>at-0/0/16</InterfaceName>
    					<ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPATMEndPointConfigParameterOrderType">
    						<EndPointCategory>PTP</EndPointCategory>
    						<PhysicalEncapsulation>atm-ccc-cell-relay</PhysicalEncapsulation>
    						<UNIDescription>7657</UNIDescription>
    						<VPI>30</VPI>
    						<VCI>34</VCI>
    						<CellBundleSize>1</CellBundleSize>
    					</ServiceEndpointConfiguration>
    					<ServiceTemplates/>
    				</ServiceEndPoint>
    				<BackUpSettings>
    					<Enable>true</Enable>
    					<DeviceInfo>
    						<NA key="558189" uri="/api/space/nsas/device-roles/pe-devices/558189" href="/api/space/nsas/device-roles/pe-devices/558189">
    							<DeviceName>junos-space3</DeviceName>
    							<DeviceID>558189</DeviceID>
    						</NA>
    					</DeviceInfo>
    					<ServiceEndPoint>
    						<InterfaceName>at-0/0/16</InterfaceName>
    						<ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPATMEndPointConfigParameterOrderType">
    							<RevertTime>5</RevertTime>
    							<SwitchOverDelay>0</SwitchOverDelay>
    						</ServiceEndpointConfiguration>
    						<Description>7657</Description>
    					</ServiceEndPoint>
    				</BackUpSettings>
    			</ServiceEndPointGroup>
    			<ServiceOrderParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPATMConfigParameterOrderType">
    				<VCID>2147467365</VCID>
    				<VlanNormalization>Swap</VlanNormalization>
    				<EnableMCAPS>true</EnableMCAPS>
    			</ServiceOrderParameter>
    			<Reference>
    				<Customer uri="/api/space/nsas/customer-management/customers/558251" href="/api/space/nsas/customer-management/customers/558251" key="558251"/>
    				<ServiceDefinition>
    					<ServiceDefinitionID uri="/api/space/nsas/eline-ptp/service-management/service-definitions/2064384" href="/api/space/nsas/eline-ptp/service-management/service-definitions/2064384" key="2064384"/>
    				</ServiceDefinition>
    			</Reference>
    		</ServiceOrder>
    	</ServiceResource>
    </Data>
    
    

    Create an E-LINE LDP ATM Service Order with MC-APS

    This request is used to create an E-LINE LDP ATM service order for MC-APS.

    URI

    api/space/nsas/eline-ptp/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 an E-LINE LDP ATM service order for MC-APS.

    Input

    Sample XML Input

    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    	<ServiceResource>
    		<ServiceOrder>
    			<Common>
    				<Name>ATM_LDP_MCAPS_SO_API</Name>
    				<Comments>rtyrty</Comments>
    			</Common>
    			<ServiceType>Point-to-Point Pseudowire</ServiceType>
    			<Signaling>LDP</Signaling>
    			<Action>Provisioning</Action>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA key="558223" uri="/api/space/nsas/device-roles/pe-devices/558223" href="/api/space/nsas/device-roles/pe-devices/558223">
    						<DeviceName>fortius-f2100-a</DeviceName>
    						<DeviceID>558223</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>at-0/0/10</InterfaceName>
    					<ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPATMEndPointConfigParameterOrderType">
    						<EndPointCategory>PTP</EndPointCategory>
    						<UNIDescription>erterter</UNIDescription>
    					</ServiceEndpointConfiguration>
    				</ServiceEndPoint>
    				<BackUpSettings>
    					<Enable>true</Enable>
    					<DeviceInfo>
    						<NA key="558152" uri="/api/space/nsas/device-roles/pe-devices/558152" href="/api/space/nsas/device-roles/pe-devices/558152">
    							<DeviceName>fortius-f2100-b</DeviceName>
    							<DeviceID>558152</DeviceID>
    						</NA>
    					</DeviceInfo>
    					<ServiceEndPoint>
    						<InterfaceName>at-0/0/8</InterfaceName>
    						<ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPATMEndPointConfigParameterOrderType">
        </ServiceEndpointConfiguration>
    						<Description>erterter</Description>
    					</ServiceEndPoint>
    				</BackUpSettings>
    			</ServiceEndPointGroup>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA key="558170" uri="/api/space/nsas/device-roles/pe-devices/558170" href="/api/space/nsas/device-roles/pe-devices/558170">
    						<DeviceName>junos-space1</DeviceName>
    						<DeviceID>558170</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>at-0/0/16</InterfaceName>
    					<ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPATMEndPointConfigParameterOrderType">
    						<EndPointCategory>PTP</EndPointCategory>
    						<UNIDescription>7657</UNIDescription>
    					</ServiceEndpointConfiguration>
    				</ServiceEndPoint>
    				<BackUpSettings>
    					<Enable>true</Enable>
    					<DeviceInfo>
    						<NA key="558189" uri="/api/space/nsas/device-roles/pe-devices/558189" href="/api/space/nsas/device-roles/pe-devices/558189">
    							<DeviceName>junos-space3</DeviceName>
    							<DeviceID>558189</DeviceID>
    						</NA>
    					</DeviceInfo>
    					<ServiceEndPoint>
    						<InterfaceName>at-0/0/16</InterfaceName>
    						<ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPATMEndPointConfigParameterOrderType">
        </ServiceEndpointConfiguration>
    						<Description>7657</Description>
    					</ServiceEndPoint>
    				</BackUpSettings>
    			</ServiceEndPointGroup>
    			<ServiceOrderParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPATMConfigParameterOrderType">
    				<VPI>30</VPI>
    				<VCI>34</VCI>
    				<VlanNormalization>Swap</VlanNormalization>
    				<EnableMCAPS>true</EnableMCAPS>
    			</ServiceOrderParameter>
    			<Reference>
    				<Customer key="558251"/>
    				<ServiceDefinition>
    					<ServiceDefinitionID key="2064384"/>
    				</ServiceDefinition>
    				<Service key="2064425"/>
    			</Reference>
    		</ServiceOrder>
    	</ServiceResource>
    </Data>
    
    

    Output

    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>2064470</Value>
    		</Identity>
    		<Job>
    			<ID>524514</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>
    
    

    Modify an E-LINE LDP ATM Service Order with MC-APS

    This request is used to modify a saved E-LINE LDP ATM service order configured with MC-APS.

    URI

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

    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

    Modifies a saved E-LINE LDP ATM service order with MC-APS.

    Input

    Sample XML Input

    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    	<ServiceResource>
    		<ServiceOrder>
    			<Common>
    				<Name>ATM_LDP_MCAPS_Modify_SO_API</Name>
    				<Comments>rtyrty</Comments>
    			</Common>
    			<ServiceType>Point-to-Point Pseudowire</ServiceType>
    			<Signaling>LDP</Signaling>
    			<Action>Provisioning</Action>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA key="558223" uri="/api/space/nsas/device-roles/pe-devices/558223" href="/api/space/nsas/device-roles/pe-devices/558223">
    						<DeviceName>fortius-f2100-a</DeviceName>
    						<DeviceID>558223</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>at-0/0/10</InterfaceName>
    					<ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPATMEndPointConfigParameterOrderType">
    						<EndPointCategory>PTP</EndPointCategory>
    						<UNIDescription>erterter</UNIDescription>
    					</ServiceEndpointConfiguration>
    				</ServiceEndPoint>
    				<BackUpSettings>
    					<Enable>true</Enable>
    					<DeviceInfo>
    						<NA key="558152" uri="/api/space/nsas/device-roles/pe-devices/558152" href="/api/space/nsas/device-roles/pe-devices/558152">
    							<DeviceName>fortius-f2100-b</DeviceName>
    							<DeviceID>558152</DeviceID>
    						</NA>
    					</DeviceInfo>
    					<ServiceEndPoint>
    						<InterfaceName>at-0/0/8</InterfaceName>
    						<ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPATMEndPointConfigParameterOrderType">
        </ServiceEndpointConfiguration>
    						<Description>erterter</Description>
    					</ServiceEndPoint>
    				</BackUpSettings>
    			</ServiceEndPointGroup>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA key="558170" uri="/api/space/nsas/device-roles/pe-devices/558170" href="/api/space/nsas/device-roles/pe-devices/558170">
    						<DeviceName>junos-space1</DeviceName>
    						<DeviceID>558170</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>at-0/0/16</InterfaceName>
    					<ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPATMEndPointConfigParameterOrderType">
    						<EndPointCategory>PTP</EndPointCategory>
    						<UNIDescription>7657</UNIDescription>
    					</ServiceEndpointConfiguration>
    				</ServiceEndPoint>
    				<BackUpSettings>
    					<Enable>true</Enable>
    					<DeviceInfo>
    						<NA key="558189" uri="/api/space/nsas/device-roles/pe-devices/558189" href="/api/space/nsas/device-roles/pe-devices/558189">
    							<DeviceName>junos-space3</DeviceName>
    							<DeviceID>558189</DeviceID>
    						</NA>
    					</DeviceInfo>
    					<ServiceEndPoint>
    						<InterfaceName>at-0/0/16</InterfaceName>
    						<ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPATMEndPointConfigParameterOrderType">
        </ServiceEndpointConfiguration>
    						<Description>7657</Description>
    					</ServiceEndPoint>
    				</BackUpSettings>
    			</ServiceEndPointGroup>
    			<ServiceOrderParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPATMConfigParameterOrderType">
    				<VPI>30</VPI>
    				<VCI>34</VCI>
    				<VlanNormalization>Swap</VlanNormalization>
    				<EnableMCAPS>true</EnableMCAPS>
    			</ServiceOrderParameter>
    			<Reference>
    				<Customer key="558251"/>
    				<ServiceDefinition>
    					<ServiceDefinitionID key="2064384"/>
    				</ServiceDefinition>
    				<Service key="2064425"/>
    			</Reference>
    		</ServiceOrder>
    	</ServiceResource>
    </Data>
    
    

    Output

    Sample XML Output

    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    	<Status>
    		<Identity>
    			<Type>ServiceOrder</Type>
    			<Value>2064487</Value>
    		</Identity>
    		<Job>
    			<ID>524515</ID>
    			<Status>INPROGRESS</Status>
    		</Job>
    		<Code>200</Code>
    		<Message>The Service Order Modified Successfully and Validation is in Progress. Please check the status using the JOB ID.</Message>
    	</Status>
    </Data>
    
    

    Get E-LINE LDP TDM Service Order Details with MC-APS

    This request is used to retrieve the details of a particular Layer 2 Ethernet Private Line (EPL, also called E-LINE) LDP service order with multichassis automatic protection switching based on the service order ID.

    URI

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

    HTTP Method

    GET

    Consumes

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

    Produces

    Collects the details of a specific E-LINE LDP TDM service order with MC-APS.

    Output

    Sample XML Output

    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    	<ServiceResource>
    		<ServiceOrder key="393568" uri="/api/space/nsas/eline-ptp/service-management/service-orders/393568" href="/api/space/nsas/eline-ptp/service-management/service-orders/393568">
    			<Common>
    				<Name>P2P_LDP_TDM_SO</Name>
    				<Identity>393568</Identity>
    				<State>Validated</State>
    				<Comments>dfsdf</Comments>
    				<CreatedDate>2014-12-17T13:07:04.000+05:30</CreatedDate>
    				<LastUpdatedDate>2014-12-17T13:07:03.000+05:30</LastUpdatedDate>
    				<CreatedBy>super</CreatedBy>
    			</Common>
    			<ServiceType>Point-to-Point Pseudowire</ServiceType>
    			<Signaling>LDP</Signaling>
    			<Action>Provisioning</Action>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA key="558264" uri="/api/space/nsas/device-roles/pe-devices/558264" href="/api/space/nsas/device-roles/pe-devices/558264">
    						<DeviceName>junos-space3</DeviceName>
    						<DeviceID>558264</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>t1-0/0/1</InterfaceName>
    					<ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPTDMEndPointConfigParameterOrderType">
    						<EndPointCategory>PTP</EndPointCategory>
    						<TrafficType>Transport using port</TrafficType>
    						<PhysicalEncapsulation>satop</PhysicalEncapsulation>
    						<UNIDescription>dfgdgfd</UNIDescription>
    						<JitterBuffer>5</JitterBuffer>
    						<IdlePattern>255</IdlePattern>
    						<ExcessPacketLossRate>20</ExcessPacketLossRate>
    						<PayloadSize>192</PayloadSize>
    					</ServiceEndpointConfiguration>
    					<ServiceTemplates/>
    				</ServiceEndPoint>
    				<BackUpSettings>
    					<Enable>true</Enable>
    					<DeviceInfo>
    						<NA key="558264" uri="/api/space/nsas/device-roles/pe-devices/558264" href="/api/space/nsas/device-roles/pe-devices/558264">
    							<DeviceName>junos-space3</DeviceName>
    							<DeviceID>558264</DeviceID>
    						</NA>
    					</DeviceInfo>
    					<ServiceEndPoint>
    						<InterfaceName>t1-0/0/0</InterfaceName>
    						<ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPTDMEndPointConfigParameterOrderType">
    							<RevertTime>5</RevertTime>
    							<SwitchOverDelay>0</SwitchOverDelay>
    						</ServiceEndpointConfiguration>
    						<Description>dfgdgfd</Description>
    					</ServiceEndPoint>
    				</BackUpSettings>
    			</ServiceEndPointGroup>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA key="558202" uri="/api/space/nsas/device-roles/pe-devices/558202" href="/api/space/nsas/device-roles/pe-devices/558202">
    						<DeviceName>fortius-f2100-b</DeviceName>
    						<DeviceID>558202</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>t1-0/0/7</InterfaceName>
    					<ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPTDMEndPointConfigParameterOrderType">
    						<EndPointCategory>PTP</EndPointCategory>
    						<TrafficType>Transport using port</TrafficType>
    						<PhysicalEncapsulation>satop</PhysicalEncapsulation>
    						<UNIDescription>adsafds</UNIDescription>
    						<JitterBuffer>5</JitterBuffer>
    						<IdlePattern>255</IdlePattern>
    						<ExcessPacketLossRate>20</ExcessPacketLossRate>
    						<PayloadSize>192</PayloadSize>
    					</ServiceEndpointConfiguration>
    					<ServiceTemplates/>
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<ServiceOrderParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPTDMConfigParameterOrderType">
    				<VCID>2147467285</VCID>
    				<EnableMCAPS>true</EnableMCAPS>
    			</ServiceOrderParameter>
    			<Reference>
    				<Customer uri="/api/space/nsas/customer-management/customers/558292" href="/api/space/nsas/customer-management/customers/558292" key="558292"/>
    				<ServiceDefinition>
    					<ServiceDefinitionID uri="/api/space/nsas/eline-ptp/service-management/service-definitions/393544" href="/api/space/nsas/eline-ptp/service-management/service-definitions/393544" key="393544"/>
    				</ServiceDefinition>
    			</Reference>
    		</ServiceOrder>
    	</ServiceResource>
    </Data>
    
    

    Create an E-LINE LDP TDM Service Order with MC-APS

    This request is used to create an E-LINE LDP TDM service order for MC-APS.

    URI

    api/space/nsas/eline-ptp/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 an E-LINE LDP TDM service order for MC-APS.

    Input

    Sample XML Input

    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    	<ServiceResource>
    		<ServiceOrder>
    			<Common>
    				<Name>P2P_LDP_TDM_SO_API</Name>
    				<Comments>dfsdf</Comments>
    			</Common>
    			<ServiceType>Point-to-Point Pseudowire</ServiceType>
    			<Signaling>LDP</Signaling>
    			<Action>Provisioning</Action>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA key="558264" uri="/api/space/nsas/device-roles/pe-devices/558264" href="/api/space/nsas/device-roles/pe-devices/558264">
    						<DeviceName>junos-space3</DeviceName>
    						<DeviceID>558264</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>t1-0/0/1</InterfaceName>
    					<ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPTDMEndPointConfigParameterOrderType">
    						<EndPointCategory>PTP</EndPointCategory>
    						<UNIDescription>dfgdgfd</UNIDescription>
    					</ServiceEndpointConfiguration>
    				</ServiceEndPoint>
    				<BackUpSettings>
    					<Enable>true</Enable>
    					<DeviceInfo>
    						<NA key="558264" uri="/api/space/nsas/device-roles/pe-devices/558264" href="/api/space/nsas/device-roles/pe-devices/558264">
    							<DeviceName>junos-space3</DeviceName>
    							<DeviceID>558264</DeviceID>
    						</NA>
    					</DeviceInfo>
    					<ServiceEndPoint>
    						<InterfaceName>t1-0/0/0</InterfaceName>
    						<ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPTDMEndPointConfigParameterOrderType">
        </ServiceEndpointConfiguration>
    						<Description>dfgdgfd</Description>
    					</ServiceEndPoint>
    				</BackUpSettings>
    			</ServiceEndPointGroup>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA key="558202" uri="/api/space/nsas/device-roles/pe-devices/558202" href="/api/space/nsas/device-roles/pe-devices/558202">
    						<DeviceName>fortius-f2100-b</DeviceName>
    						<DeviceID>558202</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>t1-0/0/7</InterfaceName>
    					<ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPTDMEndPointConfigParameterOrderType">
    						<EndPointCategory>PTP</EndPointCategory>
    						<UNIDescription>adsafds</UNIDescription>
    					</ServiceEndpointConfiguration>
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<ServiceOrderParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPTDMConfigParameterOrderType">
    				<EnableMCAPS>true</EnableMCAPS>
    			</ServiceOrderParameter>
    			<Reference>
    				<Customer key="558292"/>
    				<ServiceDefinition>
    					<ServiceDefinitionID key="393544"/>
    				</ServiceDefinition>
    			</Reference>
    		</ServiceOrder>
    	</ServiceResource>
    </Data>
    
    

    Output

    Sample XML Output

    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    	<Status>
    		<Identity>
    			<Type>ServiceOrder</Type>
    			<Value>2064470</Value>
    		</Identity>
    		<Job>
    			<ID>524514</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>
    
    

    Modify an E-LINE LDP TDM Service Order with MC-APS

    This request is used to modify a saved E-LINE LDP TDM service order configured with MC-APS.

    URI

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

    HTTP Method

    POST

    Content-Type

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

    Consumes

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

    Produces

    Modifies a saved E-LINE LDP TDM service order with MC-APS.

    Input

    Sample XML Input

    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    	<ServiceResource>
    		<ServiceOrder>
    			<Common>
    				<Name>P2P_LDP_TDM_ModifySO_API</Name>
    				<Comments>dfsdf</Comments>
    			</Common>
    			<ServiceType>Point-to-Point Pseudowire</ServiceType>
    			<Signaling>LDP</Signaling>
    			<Action>Provisioning</Action>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA key="558264" uri="/api/space/nsas/device-roles/pe-devices/558264" href="/api/space/nsas/device-roles/pe-devices/558264">
    						<DeviceName>junos-space3</DeviceName>
    						<DeviceID>558264</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>t1-0/0/1</InterfaceName>
    					<ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPTDMEndPointConfigParameterOrderType">
    						<EndPointCategory>PTP</EndPointCategory>
    						<UNIDescription>dfgdgfd</UNIDescription>
    					</ServiceEndpointConfiguration>
    				</ServiceEndPoint>
    				<BackUpSettings>
    					<Enable>true</Enable>
    					<DeviceInfo>
    						<NA key="558264" uri="/api/space/nsas/device-roles/pe-devices/558264" href="/api/space/nsas/device-roles/pe-devices/558264">
    							<DeviceName>junos-space3</DeviceName>
    							<DeviceID>558264</DeviceID>
    						</NA>
    					</DeviceInfo>
    					<ServiceEndPoint>
    						<InterfaceName>t1-0/0/0</InterfaceName>
    						<ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPTDMEndPointConfigParameterOrderType">
        </ServiceEndpointConfiguration>
    						<Description>dfgdgfd</Description>
    					</ServiceEndPoint>
    				</BackUpSettings>
    			</ServiceEndPointGroup>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA key="558202" uri="/api/space/nsas/device-roles/pe-devices/558202" href="/api/space/nsas/device-roles/pe-devices/558202">
    						<DeviceName>fortius-f2100-b</DeviceName>
    						<DeviceID>558202</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>t1-0/0/7</InterfaceName>
    					<ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPTDMEndPointConfigParameterOrderType">
    						<EndPointCategory>PTP</EndPointCategory>
    						<UNIDescription>adsafds</UNIDescription>
    					</ServiceEndpointConfiguration>
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<ServiceOrderParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPTDMConfigParameterOrderType">
    				<EnableMCAPS>false</EnableMCAPS>
    			</ServiceOrderParameter>
    			<Reference>
    				<Customer key="558292"/>
    				<ServiceDefinition>
    					<ServiceDefinitionID key="393544"/>
    				</ServiceDefinition>
    			</Reference>
    		</ServiceOrder>
    	</ServiceResource>
    </Data>
    

    Output

    Sample XML Output

    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    	<Status>
    		<Identity>
    			<Type>ServiceOrder</Type>
    			<Value>2064487</Value>
    		</Identity>
    		<Job>
    			<ID>524515</ID>
    			<Status>INPROGRESS</Status>
    		</Job>
    		<Code>200</Code>
    		<Message>The Service Order Modified Successfully and Validation is in Progress. Please check the status using the JOB ID.</Message>
    	</Status>
    </Data>
    
    

    Get an E-LINE P2P LDP Service Order with Default Service Template By Order ID

    This request is used to retrieve the details of a particular Layer 2 Ethernet Private Line (EPL, also called E-LINE) P2P LDP service order with default service template, based on the service order ID.

    URI

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

    HTTP Method

    GET

    Consumes

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

    Produces

    Collects the details of a specific E-LINE P2P LDP service order with default service template.

    Output

    Sample XML Output

    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    	<ServiceResource>
    		<ServiceOrder key="458865" uri="/api/space/nsas/eline-ptp/service-management/service-orders/458865" href="/api/space/nsas/eline-ptp/service-management/service-orders/458865">
    			<Common>
    				<Name>Test_BGPSO_1DefTemp_API</Name>
    				<Identity>458865</Identity>
    				<State>Validated</State>
    				<CreatedDate>2015-02-12T19:21:54.000+05:30</CreatedDate>
    				<LastUpdatedDate>2015-02-12T19:21:54.000+05:30</LastUpdatedDate>
    				<CreatedBy>super</CreatedBy>
    			</Common>
    			<ServiceType>BGP</ServiceType>
    			<Signaling>BGP</Signaling>
    			<Action>Provisioning</Action>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA key="524393" uri="/api/space/nsas/device-roles/pe-devices/524393" href="/api/space/nsas/device-roles/pe-devices/524393">
    						<DeviceName>junos-space1</DeviceName>
    						<DeviceID>524393</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-0/1/7</InterfaceName>
    					<ServiceTemplates>
    						<ServiceTemplate href="/api/space/nsas/eline-ptp/service-management/service-templates/66311" uri="/api/space/nsas/eline-ptp/service-management/service-templates/66311" key="66311">
    							<ID>66311</ID>
    						</ServiceTemplate>
    						<ServiceTemplate href="/api/space/nsas/eline-ptp/service-management/service-templates/66317" uri="/api/space/nsas/eline-ptp/service-management/service-templates/66317" key="66317">
    							<ID>66317</ID>
    							<ConfigParams>
    								<Name>Name</Name>
    								<Value>testname</Value>
    								<Decommission>false</Decommission>
    								<SvcSpecificValue>false</SvcSpecificValue>
    								<ConfigPageName>cp1</ConfigPageName>
    							</ConfigParams>
    						</ServiceTemplate>
    					</ServiceTemplates>
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA key="524357" uri="/api/space/nsas/device-roles/pe-devices/524357" href="/api/space/nsas/device-roles/pe-devices/524357">
    						<DeviceName>junos-space2</DeviceName>
    						<DeviceID>524357</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-0/1/6</InterfaceName>
    					<ServiceTemplates>
    						<ServiceTemplate href="/api/space/nsas/eline-ptp/service-management/service-templates/66311" uri="/api/space/nsas/eline-ptp/service-management/service-templates/66311" key="66311">
    							<ID>66311</ID>
    						</ServiceTemplate>
    						<ServiceTemplate href="/api/space/nsas/eline-ptp/service-management/service-templates/66317" uri="/api/space/nsas/eline-ptp/service-management/service-templates/66317" key="66317">
    							<ID>66317</ID>
    							<ConfigParams>
    								<Name>Name</Name>
    								<Value>testname</Value>
    								<Decommission>false</Decommission>
    								<SvcSpecificValue>false</SvcSpecificValue>
    								<ConfigPageName>cp1</ConfigPageName>
    							</ConfigParams>
    						</ServiceTemplate>
    					</ServiceTemplates>
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<Reference>
    				<Customer uri="/api/space/nsas/customer-management/customers/524288" href="/api/space/nsas/customer-management/customers/524288" key="524288"/>
    				<ServiceDefinition>
    					<ServiceDefinitionID uri="/api/space/nsas/eline-ptp/service-management/service-definitions/458825" href="/api/space/nsas/eline-ptp/service-management/service-definitions/458825" key="458825"/>
    				</ServiceDefinition>
    			</Reference>
    		</ServiceOrder>
    	</ServiceResource>
    </Data>
    
    

    Create an E-LINE P2P LDP Service Order with Default Service Template

    This request is used to create an E-LINE P2P LDP service order configured with default service template.

    URI

    api/space/nsas/eline-ptp/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 an E-LINE P2P LDP service order configured with default service template.

    Input

    Sample XML Input

       <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    	<ServiceResource>
    		<ServiceOrder>
    			<Common>
    				<Name>P2P_SO</Name>
    				<Comments>P2P service order</Comments>
    			</Common>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA>
    						<DeviceName>embassy</DeviceName>
    						<DeviceID>327752</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-1/0/1</InterfaceName>
    					<ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPElineLDPEndPointConfigParameterOrderType">
    						<EndPointCategory>PTP</EndPointCategory>
    						<VlanId>760</VlanId>
    						<MTU>1522</MTU>
    						<Bandwidth unit="Mbps">10</Bandwidth>
    					</ServiceEndpointConfiguration>
    					<ServiceTemplates>
    						<ServiceTemplate>
    							<ID>66317</ID>
    							<ConfigParams>
    								<Name>Name</Name>
    								<Value>testname</Value>
    								<Decommission>false</Decommission>
    								<SvcSpecificValue>false</SvcSpecificValue>
    								<ConfigPageName>cp1</ConfigPageName>
    							</ConfigParams>
    						</ServiceTemplate>
    					</ServiceTemplates>
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA>
    						<DeviceName>exora</DeviceName>
    						<DeviceID>327689</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-0/1/2</InterfaceName>
    					<ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPElineLDPEndPointConfigParameterOrderType">
    						<EndPointCategory>PTP</EndPointCategory>
    						<VlanId>760</VlanId>
    						<MTU>1522</MTU>
    						<Bandwidth unit="Mbps">10</Bandwidth>
    					</ServiceEndpointConfiguration>
    					<ServiceTemplates>
    						<ServiceTemplate>
    							<ID>66317</ID>
    							<ConfigParams>
    								<Name>Name</Name>
    								<Value>testname</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="PTPConfigParameterOrderType">
    				<MTU>1577</MTU>
    				<VCID>760</VCID>
    			</ServiceOrderParameter>
    			<Reference>
    				<Customer key="327680"/>
    				<ServiceDefinition>
    					<ServiceDefinitionID key="262144"/>
    				</ServiceDefinition>
    			</Reference>
    		</ServiceOrder>
    	</ServiceResource>
    	<CustomAction xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ServiceOrderCustomActionType">
    		<Action>SaveAndDeployNow</Action>
    		<ScheduledDateTime>2012-04-09T19:07:18.000+05:30</ScheduledDateTime>
    	</CustomAction>
    </Data>
    
    
    

    Output

    Sample XML Output

       <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    	<Status>
    		<Identity>
    			<Type>ServiceOrder</Type>
    			<Value>6553609</Value>
    		</Identity>
    		<Job>
    			<ID>1998898</ID>
    			<Status>INPROGRESS</Status>
    		</Job>
    		<Code>200</Code>
    		<Message>Service Order Created Successfully and Deployment is in Progress. Please check the status using the JOB ID.</Message>
    	</Status>
    </Data>
    

    Modify an E-LINE P2P LDP Service Order with Default Service Template

    This request is used to modify an E-LINE P2P LDP service order configured with default service template.

    URI

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

    HTTP Method

    POST

    Content-Type

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

    Consumes

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

    Produces

    Modifies an E-LINE P2P LDP service order configured with default service template.

    The XPath tag in a service template attribute is optional and we recommend that you use this tag.

    Input

    Sample XML Input

       <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    	<ServiceResource>
    		<ServiceOrder>
    			<Common>
    				<Name>P2P_ModifySO</Name>
    				<Comments>P2P service order</Comments>
    			</Common>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA>
    						<DeviceName>embassy</DeviceName>
    						<DeviceID>327752</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-1/0/1</InterfaceName>
    					<ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPElineLDPEndPointConfigParameterOrderType">
    						<EndPointCategory>PTP</EndPointCategory>
    						<VlanId>760</VlanId>
    						<MTU>1522</MTU>
    						<Bandwidth unit="Mbps">10</Bandwidth>
    					</ServiceEndpointConfiguration>
    					<ServiceTemplates>
    						<ServiceTemplate>
    							<ID>66317</ID>
    							<ConfigParams>
    								<Name>Name</Name>
    								<Value>testname123</Value>
    								<Decommission>false</Decommission>
    								<SvcSpecificValue>false</SvcSpecificValue>
    								<ConfigPageName>cp1</ConfigPageName>
    							</ConfigParams>
    						</ServiceTemplate>
    					</ServiceTemplates>
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA>
    						<DeviceName>exora</DeviceName>
    						<DeviceID>327689</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-0/1/2</InterfaceName>
    					<ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPElineLDPEndPointConfigParameterOrderType">
    						<EndPointCategory>PTP</EndPointCategory>
    						<VlanId>760</VlanId>
    						<MTU>1522</MTU>
    						<Bandwidth unit="Mbps">10</Bandwidth>
    					</ServiceEndpointConfiguration>
    					<ServiceTemplates>
    						<ServiceTemplate>
    							<ID>66317</ID>
    							<ConfigParams>
    								<Name>Name</Name>
    								<Value>testname123</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="PTPConfigParameterOrderType">
    				<MTU>1577</MTU>
    				<VCID>760</VCID>
    			</ServiceOrderParameter>
    			<Reference>
    				<Customer key="327680"/>
    				<ServiceDefinition>
    					<ServiceDefinitionID key="262144"/>
    				</ServiceDefinition>
    			</Reference>
    		</ServiceOrder>
    	</ServiceResource>
    	<CustomAction xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ServiceOrderCustomActionType">
    		<Action>SaveAndDeployNow</Action>
    		<ScheduledDateTime>2012-04-09T19:07:18.000+05:30</ScheduledDateTime>
    	</CustomAction>
    </Data>
    

    Sample XML Input (With XPath)

       <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    	<ServiceResource>
    		<ServiceOrder>
    			<Common>
    				<Name>P2P_ModifySO</Name>
    				<Comments>P2P service order</Comments>
    			</Common>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA>
    						<DeviceName>embassy</DeviceName>
    						<DeviceID>327752</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-1/0/1</InterfaceName>
    					<ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPElineLDPEndPointConfigParameterOrderType">
    						<EndPointCategory>PTP</EndPointCategory>
    						<VlanId>760</VlanId>
    						<MTU>1522</MTU>
    						<Bandwidth unit="Mbps">10</Bandwidth>
    					</ServiceEndpointConfiguration>
    					<ServiceTemplates>
    						<ServiceTemplate>
    							<ID>66317</ID>
    							<ConfigParams>
    								<Name>Name</Name>
    								<Value>testname123</Value>
    								<Decommission>false</Decommission>
    								<SvcSpecificValue>false</SvcSpecificValue>
    								<ConfigPageName>cp1</ConfigPageName>
    							</ConfigParams>
    						</ServiceTemplate>
    						<ServiceTemplate>
    							<ID>6357015</ID>
    							<ConfigParams>
    								<Name>Description</Name>
    								<Value>DemoDescription</Value>
    								<Xpath>/configuration/cp1/interface/description</Xpath>
    								<Decommission>false</Decommission>
    								<SvcSpecificValue>false</SvcSpecificValue>
    								<ConfigPageName>cp1</ConfigPageName>
    							</ConfigParams>
    						</ServiceTemplate>
    					</ServiceTemplates>
    				</ServiceEndPoint>
    			</ServiceEndPointGroup>
    			<ServiceEndPointGroup>
    				<DeviceInfo>
    					<NA>
    						<DeviceName>exora</DeviceName>
    						<DeviceID>327689</DeviceID>
    					</NA>
    				</DeviceInfo>
    				<ServiceEndPoint>
    					<InterfaceName>ge-0/1/2</InterfaceName>
    					<ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPElineLDPEndPointConfigParameterOrderType">
    						<EndPointCategory>PTP</EndPointCategory>
    						<VlanId>760</VlanId>
    						<MTU>1522</MTU>
    						<Bandwidth unit="Mbps">10</Bandwidth>
    					</ServiceEndpointConfiguration>
    					<ServiceTemplates>
    						<ServiceTemplate>
    							<ID>66317</ID>
    							<ConfigParams>
    								<Name>Name</Name>
    								<Value>testname123</Value>
    								<Decommission>false</Decommission>
    								<SvcSpecificValue>false</SvcSpecificValue>
    								<ConfigPageName>cp1</ConfigPageName>
    							</ConfigParams>
    						</ServiceTemplate>
    						<ServiceTemplate>
    							<ID>6357015</ID>
    							<ConfigParams>
    								<Name>Description</Name>
    								<Value>DemoDescription</Value>
    								<Xpath>/configuration/cp1/interface/description</Xpath>
    								<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="PTPConfigParameterOrderType">
    				<MTU>1577</MTU>
    				<VCID>760</VCID>
    			</ServiceOrderParameter>
    			<Reference>
    				<Customer key="327680"/>
    				<ServiceDefinition>
    					<ServiceDefinitionID key="262144"/>
    				</ServiceDefinition>
    			</Reference>
    		</ServiceOrder>
    	</ServiceResource>
    	<CustomAction xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ServiceOrderCustomActionType">
    		<Action>SaveAndDeployNow</Action>
    		<ScheduledDateTime>2012-04-09T19:07:18.000+05:30</ScheduledDateTime>
    	</CustomAction>
    </Data>
    

    Output

    Sample XML Output

        <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    	<Status>
    		<Identity>
    			<Type>ServiceOrder</Type>
    			<Value>459190</Value>
    		</Identity>
    		<Job>
    			<ID>196671</ID>
    			<Status>INPROGRESS</Status>
    		</Job>
    		<Code>200</Code>
    		<Message>The Service Order Modified Successfully and Validation is in Progress. Please check the status using the JOB ID.</Message>
    	</Status>
    </Data>
    

    Get Job Details By Job ID for a Point-to-Point Service Order

    This request is used to obtain the details of a specific job, based on its unique identifier.

    URI

    /api/space/nsas/elan-ptp/service-
    management/service-orders/jobId

    HTTP Method

    GET

    Consumes

    application/vnd.net.juniper.space.service-
    management.service-orders+json;version=2

    Produces

    Retrieves the details of a particular job.

    Mandatory Parameters

    jobID

    Output

    Sample JSONOutput

    {
       "Data": {
          "JobDetailsType": {
             "jobDetailType": [
                {
                   "nodeName": "960R1_EN_Alok_re",
                   "statusMessage": "Endpoint cannot be provisoned since validation failed for other devices.",
                   "jobStatus": "INVALID",
                   "serviceName": "Test2Devices"
                },
                         ]
          }
       }
    }

    Modified: 2016-07-22