POST api/Rebate/SaveVisitPhoto
保存返利检核选中的照片
Request Information
URI Parameters
None.
Body Parameters
SaveVisitPhotoDtoName | Description | Type | Additional information |
---|---|---|---|
ContractRebateDtlID | globally unique identifier |
None. |
|
CheckVisitItems | Collection of CheckPhoto |
None. |
Request Formats
application/json, text/json
Sample:
{ "CheckVisitItems": [ { "WorkDate": "2025-06-23 21:25:12", "IsChecked": true, "PhototUrl": "sample string 2", "PhotoType": "sample string 3" }, { "WorkDate": "2025-06-23 21:25:12", "IsChecked": true, "PhototUrl": "sample string 2", "PhotoType": "sample string 3" } ], "ContractRebateDtlID": "96603acc-e4b9-44c0-8364-b74eedba162a" }
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-06-23T21:25:12.6968249+08:00</WorkDate> </CheckPhoto> <CheckPhoto> <IsChecked>true</IsChecked> <PhotoType>sample string 3</PhotoType> <PhototUrl>sample string 2</PhototUrl> <WorkDate>2025-06-23T21:25:12.6968249+08:00</WorkDate> </CheckPhoto> </CheckVisitItems> <ContractRebateDtlID>96603acc-e4b9-44c0-8364-b74eedba162a</ContractRebateDtlID> </SaveVisitPhotoDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResultModelOfBooleanName | 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>