List Activity Statuses
This will retrieve a list of the Activity Statuses that have been created in NeonCRM. This method is primarily used as a “helper” for other API methods.
REST
Request
https://api.neoncrm.com/neonws/services/api/account/listActivityStatus?UserSessionId=T1356590466587
Response
{
"listActivityStatusResponse": {
"operationResult": "SUCCESS",
"responseMessage": "6 records was found.",
"responseDateTime": "2012-12-27T01:23:45.948-06:00",
"activityStatusList": {
"activityStatus": [
{
"id": 1,
"name": "Not Started"
},
{
"id": 2,
"name": "In Progress"
},
{
"id": 3,
"name": "Completed"
},
{
"id": 4,
"name": "Waiting For Other"
},
{ "id": 5,
"name": "Deferred"
},
{
"id": 6,
"name": "Other"
}
]
}
}
}
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:listactivitystatusrequest>
<usersessionid>T1357624094982</usersessionid>
</neon:listactivitystatusrequest>
</soapenv:body>
</soapenv:header>
</soapenv:envelope>
Response
<soap:envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:body>
<ns2:listactivitystatusresponse xmlns:ns2="http://www.z2systems.com/schemas/neonws/">
<operationresult>SUCCESS</operationresult>
<responsemessage>6 records were found.</responsemessage>
<responsedatetime>2013-01-08T00:38:41.296-06:00</responsedatetime>
<activitystatuslist>
<activitystatus>
<id>1</id>
<name>Not Started</name>
</activitystatus>
<activitystatus>
<id>2</id>
<name>In Progress</name>
</activitystatus>
<activitystatus>
<id>3</id>
<name>Completed</name>
</activitystatus>
<activitystatus>
<id>4</id>
<name>Waiting For Other</name>
</activitystatus>
<activitystatus>
<id>5</id>
<name>Deferred</name>
</activitystatus>
<activitystatus>
<id>6</id>
<name>Other</name>
</activitystatus>
</activitystatuslist>
</ns2:listactivitystatusresponse>
</soap:body>
</soap:envelope>
Response Parameters
Name | Required | Description |
---|---|---|
activityStatus.id | Yes | |
activityStatus.name | Yes |