List Prefixes
Prefixes for names (Mr., Mrs., Ms, etc.) can be customized from within NeonCRM. This request retrieves a list of available prefixes.
REST
Request
https://api.neoncrm.com/neonws/services/api/account/listPrefixes?userSessionId=[session id]
Response
{ "listPrefixesResponse": {
"operationResult": "SUCCESS",
"responseMessage": "5 records was found.",
"responseDateTime": "2012-12-27T01:21:22.879-06:00",
"prefixes": {
"prefix": [ "Dr.", "Miss", "Mr.", "Mrs.", "Ms." ]
}
}
}
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:listprefixesrequest>
<usersessionid>T1357624094982</usersessionid>
</neon:listprefixesrequest>
</soapenv:body>
</soapenv:header>
</soapenv:envelope>
Response
<soap:envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:body>
<ns2:listprefixesresponse xmlns:ns2="http://www.z2systems.com/schemas/neonws/">
<operationresult>SUCCESS</operationresult>
<responsemessage>5 records were found.</responsemessage>
<responsedatetime>2013-01-08T01:21:59.233-06:00</responsedatetime>
<prefixes>
<prefix>Dr.</prefix>
<prefix>Miss</prefix>
<prefix>Mr.</prefix>
<prefix>Mrs.</prefix>
<prefix>Ms.</prefix>
</prefixes>
</ns2:listprefixesresponse>
</soap:body>
</soap:envelope>