POST new/gd/work/checkadd
新增/编辑工单
Request Information
URI Parameters
None.
Body Parameters
GDCheckEntity| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Code | string |
None. |
|
| Company | string |
None. |
|
| CompanyId | integer |
None. |
|
| LinkMan | string |
None. |
|
| Department | string |
None. |
|
| Tel | string |
None. |
|
| ServiceMan | string |
None. |
|
| ServiceDate | date |
None. |
|
| ServiceType1StartTime | date |
None. |
|
| ServiceType1EndTime | date |
None. |
|
| ServiceType1Content | string |
None. |
|
| Participant | string |
None. |
|
| ServiceType2StartTime | date |
None. |
|
| ServiceType2EndTime | date |
None. |
|
| ServiceType2ProClass | string |
None. |
|
| ServiceType2SN | string |
None. |
|
| ServiceType2WorkCode | string |
None. |
|
| ServiceType2Describe | string |
None. |
|
| ServiceType2Reason | string |
None. |
|
| ServiceType2RepairContent | string |
None. |
|
| ServiceType3StartTime | date |
None. |
|
| ServiceType3EndTime | date |
None. |
|
| ServiceType3RepairContent1 | string |
None. |
|
| ServiceType3Json | string |
None. |
|
| ServiceEndContent | string |
None. |
|
| Satisfaction | integer |
None. |
|
| CustomIdea | string |
None. |
|
| Signature | string |
None. |
|
| Acceptime | date |
None. |
|
| Createtime | date |
None. |
|
| CreateUser | integer |
None. |
|
| Checks | Collection of GDCheckModel |
None. |
|
| TrainImg | string |
None. |
|
| CheckImg | string |
None. |
|
| RepairImg | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"Code": "sample string 2",
"Company": "sample string 3",
"CompanyId": 4,
"LinkMan": "sample string 5",
"Department": "sample string 6",
"Tel": "sample string 7",
"ServiceMan": "sample string 8",
"ServiceDate": "2026-10-20T20:42:32.7081063+08:00",
"ServiceType1StartTime": "2026-10-20T20:42:32.7081063+08:00",
"ServiceType1EndTime": "2026-10-20T20:42:32.7081063+08:00",
"ServiceType1Content": "sample string 9",
"Participant": "sample string 10",
"ServiceType2StartTime": "2026-10-20T20:42:32.7081063+08:00",
"ServiceType2EndTime": "2026-10-20T20:42:32.7081063+08:00",
"ServiceType2ProClass": "sample string 11",
"ServiceType2SN": "sample string 12",
"ServiceType2WorkCode": "sample string 13",
"ServiceType2Describe": "sample string 14",
"ServiceType2Reason": "sample string 15",
"ServiceType2RepairContent": "sample string 16",
"ServiceType3StartTime": "2026-10-20T20:42:32.7081063+08:00",
"ServiceType3EndTime": "2026-10-20T20:42:32.7081063+08:00",
"ServiceType3RepairContent1": "sample string 17",
"ServiceType3Json": "sample string 18",
"ServiceEndContent": "sample string 19",
"Satisfaction": 20,
"CustomIdea": "sample string 21",
"Signature": "sample string 22",
"Acceptime": "2026-10-20T20:42:32.7081063+08:00",
"Createtime": "2026-10-20T20:42:32.7081063+08:00",
"CreateUser": 25,
"Checks": [
{
"Class": "sample string 1",
"SN": "sample string 2",
"Appearance": "sample string 3",
"Function": "sample string 4",
"Display": "sample string 5",
"Key": "sample string 6",
"Annex": "sample string 7"
},
{
"Class": "sample string 1",
"SN": "sample string 2",
"Appearance": "sample string 3",
"Function": "sample string 4",
"Display": "sample string 5",
"Key": "sample string 6",
"Annex": "sample string 7"
}
],
"TrainImg": "sample string 26",
"CheckImg": "sample string 27",
"RepairImg": "sample string 28"
}
application/xml, text/xml
Sample:
<GDCheckEntity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ma.Model.EntityModel.Work">
<Acceptime>2026-10-20T20:42:32.7081063+08:00</Acceptime>
<CheckImg>sample string 27</CheckImg>
<Checks xmlns:d2p1="http://schemas.datacontract.org/2004/07/ma.Model.Model.Work">
<d2p1:GDCheckModel>
<d2p1:Annex>sample string 7</d2p1:Annex>
<d2p1:Appearance>sample string 3</d2p1:Appearance>
<d2p1:Class>sample string 1</d2p1:Class>
<d2p1:Display>sample string 5</d2p1:Display>
<d2p1:Function>sample string 4</d2p1:Function>
<d2p1:Key>sample string 6</d2p1:Key>
<d2p1:SN>sample string 2</d2p1:SN>
</d2p1:GDCheckModel>
<d2p1:GDCheckModel>
<d2p1:Annex>sample string 7</d2p1:Annex>
<d2p1:Appearance>sample string 3</d2p1:Appearance>
<d2p1:Class>sample string 1</d2p1:Class>
<d2p1:Display>sample string 5</d2p1:Display>
<d2p1:Function>sample string 4</d2p1:Function>
<d2p1:Key>sample string 6</d2p1:Key>
<d2p1:SN>sample string 2</d2p1:SN>
</d2p1:GDCheckModel>
</Checks>
<Code>sample string 2</Code>
<Company>sample string 3</Company>
<CompanyId>4</CompanyId>
<CreateUser>25</CreateUser>
<Createtime>2026-10-20T20:42:32.7081063+08:00</Createtime>
<CustomIdea>sample string 21</CustomIdea>
<Department>sample string 6</Department>
<Id>1</Id>
<LinkMan>sample string 5</LinkMan>
<Participant>sample string 10</Participant>
<RepairImg>sample string 28</RepairImg>
<Satisfaction>20</Satisfaction>
<ServiceDate>2026-10-20T20:42:32.7081063+08:00</ServiceDate>
<ServiceEndContent>sample string 19</ServiceEndContent>
<ServiceMan>sample string 8</ServiceMan>
<ServiceType1Content>sample string 9</ServiceType1Content>
<ServiceType1EndTime>2026-10-20T20:42:32.7081063+08:00</ServiceType1EndTime>
<ServiceType1StartTime>2026-10-20T20:42:32.7081063+08:00</ServiceType1StartTime>
<ServiceType2Describe>sample string 14</ServiceType2Describe>
<ServiceType2EndTime>2026-10-20T20:42:32.7081063+08:00</ServiceType2EndTime>
<ServiceType2ProClass>sample string 11</ServiceType2ProClass>
<ServiceType2Reason>sample string 15</ServiceType2Reason>
<ServiceType2RepairContent>sample string 16</ServiceType2RepairContent>
<ServiceType2SN>sample string 12</ServiceType2SN>
<ServiceType2StartTime>2026-10-20T20:42:32.7081063+08:00</ServiceType2StartTime>
<ServiceType2WorkCode>sample string 13</ServiceType2WorkCode>
<ServiceType3EndTime>2026-10-20T20:42:32.7081063+08:00</ServiceType3EndTime>
<ServiceType3Json>sample string 18</ServiceType3Json>
<ServiceType3RepairContent1>sample string 17</ServiceType3RepairContent1>
<ServiceType3StartTime>2026-10-20T20:42:32.7081063+08:00</ServiceType3StartTime>
<Signature>sample string 22</Signature>
<Tel>sample string 7</Tel>
<TrainImg>sample string 26</TrainImg>
</GDCheckEntity>
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>