These are the webservice functions available in the file SCCM.asmx:

AddComputer (MACAddress, UUID, ComputerName, SiteCode)
Adds a new computer to SMS/SCCM and returns the ResourceID if successful

AddComputerAssociation (ReferenceComputerMacAddress, ReferenceComputerUUID, DestinationComputerMacAddress, DestinationComputerUUID, SiteCode)
Adds an association between two computers

AddComputerAssociationByID (ReferenceComputerResourceID, DestinationComputerResourceID, SiteCode)
Adds an association between two computers by the Resource IDs

AddComputerToCollection (MacAddress, UUID, CollectionID, ComputerName, SiteCode)
Adds a computer to the specified collection. It will also add the Computer to the SCCM Server if not already known.

AddComputerToCollectionByID (ResourceID, CollectionID, ComputerName, SiteCode)
Adds a computer to the specified collection.

ApproveClient (ResourceID, SiteCode)
Approves the specified client

ApproveClients (CollectionID, SiteCode)
Approves all Clients in the specified Collection

ClearLastPXEAdvertisementForCollection (CollectionID, SiteCode)
Clears the last PXE advertisement flag for all computers in the specified collection

ClearLastPXEAdvertisementForComputer (MACAddress, UUID, SiteCode)
Clears the last PXE advertisement flag for the specified computer

ClearLastPXEAdvertisementForComputerByID (ResourceID, SiteCode)
Clears the last PXE advertisement flag for the specified computer

DeleteComputer (MACAddress, UUID, SiteCode)
Deletes a computer from SMS/SCCM.

DeleteComputerAssociation (ReferenceComputerMacAddress, ReferenceComputerUUID, DestinationComputerMacAddress, DestinationComputerUUID, SiteCode)
Deletes an existing association between two computers

DeleteComputerAssociationByID (ReferenceComputerResourceID, DestinationComputerResourceID, SiteCode)
Deletes an existing association between two computers

DeleteComputerByID (ResourceID, SiteCode)
Deletes a computer from SMS/SCCM

GetAssignedSite (IPAddress, IPSubnet)
Returns the SiteCode for the given IP Address / IP Subnet

GetCollectionsFiltered (SiteCode, IncludeFilter, ExcludeFilter)
Returns a list of all collections. Optionally limited by the Include/Exclude filters

GetComputerName (MACAddress, UUID, SiteCode)
Returns the name of the specified computer

GetComputerNameByID (ResourceID, SiteCode)
Returns the name of the specified computer

GetEncryptDecryptKey (MacAddress, UUID)
Returns the USMT Encryption Key for a computer

GetEncryptDecryptKeyByID (ResourceID)
Returns the USMT Encryption Key for a computer

GetOSDAdvertisements ()
Returns a list of all OSD Advertisements

GetOSDAdvertisementsFiltered (SiteCode, IncludeFilter, ExcludeFilter)
Returns a list of all OSD Advertisements. Optionally limited by the Include/Exclude filters

GetCollectionMembers (CollectionID, SiteCode)
Returns a list of collection members

GetOSDCollections (siteCode)
Returns a list of all Collections with any advertised OSD Task Sequence

GetOSDCollectionsFiltered (SiteCode, IncludeFilter, ExcludeFilter)
Returns a list of SCCM collections with an advertised OSD Task Sequence. Optionally limited by the Include/Exclude filters

GetOSDTaskSequences (SiteCode)
Returns a list of all OSD Task Sequences

GetOSDTaskSequencesFiltered (SiteCode, IncludeFilter, ExcludeFilter)
Returns a list of all OSD Task Sequences. Optionally limited by the Include/Exclude filters

GetResourceID (MacAddress, UUID, SiteCode)
Returns the ResourceID of a computer if known to SMS/SCCM.

GetStateStorePath (MacAddress, UUID)
Returns the StateStorePathfor a computer

GetStateStorePath (ResourceID)
Returns the StateStorePathfor a computer

GetTaskSequences (Sitecode)
Returns a list of all Task Sequences

GetTaskSequencesFiltered (SiteCode, IncludeFilter, ExcludeFilter)
Returns a list of all Task Sequences. Optionally limited by the Include/Exclude filters

HasAdvertisement (MACAddress, UUID, AdvertisementID, SiteCode)
Checks if a specific advertisement is available for the specified computer

HasOSDAdvertisement (MacAddress, UUID, Sitecode)
Checks if an OSD Advertisement is available for the computer

HasOSDAdvertisementByID (ResourceID, Sitecode)
Checks if an OSD Advertisement is available for the computer

HasOSDAdvertisementByCollectionID (MACAddress, UUID, CollectionID, SiteCode)
Checks if an OSD advertisement is available to the specified computer limited by a specific collection

IsComputerKnown (MacAddress, UUID, SiteCode)
Checks if a given Computer is known to SMS/SCCM

RefreshCollection (CollectionID, RefreshSubcollections, SiteCode)
Triggers a re-evaluation cycle for the specified collection

RemoveComputerFromCollection (MACAddress, UUID, CollectionID, SiteCode)
Removes a computer from the specified collection

RemoveComputerFromCollectionByID (ResourceID, CollectionID, SiteCode)
Removes a computer from the specified collection

SearchComputerByName (SearchString, SiteCode)
Returns a list of computers with the supplied search string as part of their name/netbiosname

Last edited Aug 12, 2010 at 9:28 AM by MaikKoster, version 4

Comments

Joec212000 Jun 14, 2014 at 12:16 PM 
When I download and install the7.3 web service using the SCCM.asmx service I do not see the GetEncryptDecryptKey function available. Why is that? Do I have to have previous version installed first?

chroswalt Jan 25, 2013 at 4:09 PM 
I noticed there is an inconsistency in the SOAP request and response page compared to the documentation for AddComputerToCollection (MacAddress, UUID, CollectionID, ComputerName, SiteCode) and AddComputerToCollectionByID (ResourceID, CollectionID, ComputerName, SiteCode). In the SOAP page there is no SiteCode parameter available.