Get User Info
Type
- Get
Example:
- https://ws.cenpoint.com/cpwc.wc?custcode=bogusCustCode&token=bogusToken&appName=sweetAppName&prg=cpapi&proc=getUserInfo&userId=0000000006
Base URL (includes authentication + end point)
- https://ws.cenpoint.com/cpwc.wc?custcode=<<Company Code>>&token=<<API Key>>&appName=<<YourAppName>>&prg=cpapi&proc=getUserInfo
Parameters:
Name Type Description Example userId String User Id to get status for. Must be 10 characters long 0000000006
Returns:
- Array of User's data for the specified userid
{"VFPData":{"rows":[{"userid":"0000000006","fname":"Bruce","lname":"Wayne","phone_c":"8014786822","email":"bruce@batman.com"}]}}
- Returned Fields:
Name Type Description Example userid String 10 character id for the user 0000000006 fname String User's first name Bruce lname String User's last name Wayne phone_c String User's cell phone # 8014786822 email String User's email address bruce@batman.com
- Or Error Message
- {"errorCode":"-3","errorDesc":"No results found"}