POST new/customwork/page/edit
保存客户首页配置
Request Information
URI Parameters
None.
Body Parameters
CustomPageEntity| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
None. |
|
| departName | string |
None. |
|
| departId | integer |
None. |
|
| staffType | integer |
None. |
|
| json | string |
None. |
|
| isOpenMine | boolean |
None. |
|
| appId | string |
None. |
|
| createdUser | integer |
None. |
|
| createdUserName | string |
None. |
|
| createTime | date |
None. |
|
| updateTime | date |
None. |
Request Formats
application/json, text/json
Sample:
{
"id": 1,
"departName": "sample string 2",
"departId": 3,
"staffType": 4,
"json": "sample string 5",
"isOpenMine": true,
"appId": "sample string 7",
"createdUser": 8,
"createdUserName": "sample string 9",
"createTime": "2026-10-20T21:34:34.2763963+08:00",
"updateTime": "2026-10-20T21:34:34.2763963+08:00"
}
application/xml, text/xml
Sample:
<CustomPageEntity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ma.Model.EntityModel.CustomWork"> <AppId>sample string 7</AppId> <CreateTime>2026-10-20T21:34:34.2763963+08:00</CreateTime> <CreatedUser>8</CreatedUser> <CreatedUserName>sample string 9</CreatedUserName> <DepartId>3</DepartId> <DepartName>sample string 2</DepartName> <Id>1</Id> <IsOpenMine>true</IsOpenMine> <Json>sample string 5</Json> <StaffType>4</StaffType> <UpdateTime>2026-10-20T21:34:34.2763963+08:00</UpdateTime> </CustomPageEntity>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
ApiDataResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Ok |
接口是否成功。 |
boolean |
None. |
| Data |
返回数据。 |
Object |
None. |
| Msg |
返回消息。 |
string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Ok": true,
"Data": {},
"Msg": "sample string 3"
}
application/xml, text/xml
Sample:
<ApiDataResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ma.Api.Controllers.Dtos"> <Data /> <Msg>sample string 3</Msg> <Ok>true</Ok> </ApiDataResponse>