Like/Remove like
Interface Function
Like/dislike the document
Request Parameter
Parameter | Type | Remarks |
---|---|---|
DocumentId | String | Document Id |
StaffName | String | User name |
UserId | String | The UserId of user, guid format |
EntityName | String | Form alias, the identity of the form |
Return Data Type
int
1 means success1 means success, null is failed
Input Sample
{
"DocumentId": "1234567890",
"EntityName": "DemoFormAlias",
"StaffName": "DemoUser",
"UserId": "90aacf16-a039-49bf-8605-8de3ddac879c",
}
Return Sample
{
"StatusCode": 200,
"Info": "Request (or process) succeeded",
"Data": 1
}