Pepperi API Design
Search…
Generic Resource
PEPPERI NOTIFICATION SERVICE
Actions Queue
CPI Node
TODO training
Powered By GitBook
Execute Job Using Draft Code
Only for UserCodeJob
See full documentation in Execute Job Using Published Code - its the exactly the same, except for the need to publish - the idea of this endpoint is to run enable testing your code without affecting production and your deployed code.
post
https://api.pepperi.com/v1.0
/code_jobs/async/{Code Job UUID}/execute_draft
Execute Draft Code - Asynchronous
post
https://api.pepperi.com/v1.0
/code_jobs/{Code Job UUID}/execute_draft
Execute Draft Code - Synchronous

Error Codes :

Scenario
Error Code
Fault String
HTTP Status Code
Execute with no Draft Code
InvalidParameterCJ008
Invalid field value. Field:{0}: Value cannot be null or empty.
400
Cannot find Code Job
InvalidParameterCJ004
{ jobUUID } does not exist.
404
Execute draft of addon job
InvalidParameterCJ014
Can execute only user codejob draft code
400
Last modified 1yr ago