API v1 Reference

Remove Activity

This request permanently deletes an Activity.

REST

Request

https://api.neoncrm.com/neonws/services/api/account/removeActivity?userSessionId=[session id]&activityId=8

Response

{
    "removeActivityResponse": {
        "operationResult": "SUCCESS",
        "responseDateTime": "2012-12-28T21:15:28.343-06:00"
    }
}

SOAP

Request

<soapenv:envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:neon="http://www.z2systems.com/schemas/neonws/">
   <soapenv:header>
       <soapenv:body>
          <neon:removeactivityrequest>
             <usersessionid>T1357624094982</usersessionid>
             <activityid>1</activityid>
          </neon:removeactivityrequest>
       </soapenv:body>
    </soapenv:header>
</soapenv:envelope>

Response

<soap:envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
   <soap:body>
      <ns2:removeactivityresponse xmlns:ns2="http://www.z2systems.com/schemas/neonws/">
         <operationresult>SUCCESS</operationresult>
         <responsedatetime>2013-01-08T01:29:33.463-06:00</responsedatetime>
      </ns2:removeactivityresponse>
   </soap:body>
</soap:envelope>

Request Parameters

Name Required Description
activityId Yes The ID of the activity to be deleted.

Error Codes

Code Text Description
10200 Activity ID is required
10201 Activity ID is invalid