POST api/Rebate/SaveVisitPhoto

保存返利检核选中的照片

Request Information

URI Parameters

None.

Body Parameters

SaveVisitPhotoDto
NameDescriptionTypeAdditional information
ContractRebateDtlID

globally unique identifier

None.

CheckVisitItems

Collection of CheckPhoto

None.

Request Formats

application/json, text/json

Sample:
{
  "CheckVisitItems": [
    {
      "WorkDate": "2025-07-23 07:26:34",
      "IsChecked": true,
      "PhototUrl": "sample string 2",
      "PhotoType": "sample string 3"
    },
    {
      "WorkDate": "2025-07-23 07:26:34",
      "IsChecked": true,
      "PhototUrl": "sample string 2",
      "PhotoType": "sample string 3"
    }
  ],
  "ContractRebateDtlID": "6217b19f-253b-4940-a6bd-4a3693a34180"
}

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-07-23T07:26:34.3124879+08:00</WorkDate>
    </CheckPhoto>
    <CheckPhoto>
      <IsChecked>true</IsChecked>
      <PhotoType>sample string 3</PhotoType>
      <PhototUrl>sample string 2</PhototUrl>
      <WorkDate>2025-07-23T07:26:34.3124879+08:00</WorkDate>
    </CheckPhoto>
  </CheckVisitItems>
  <ContractRebateDtlID>6217b19f-253b-4940-a6bd-4a3693a34180</ContractRebateDtlID>
</SaveVisitPhotoDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ResultModelOfBoolean
NameDescriptionTypeAdditional 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>