You can call this operation to query the details of a software asset.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | DescribePropertySoftwareDetail |
The operation that you want to perform. Set the value to DescribePropertySoftwareDetail. |
CurrentPage | Integer | No | 1 |
The number of the page to return. |
Name | String | No | xxxx |
The name of the software that you want to query. |
PageSize | Integer | No | 5 |
The number of entries to return on each page. |
Path | String | No | /etc/test |
The directory where the software is installed. |
Remark | String | No | 0.0.0.0 |
The name or IP address of the server. |
SoftwareVersion | String | No | 11 |
The version of the software that you want to query. |
Uuid | String | No | 50d213b4-3a35-427a-b8a5-04b0c7e1f4d2" |
The UUID of the asset. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
PageInfo |
The page information. |
||
Count | Integer | 2 |
The number of entries returned on the current page. |
CurrentPage | Integer | 1 |
The page number of the returned page. |
PageSize | Integer | 2 |
The number of entries returned per page. |
TotalCount | Integer | 23 |
The total number of returned entries. |
Propertys |
The returned software details. |
||
Create | Long | 1565539587000 |
The time when the asset fingerprint was collected. |
CreateTimestamp | Long | 1565539587000 |
The timestamp generated for the asset fingerprint. |
InstallTime | String | 2017-09-07 10:54:49 |
The time when the software was installed. |
InstanceId | String | 4ef1115b-e423-4b4b-b930-a8be682df6ec |
The ID of the asset. |
InstanceName | String | null |
The name of the asset. |
InternetIp | String | 0.0.0.0 |
The public IP address of the asset. |
IntranetIp | String | 0.0.0.0 |
The private IP address of the asset. |
Ip | String | null |
The public IP address of the asset. |
Name | String | aaa_base |
The name of the software that was queried. |
Path | String | /etc/test |
The directory where the software is installed. |
Uuid | String | 4ef1115b-e423-4b4b-b930-a8be682df6ec |
The UUID of the asset. |
Version | String | 11 |
The version of the software. |
RequestId | String | null |
The ID of the request. |
Examples
Sample requests
http(s)://[Endpoint]/? Action=DescribePropertySoftwareDetail
&<Common request parameters>
Sample success responses
XML
format
<DescribePropertySoftwareDetail>
<code>200</code>
<data>
<Propertys>
<Path>/etc/DIR_COLORS</Path>
<InstanceName></InstanceName>
<Ip></Ip>
<Name>aaa_base</Name>
<Create>1565539587000</Create>
<InstallTime>2017-09-07 10:54:49</InstallTime>
<Version>11</Version>
<Uuid>4ef1115b-e423-4b4b-b930-a8be682df6ec</Uuid>
</Propertys>
<Propertys>
<Path>/etc/bash.bashrc</Path>
<InstanceName></InstanceName>
<Ip></Ip>
<Name>aaa_base</Name>
<Create>1565544175000</Create>
<InstallTime>2017-09-07 10:56:38</InstallTime>
<Version>13.2+git20140911.61c1681</Version>
<Uuid>d276e6d9-72e5-477a-b4f8-6affcbdad858</Uuid>
</Propertys>
<pageInfo>
<Count>2</Count>
<PageSize>2</PageSize>
<TotalCount>23</TotalCount>
<CurrentPage>1</CurrentPage>
</pageInfo>
</data>
<success>true</success>
<requestId></requestId>
<message>successful</message>
</DescribePropertySoftwareDetail>
JSON
format
{
"message":"successful",
"data":{
"pageInfo":{
"Count":2,
"TotalCount":23,
"PageSize":2,
"CurrentPage":1
},
"Propertys":[
{
"Uuid":"4ef1115b-e423-4b4b-b930-a8be682df6ec",
"Name":"aaa_base",
"Create":1565539587000,
"InstallTime":"2017-09-07 10:54:49",
"Version":"11",
"Path":"/etc/DIR_COLORS"
},
{
"Uuid":"d276e6d9-72e5-477a-b4f8-6affcbdad858",
"Name":"aaa_base",
"Create":1565544175000,
"InstallTime":"2017-09-07 10:56:38",
"Version":"13.2+git20140911.61c1681",
"Path":"/etc/bash.bashrc"
}
]
},
"code":"200",
"success":true
}
Error codes
For a list of error codes, visit the API Error Center.