POST api/ClockOut/CreateClockOutRecord
保存举证记录
Request Information
URI Parameters
None.
Body Parameters
CreateClockOutRecordDto| Name | Description | Type | Additional information |
|---|---|---|---|
| ClockOutRuleID | globally unique identifier |
None. |
|
| Remark | string |
None. |
|
| WorkTypeKey | string |
None. |
|
| LNG | string |
None. |
|
| LAT | string |
None. |
|
| Location | string |
None. |
|
| Accuracy | string |
None. |
|
| TitleText | string |
None. |
|
| CustomerID | globally unique identifier |
None. |
|
| CustomerName | string |
None. |
|
| ClockOutPic | Collection of string |
None. |
Request Formats
application/json, text/json
Sample:
{
"ClockOutPic": [
"sample string 1",
"sample string 2"
],
"ClockOutRuleID": "57f97bff-1ea8-4afe-ad87-601fc66562ed",
"Remark": "sample string 2",
"WorkTypeKey": "sample string 3",
"LNG": "sample string 4",
"LAT": "sample string 5",
"Location": "sample string 6",
"Accuracy": "sample string 7",
"TitleText": "sample string 8",
"CustomerID": "3d7e8d21-c1d3-4e33-b41d-364533954ec3",
"CustomerName": "sample string 9"
}
application/xml, text/xml
Sample:
<CreateClockOutRecordDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JT.VSFA.Entity">
<Accuracy>sample string 7</Accuracy>
<ClockOutPic xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>sample string 1</d2p1:string>
<d2p1:string>sample string 2</d2p1:string>
</ClockOutPic>
<ClockOutRuleID>57f97bff-1ea8-4afe-ad87-601fc66562ed</ClockOutRuleID>
<CustomerID>3d7e8d21-c1d3-4e33-b41d-364533954ec3</CustomerID>
<CustomerName>sample string 9</CustomerName>
<LAT>sample string 5</LAT>
<LNG>sample string 4</LNG>
<Location>sample string 6</Location>
<Remark>sample string 2</Remark>
<TitleText>sample string 8</TitleText>
<WorkTypeKey>sample string 3</WorkTypeKey>
</CreateClockOutRecordDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResultModelOfObject| Name | Description | Type | Additional information |
|---|---|---|---|
| Code | ReturnCode |
None. |
|
| Message | string |
None. |
|
| Data | Object |
None. |
Response Formats
application/json, text/json
Sample:
{
"Code": 200,
"Message": "sample string 1",
"Data": {}
}
application/xml, text/xml
Sample:
<ResultModelOfanyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JT.VSFA.Utility"> <Code>Success</Code> <Data /> <Message>sample string 1</Message> </ResultModelOfanyType>