Public

Create and submit new record in the workflow and stage

Sample Request

     POST
     {
       "WorkflowName": "Test Workflow",
       "StageName": "Approval stage",  
       "IsDraft": false,        ///           
       "Values":{"Product Name":"Test Data","Product code":"1"}, //All section data except table sections
       "TableValues":[{
           "TableName":"Employees", //Name of the table
           "Values":{   // All field values seperated by '|!' symbol
               "Name":"xyz|!abc",      // "Fieldname":"all fieldvalues of the field"
               "Designation":"Engg|!Marketing"
           }
       },
       {
           "TableName":"Employees", //Name of the table
           "Values":{   // All field values seperated by '|!' symbol
               "Name":"xyz|!abc",      // "Fieldname":"all fieldvalues of the field"
               "Designation":"Engg|!Marketing"
           }
       }]
       "IsWorkflow": true
    }
post/api/Public/submit

Request

Request body

workflowNamestring required

Name of the workflow / lookup

stageNamestring required

For workflows, enter the workflow stage display name as stage name. For lookup workflows, enter the lookup name as the stage name

isDraftboolean required

Save the record as draft or not. True - If this need to be saved as draft, False - If needs to be submitted.

valuesunknown required
isWorkflowboolean

True for Workflows (default) and False for Lookups

Response

Return status of the request

recordIdstring nullable

Record Id

statusstring nullable

Status of the Submitted Record

messagestring nullable

Message provided when there is an invalid input

Changes

No recorded changes to this operation across all 1 revision of this API.