Find Advertisement Status operation
This Find Advertisement Status operation finds the status of an advertisement.
The following table describes the <items>
XML elements for the Find Advertisement Status operation:
Elements for the <items>
XML element and adapter request for the Find Advertisement Status operation
Element |
Definition |
Required |
---|---|---|
|
Specifies the name of the operation: |
Yes |
|
Specifies a list of arguments required for this operation |
Yes |
|
Specifies the connection information for the Microsoft System Center Configuration Manager application |
No |
|
Specifies a string identifier for the advertisement whose status is to be searched |
No |
|
Specifies the name of the advertisement |
No |
|
Specifies the total number of users, user groups, or client computers that experienced an error in processing the advertisement or its associated program, or that attempted to run the advertised program but failed before the program could be started |
No |
|
Specifies the total number of users, user groups, or client computers that report successful receipt of the advertisement |
No |
|
Specifies a string identifier for the collection at which the advertisement is targeted |
No |
|
Specifies the name of the collection at which the advertisement is targeted |
No |
|
Specifies the interval string that specifies the schedule for which the statistics apply
|
No |
|
Specifies the date and time when the advertisement expires and is no longer available to clients |
No |
|
Specifies a string identifier for the package with which the advertised program is associated |
No |
|
Specifies the language of the package |
No |
|
Specifies the manufacturer of the package No <package-name> Specifies the name of the package |
No |
|
Specifies the version of the package |
No |
|
Specifies the date and time when the advertisement is presented to the clients |
No |
|
Specifies the name of the program (related to PackageID) that the advertisement advertises |
No |
|
Specifies the total number of users, user groups, or client computers that reported errors while running the advertised program |
No |
|
Specifies the total number of programs that failed relative to the Management Information Format installation status file |
No |
|
Specifies the total number of users, user groups, or client computers in the site that successfully ran the advertised program |
No |
|
Specifies the total number of users, user groups, or client computers, or both, which report that the program ran successfully |
No |
|
Specifies the total number of programs that succeeded relative to the Management Information Format installation status file |
No |
|
Specifies the code of the Microsoft System Center Configuration Manager site where the advertisement originates |
No |
|
Specifies the time-enable flag and is reserved for future use |
No |
The following figure shows a sample adapter request for the Find Advertisement Status operation:
Sample adapter request for the Find Advertisement Status operation
<mssccm-request>
<operation-name>find-advertisement-status</operation-name>
<arguments>
<target>config1</target>
<advertisement-id>12320121</advertisement-id>
<advertisement-name><![CDATA[adv002]]></advertisement-name>
<advertisements-failed>0</advertisements-failed>
<advertisements-received>0</advertisements-received>
<collection-id>SMS00002</collection-id>
<collection-name>All Users</collection-name>
<display-schedule>0241128000100008</display-schedule>
<expiration-time>20120201000000.000000+***</expiration-time>
<package-id>12300001</package-id>
<package-language>English</package-language>
<package-manufacturer>admin</package-manufacturer>
<package-name>pkgName</package-name>
<package-version>1.0</package-version>
<available-after>20110201000000.000000+***</available-after>
<program-name>p2</program-name>
<programs-failed>0</programs-failed>
<programs-failed-mif>0</programs-failed-mif>
<programs-started>0</programs-started>
<programs-succeeded>0</programs-succeeded>
<programs-succeeded-mif>0</programs-succeeded-mif>
<site-code>123</site-code>
<time-enable-flag>13075</time-enable-flag>
</arguments>
</mssccm-request>
The following figure shows the adapter response for the sample request:
Sample adapter response for the Find Advertisement Status operation
<mssccm-response>
<metadata>
<response-count>1</response-count>
<status>success</status>
</metadata>
<responses>
<response>
<metadata>
<target>config1</target>
<status>success</status>
<count>1</count>
</metadata>
<output>
<advertisement-id>12320121</advertisement-id>
<advertisement-name><![CDATA[adv002]]></advertisement-name>
<advertisements-failed>0</advertisements-failed>
<advertisements-received>0</advertisements-received>
<collection-id>SMS00002</collection-id>
<collection-name><![CDATA[All Users]]></collection-name>
<display-schedule>0241128000100008</display-schedule>
<expiration-time>20120201000000.000000+***</expiration-time>
<package-id>12300001</package-id>
<package-language>English</package-language>
<package-manufacturer>admin</package-manufacturer>
<package-name><![CDATA[pkgName]]></package-name>
<package-version>1.0</package-version>
<available-after>20110201000000.000000+***</available-after>
<program-name>p2</program-name>
<programs-failed>0</programs-failed>
<programs-failed-mif>0</programs-failed-mif>
<programs-started>0</programs-started>
<programs-succeeded>0</programs-succeeded>
<programs-succeeded-mif>0</programs-succeeded-mif>
<site-code>123</site-code>
<time-enable-flag>13075</time-enable-flag>
</output>
</response>
</responses>
</mssccm-response>
Comments
Log in or register to comment.