POST api/WeChat/ClockOut?DomainId={DomainId}&AccountId={AccountId}&PersonId={PersonId}
工作举证
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| DomainId |
域Id |
globally unique identifier |
None. |
| AccountId |
账户Id |
globally unique identifier |
None. |
| PersonId |
人员Id |
globally unique identifier |
None. |
Body Parameters
ClockOutDto| Name | Description | Type | Additional information |
|---|---|---|---|
| LAT | string |
None. |
|
| LNG | string |
None. |
|
| Accuracy | string |
None. |
|
| Location | string |
None. |
|
| ClockOutRuleID | globally unique identifier |
None. |
|
| RuleTypeKey | string |
None. |
|
| WorkTypeKey | string |
None. |
|
| Remark | string |
None. |
|
| TitleText | string |
None. |
|
| CustomerName | string |
None. |
|
| CustomerID | globally unique identifier |
None. |
|
| ClockOutPic | Collection of string |
None. |
Request Formats
application/json, text/json
Sample:
{
"ClockOutPic": [
"sample string 1",
"sample string 2"
],
"LAT": "sample string 1",
"LNG": "sample string 2",
"Accuracy": "sample string 3",
"Location": "sample string 4",
"ClockOutRuleID": "7e726b19-1e43-47ec-8fdc-2de0734c7ff4",
"RuleTypeKey": "sample string 5",
"WorkTypeKey": "sample string 6",
"Remark": "sample string 7",
"TitleText": "sample string 8",
"CustomerName": "sample string 9",
"CustomerID": "ab9f2ae8-affd-4aaf-9cb6-7389fcbe8c52"
}
application/xml, text/xml
Sample:
<ClockOutDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JT.VSFA.Entity.DTO.ApiDTO">
<Accuracy>sample string 3</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>7e726b19-1e43-47ec-8fdc-2de0734c7ff4</ClockOutRuleID>
<CustomerID>ab9f2ae8-affd-4aaf-9cb6-7389fcbe8c52</CustomerID>
<CustomerName>sample string 9</CustomerName>
<LAT>sample string 1</LAT>
<LNG>sample string 2</LNG>
<Location>sample string 4</Location>
<Remark>sample string 7</Remark>
<RuleTypeKey>sample string 5</RuleTypeKey>
<TitleText>sample string 8</TitleText>
<WorkTypeKey>sample string 6</WorkTypeKey>
</ClockOutDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResultModelOfBoolean| Name | Description | Type | Additional information |
|---|---|---|---|
| Code | ReturnCode |
None. |
|
| Message | string |
None. |
|
| Data | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{
"Code": 200,
"Message": "sample string 1",
"Data": true
}
application/xml, text/xml
Sample:
<ResultModelOfboolean xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JT.VSFA.Utility"> <Code>Success</Code> <Data>true</Data> <Message>sample string 1</Message> </ResultModelOfboolean>