POST api/ProjType/Save
Request Information
URI Parameters
None.
Body Parameters
WORK_ProjType| Name | Description | Type | Additional information |
|---|---|---|---|
| AppID | integer |
None. |
|
| CompID | integer |
None. |
|
| Name | string |
None. |
|
| HeadImg | string |
None. |
|
| Ord | integer |
None. |
|
| ID | integer |
None. |
|
| CreateTime | date |
None. |
|
| IsDel | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"AppID": 1,
"CompID": 2,
"Name": "sample string 3",
"HeadImg": "sample string 4",
"Ord": 5,
"ID": 6,
"CreateTime": "2026-02-04T10:05:17.1119657+08:00",
"IsDel": true
}
application/xml, text/xml
Sample:
<WORK_ProjType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WORK.Domain.Entities"> <CreateTime>2026-02-04T10:05:17.1119657+08:00</CreateTime> <ID>6</ID> <IsDel>true</IsDel> <AppID>1</AppID> <CompID>2</CompID> <HeadImg>sample string 4</HeadImg> <Name>sample string 3</Name> <Ord>5</Ord> </WORK_ProjType>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResOfString| Name | Description | Type | Additional information |
|---|---|---|---|
| code | integer |
None. |
|
| msg | string |
None. |
|
| data | Object |
None. |
Response Formats
application/json, text/json
Sample:
{
"code": 1,
"msg": "sample string 2",
"data": {}
}
application/xml, text/xml
Sample:
<HttpResOfstring xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WORK.Api.Models"> <code>1</code> <data /> <msg>sample string 2</msg> </HttpResOfstring>