john cruise
john cruise

Reputation: 31

How to get Vlan ID details when a new VLAN order is placed in IBM Cloud using softlayer REST API

I have placed a new VLAN order in the IBM Cloud. As a response I have the "order ID". Using the order ID I need to get the VLAN ID details.

Please let me know whether there are any REST API references to get the same.

Upvotes: 0

Views: 114

Answers (1)

Daniel Cabero
Daniel Cabero

Reputation: 316

Try to use the following example:

Method GET

https://api.softlayer.com/rest/v3.1/SoftLayer_Account/getNetworkVlans?objectMask=mask[billingItem[id,orderItem[id,order[id]]]]&objectFilter={"networkVlans": {"billingItem":{"orderItem":{"order":{"id":{"operation": 999999}}}}}} 

the 999999 change with your order ID

Upvotes: 1

Related Questions