POST api/DepartmentTarget/CreateAndUpdateSave
新增,修改 保存
Request Information
URI Parameters
None.
Body Parameters
DAL.t_department_target| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| CreateId | integer |
None. |
|
| CreateTime | date |
None. |
|
| CompanyId | integer |
None. |
|
| DepartmentId | integer |
None. |
|
| TargetMoney | decimal number |
None. |
|
| ActualMoney | decimal number |
None. |
|
| UsedNow | decimal number |
None. |
|
| Remark | string |
None. |
|
| Year | integer |
None. |
|
| PlanMoney | decimal number |
None. |
|
| CompanyName | string |
None. |
|
| DepartmentName | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"CreateId": 1,
"CreateTime": "2026-06-09T21:15:50.4815686+08:00",
"CompanyId": 3,
"DepartmentId": 4,
"TargetMoney": 1.0,
"ActualMoney": 1.0,
"UsedNow": 1.0,
"Remark": "sample string 5",
"Year": 1,
"PlanMoney": 1.0,
"CompanyName": "sample string 6",
"DepartmentName": "sample string 7"
}
application/xml, text/xml
Sample:
<t_department_target xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DAL"> <ActualMoney>1</ActualMoney> <CompanyId>3</CompanyId> <CompanyName>sample string 6</CompanyName> <CreateId>1</CreateId> <CreateTime>2026-06-09T21:15:50.4815686+08:00</CreateTime> <DepartmentId>4</DepartmentId> <DepartmentName>sample string 7</DepartmentName> <Id>1</Id> <PlanMoney>1</PlanMoney> <Remark>sample string 5</Remark> <TargetMoney>1</TargetMoney> <UsedNow>1</UsedNow> <Year>1</Year> </t_department_target>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
System.Web.Http.Results.JsonResultOfDAL.HandleResult| Name | Description | Type | Additional information |
|---|---|---|---|
| Content | DAL.HandleResult |
None. |
|
| SerializerSettings | Newtonsoft.Json.JsonSerializerSettings |
None. |
|
| Encoding | System.Text.Encoding |
None. |
|
| Request | System.Net.Http.HttpRequestMessage |
None. |
Response Formats
application/json, text/json
Sample:
Sample not available.