Public

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 table. Refer "recorddetails" api response
           "TableDelRowIds":"33",  //Row id of the table to be deleted. 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 table. Refer "recorddetails" api response
           "TableDelRowIds":"33",  //Row id of the table to be deleted. 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",
       "Comments":"Approved the request",
       "IsWorkflow": true
    }
put/api/Public/recordupdate

Request

Request body

recordIdinteger required

Record Id

workflowNamestring required

Name of the workflow / lookup

stageNamestring required

Name of the stage

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

Update status of the record

isWorkflowboolean

True for workflows (default) and False for Lookups

commentsstring nullable

Comments to be added

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.