POST api/Rebate/SaveVisitPhoto
保存返利检核选中的照片
Request Information
URI Parameters
None.
Body Parameters
SaveVisitPhotoDto| Name | Description | Type | Additional information |
|---|---|---|---|
| ContractRebateDtlID | globally unique identifier |
None. |
|
| CheckVisitItems | Collection of CheckPhoto |
None. |
Request Formats
application/json, text/json
Sample:
{
"CheckVisitItems": [
{
"WorkDate": "2025-12-17 05:51:42",
"IsChecked": true,
"PhototUrl": "sample string 2",
"PhotoType": "sample string 3"
},
{
"WorkDate": "2025-12-17 05:51:42",
"IsChecked": true,
"PhototUrl": "sample string 2",
"PhotoType": "sample string 3"
}
],
"ContractRebateDtlID": "fbc886c7-a3e4-4cea-be1a-cbc7372df59b"
}
application/xml, text/xml
Sample:
<SaveVisitPhotoDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JT.VSFA.Entity">
<CheckVisitItems>
<CheckPhoto>
<IsChecked>true</IsChecked>
<PhotoType>sample string 3</PhotoType>
<PhototUrl>sample string 2</PhototUrl>
<WorkDate>2025-12-17T05:51:42.8338997+08:00</WorkDate>
</CheckPhoto>
<CheckPhoto>
<IsChecked>true</IsChecked>
<PhotoType>sample string 3</PhotoType>
<PhototUrl>sample string 2</PhototUrl>
<WorkDate>2025-12-17T05:51:42.8338997+08:00</WorkDate>
</CheckPhoto>
</CheckVisitItems>
<ContractRebateDtlID>fbc886c7-a3e4-4cea-be1a-cbc7372df59b</ContractRebateDtlID>
</SaveVisitPhotoDto>
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>