POST Receipt/PublicUpload

Request Information

URI Parameters

None.

Body Parameters

PublicUploadReceiptModel
NameDescriptionTypeAdditional information
ClientID

string

None.

MemberPhone

string

None.

Images

Collection of string

None.

ReceiptCode

string

None.

TransactionDate

string

None.

Remark

string

None.

RetailerAddress

string

None.

Channel

string

None.

RetailerID

integer

None.

Details

Collection of UploadReceiptDetail

None.

Request Formats

application/json, text/json

Sample:
{
  "ClientID": "sample string 1",
  "MemberPhone": "sample string 2",
  "Images": [
    "sample string 1",
    "sample string 2"
  ],
  "ReceiptCode": "sample string 3",
  "TransactionDate": "sample string 4",
  "Remark": "sample string 5",
  "RetailerAddress": "sample string 6",
  "Channel": "sample string 7",
  "RetailerID": 8,
  "Details": [
    {
      "ActionID": 1,
      "Quantity": 2,
      "ChildID": 1,
      "ChildId": 3,
      "Point": 4,
      "Remarks": "sample string 5"
    },
    {
      "ActionID": 1,
      "Quantity": 2,
      "ChildID": 1,
      "ChildId": 3,
      "Point": 4,
      "Remarks": "sample string 5"
    }
  ]
}

Response Information

Resource Description

ResultModelOfReceiptModel
NameDescriptionTypeAdditional information
StatusCode

string

None.

StatusMessage

string

None.

Value

ReceiptModel

None.

Response Formats

application/json, text/json

Sample:
{
  "StatusCode": "sample string 1",
  "StatusMessage": "sample string 2",
  "Value": {
    "ID": "25d23cd0-dd4c-4255-ac96-941b03ec9042",
    "ReceiptCode": "sample string 2",
    "IsNeedReuploadData": true,
    "Code": "sample string 4",
    "TransactionDate": "sample string 5",
    "RetailerID": 1,
    "Images": [
      "sample string 1",
      "sample string 2"
    ],
    "Status": 6,
    "Reason": "sample string 7",
    "MemberID": 8,
    "ProductBefore": "sample string 9"
  }
}