REST Resources
-
/ -
/ctps -
/equipment-holders -
/equipment-holders /{equipment-holder-id} -
/execute-export-physical-inventory -
/export-ctp-interface -
/export-ptp-interface -
/job-instances /{job-id} /download-ctp-interface-data -
/job-instances /{job-id} /download-physical-inventory-data -
/job-instances /{job-id} /download-ptp-interface-data -
/managed-elements -
/managed-elements /{id} -
/managed-elements /{id} /equipment-holders -
/managed-elements /{id} /equipment-holders /{eqId} -
/managed-elements /{id} /multilayer-subnetworks -
/managed-elements /{id} /multilayer-subnetworks /{mlsnId} -
/managed-elements /{id} /ptps -
/managed-elements /{id} /ptps /{ptpId} -
/managed-elements /{id} /ptps /{ptpId} /view-manage-labels -
/managed-elements /{id} /routing-engines -
/managed-elements /{id} /routing-engines /{serialNo} -
/managed-elements /{id} /routing-instances -
/managed-elements /{id} /routing-options -
/managed-elements /{id} /software-identities -
/managed-elements /{id} /virtual-chassis -
/managed-elements /{id} /vlans -
/ptps -
/ptps /{ptpId}
/api/space/managed-domain/execute-export-physical-inventory
The following operation is supported on this resource:
- POST - Exports the Physical Inventory of the given Devices
POST /execute-export-physical-inventory | Version 1 |
Exports the Physical Inventory of the given Devices.
Sample Usage
This API makes an asynchronous method call; so, you can optionally specify queue and schedule parameters:
POST /execute-export-physical-inventory?queue=<queue>&schedule=<schedule>
Note: The queue URL denoted by <queue> must have been created already.
-
Parameters:
Name Type URI Type Description Required queue Queue URL Query A fully qualified queue URL, where job progress notifications will be sent (See Asynchronous API Usage) N schedule cron-like-expression Query Schedule this API in the future, by specifying a cron-like-expression (See Job Scheduling) N
-
Content-Type Headers:
application/vnd.net.juniper.space.managed-domain.execute-export-physical-inventory-request+xml;version=1;charset=UTF-8
application/vnd.net.juniper.space.managed-domain.execute-export-physical-inventory-request+json;version=1;charset=UTF-8 -
Accept Headers:
application/vnd.net.juniper.space.job-management.task+xml;version=1
application/vnd.net.juniper.space.job-management.task+json;version=1
<execute-export-physical-inventory-request>
<devices>
<device href="/api/space/device-management/devices/{id}"/>
</devices>
</execute-export-physical-inventory-request>
<task href="/api/space/job-management/jobs/327681">
<id>327681</id>
</task>
{
"execute-export-physical-inventory-request" : {
"devices" : {
"device" : {
"@href" : "/api/space/device-management/devices/{id}"
}
}
}
}
{
"task":{
"@href":"/api/space/job-management/jobs/327681",
"id":327681
}
}
Access Control
The following capabilities are required to access this API: ExportPhysicalInventory