Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 

Layer 2 Ethernet Devices and Tagging Management RESTful Web Services

 

The following operations can be performed using the Connectivity Services Director Layer 2 Ethernet (L2E) Devices and Tagging Management RESTful Web Services.

Get All L2E Devices

This request is used to collect all the L2E devices.

URI

api/space/nsas/device-roles/l2e-devices

HTTP Method

GET

Consumes

application/vnd.net.juniper.space.device-roles.

l2e-devices+xml

Produces

Retrieves all the L2E devices that are managed and provisioned by the application.

Output

Sample XML Output

Get L2E Devices By Device ID

This request is used to retrieve a L2E device based on the device ID.

URI

api/space/nsas/device-roles/l2e-devices/<l2e-deviceID>

HTTP Method

GET

Consumes

application/vnd.net.juniper.space.device-roles.

l2e-devices+xml

Produces

Retrieves the L2E device based on the device ID.

Output

Sample XML Output

Get L2E Devices By Device Name

This request is used to retrieve a L2E device based on the device name.

URI

api/space/nsas/device-roles/l2e-devices/

?deviceName={Device-Name}

HTTP Method

GET

Consumes

application/vnd.net.juniper.space.device-roles.

l2e-devices+xml

Produces

Retrieves the L2E device based on the device name.

Output

Sample XML Output

Get All Device Tags

This request is used to collect all the device tags.

URI

api/space/nsas/na/device-tags/

HTTP Method

GET

Consumes

application/vnd.net.juniper.space.na.device.tags+xml

Produces

Retrieves all the device tags.

Output

Sample XML Output

Get Device Tags By ID

This request is used to retrieve a device tag based on the tag identifier.

URI

/api/space/nsas/na/device-tags/{deviceId}

HTTP Method

GET

Consumes

application/vnd.net.juniper.space.na.device.tag+xml

Produces

Retrieves the device tag based on the tag ID.

Output

Sample XML Output

Get All Service Tags

This request is used to collect all the service tags.

URI

api/space/nsas/na/service-tags/

HTTP Method

GET

Consumes

application/vnd.net.juniper.space.na.service.tags+xml

Produces

Retrieves all the service tags.

Output

Sample XML Output

Get Service Tags By ID

This request is used to retrieve a service tag based on the tag identifier.

URI

/api/space/nsas/na/service-tags/{serviceId}

HTTP Method

GET

Consumes

application/vnd.net.juniper.space.na.service.tag+xml

Produces

Retrieves the service tag based on the tag ID.

Output

Sample XML Output

Get All Service Order Tags

This request is used to collect all the service order tags.

URI

api/space/nsas/na/service-order-tags/

HTTP Method

GET

Consumes

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

Produces

Retrieves all the service order tags.

Output

Sample XML Output

Get Service Order Tags By ID

This request is used to retrieve a service order tag based on the tag identifier.

URI

/api/space/nsas/na/service-order-tags/{soId}

HTTP Method

GET

Consumes

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

Produces

Retrieves the service order tag based on the tag ID.

Output

Sample XML Output

Get All Service Definition Tags

This request is used to collect all the service definition tags.

URI

api/space/nsas/na/sd-tags/

HTTP Method

GET

Consumes

application/vnd.net.juniper.space.na.sd.tags+xml

Produces

Retrieves all the service definition tags.

Output

Sample XML Output

Get Service Definition Tags By Tag ID

This request is used to retrieve a service definition tag based on the tag identifier.

URI

/api/space/nsas/na/sd-tags/{SDId}

HTTP Method

GET

Consumes

application/vnd.net.juniper.space.na.sd.tag+xml

Produces

Retrieves the service definition tag based on the tag ID.

Output

Sample XML Output