Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 

E-Line LDP Service Orders Management RESTful Web Services

 

The following operations can be performed using the Connectivity Services Director E-Line 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

Get All E-Line 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) 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

Get All E-Line 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) 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

Sample XML Output

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

Get an E-Line LDP Service Order By Order ID

This request is used to retrieve the details of a particular 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

Get an E-Line LDP Service Order with Tag Protocol ID By Order ID

This request is used to retrieve the details of a particular E-Line 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 E-Line LDP service order with tag protocol ID.

Output

Sample XML Output

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

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

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

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

Get E-Line 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) 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 service order configured with normalization of VLANs and logical unit of interfaces.

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

Sample XML Output

Output (VLAN Normalization: Normalize to dot1Q tags)

Sample XML Output

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

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 E-Line 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

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 E-Line 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

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

Output

Sample XML Output

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

Output

Sample XML Output

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

Output

Sample XML Output

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

Output

Sample XML Output

Create an E-Line Service Order with VLAN Normalization

This request is used to create an E-Line 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 service order configured with VLAN normalization types.

Input (VLAN Normalization: Normalize to QinQ tags)

Sample XML Input

Input (VLAN Normalization: Normalize to dot1Q tags)

Sample XML Input

Output

Sample XML Output

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

Output

Sample XML Output

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

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

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 E-Line.

Input

Sample XML Input

Output

Sample XML Output

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

Output

Sample XML Output

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

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

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 E-Line.

Input

Sample XML Input

Output

Sample XML Output

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

Output

Sample XML Output

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

Output

Sample XML Output

Create an E-Line LDP Service Order with Static Pseudowire for E-Line

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

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 E-Line.

Input

Sample XML Input

Output

Sample XML Output

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

Output

Sample XML Output

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

View the Pending Configuration of an E-Line Service Order

This request is used to view the details of a E-Line 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

Create an E-Line LDP Service Order with Pseudowire Redundancy

This request is used to create an E-Line 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 an E-Line LDP service order with pseudowire redundancy.

Input

Sample XML Input

Output

Sample XML Output

Create an E-Line LDP Service Order with Tag Protocol ID

This request is used to create an E-Line 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 an E-Line LDP service order with tag protocol ID.

Input

Sample XML Input

Create an E-Line LDP TDM Service Order with Pseudowire Redundancy

This request is used to create an E-Line 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 an E-Line LDP TDM service order with pseudowire redundancy.

Input

Sample XML Input

Output

Sample XML Output

Create an E-Line LDP ATM Service Order with Pseudowire Redundancy

This request is used to create an E-Line 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 an E-Line LDP ATM service order with pseudowire redundancy.

Input

Sample XML Input

Output

Sample XML Output

Modify a Saved E-Line 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

Output (Ethernet–LDP)

Sample XML Output

Input (ATM–LDP)

Sample XML Input

Output (ATM–LDP)

Sample XML Output

Input (TDM–LDP)

Sample XML Input

Output (TDM–LDP)

Sample XML Output

Modify a Saved E-Line Service Order (Version 2)

This request is used to modify a saved E-Line 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 service order.

Input

Sample XML Input

Output

Sample XML Output

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

Output

Sample XML Output

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

Output

Sample XML Output

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

Output

Sample XML Output

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

Output

Sample XML Output

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

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

Output

Sample XML Output

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

Output

Sample XML Output

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

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

Output

Sample XML Output

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

Output

Sample XML Output

Get an E-Line 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) 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 LDP service order with default service template.

Output

Sample XML Output

Create an E-Line LDP Service Order with Default Service Template

This request is used to create an E-Line 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 LDP service order configured with default service template.

Input

Sample XML Input

Output

Sample XML Output

Modify an E-Line LDP Service Order with Default Service Template

This request is used to modify an E-Line 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 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

Sample XML Input (With XPath)

Output

Sample XML Output

Get Job Details By Job ID for a E-Line 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

Create an E-Line LDP Service Order to Create an LSP

This request is used to create an E-Line LDP service order for creating an LSP.

URL

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

HTTP Method

POST

Sample URL

https://192.0.2.10:8443/api/space/nsas/eline-ptp/service-management/service-orders

Accept Header

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

Content Type

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

Input

Sample XML Input

Output

Sample XML Output

Get an E-Line LDP Service Order to Associate an LSP

This request is used to retrieve an E-Line LDP service order to associate it with an LSP.

URL

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

HTTP Method

GET

Sample URL

https://192.0.2.10:8443/api/space/nsas/eline-ptp/service-management/service-orders/131073

Accept

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

Content Type

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

Input

Not Applicable

Output

Sample XML Output