You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

How to delete disabled SLA Instances ?

Accepted answer
edited Aug 1, 2016 10:28AM in Integrations and APIs 1 comment


We would like to delete SLA Instances associated with an organization that are in a disabled state. Can this be removed using connect API without removing the organization object?

When we attempt to remove SLA instance using following code it does not delete the SLA Instances, it only disables them if they are active,  no change noticed on already disabled SLA instances.

Code Snippet

<WebMethod()> _

    Public Function DelSLAOfOrg(ByVal orgId As Long, ByVal slaInstanceId As Long) As Boolean

        DelSLAOfOrg = False

        If orgId > 0 And slaInstanceId > 0 Then

            Dim client As New RNow.RightNowSyncPortClient()

            client = New RNow.RightNowSyncPortClient

            client.ClientCredentials.UserName.UserName =

Howdy, Stranger!

Log In

To view full details, sign in.


Don't have an account? Click here to get started!