Public

[DEPRECATED] Update record details and status of the record like approve and reject.

Sample Request

     PUT
     {
       "RecordId":"23",
       "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
           "TableRowIds":"31|!32",  //Row id of the specific table. Refer "recorddetails" api response
           "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
           "TableRowIds":"31|!32",  //Row id of the specific table. Refer "recorddetails" api response
           "Values":{   // All field values seperated by '|!' symbol
               "Name":"xyz|!abc",      // "Fieldname":"all fieldvalues of the field"
               "Designation":"Engg|!Marketing"
           }
       }],
       "Status":"Approved",
       "IsWorkflow": true
    }
put/api/Public/update

Request

Request body

recordIdinteger required

Record Id

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
statusstring required

Status of the record

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.