BatchUpdateList
Interface Function
Full update List under the specified application.
Request Parameter
Parameter |
Type |
Remarks |
ListName |
string |
list name |
ParentName |
string |
Parent name, case insensitive |
Desc |
string |
description about list |
Order |
int |
order number |
State |
int |
list status |
StaffName |
string |
operator |
ListItems |
List<ListDetail> |
See the below table for details. |
Parameter |
Type |
Remarks |
Key |
string |
Corresponding to Item Id |
Value |
string |
Corresponding to Item Name |
Group |
string |
The group to which it belongs, the id of an item in the parent list |
Order |
int |
order number |
State |
int |
item status |
Request Sample
{
"ListName": "status",
"ParentName":"",
"Desc": "status",
"Order": 1,
"State": 0,
"StaffName": "Demo User",
"ListItems": [
{
"Key": "Item1Key",
"Value": "Item1Value",
"Group": "",
"Order": 1,
"State": 0
},
{
"Key": "Item2Key",
"Value": "Item2Value",
"Group": "",
"Order": 1,
"State": 0
}
]
}
Return Value(Data)
string, 1 for success, otherwise, it was failed.
{
"StatusCode": 200,
"Info": "Request (or process) succeeded",
"Data": "1"
}