- Print
- DarkLight
- PDF
Create New Job Request Alert
Article summary
Did you find this summary helpful?
Thank you for your feedback
Create New Job Request Alert
Type
- Post
Example:
- URL: https://ws.cenpoint.com/cpwc.wc?custcode=bogusCustCode&token=bogusToken&appName=sweetAppName&prg=cpapi&proc=createJobReqAlert
- Body: msg="Sweet message for new job request goes here"
Base URL (includes authentication + end point)
- https://ws.cenpoint.com/cpwc.wc?custcode=<<Company Code>>&token=<<API Key>>&appName=<<YourAppName>>&prg=cpapi&proc=createJobReqAlert
Body Parameters: (please see Escaping Body Parameters)
Name Type Description Example msg String The message you wish to convey for the new job request. No length limit John Smith with XYZ company has requested re-striping work to be done on parking lot.... more job details here.... please contact John at 801.478.6822 for questions.
Returns:
- Error Msg Object
- {"errorCode":"","errorDesc":""}
- If errorCode and errorDesc are empty strings, than the alert was created successfully
- {"errorCode":"-4","errorDesc":"New job alert department is not set up under branch settings"}
- A user with access to CenPoint must go to File -> Company / Branch Info -> Pick Branch and Modify -> Misc. Tab -> Specify the 'New Job Alert' Department
- {"errorCode":"","errorDesc":""}