POST Receipt/ReUpload
Reupload struck if struck reject but need to member fixing it
Request Information
URI Parameters
None.
Body Parameters
ReUploadReceiptModelName | Description | Type | Additional information |
---|---|---|---|
ReceiptID | globally unique identifier |
None. |
|
Images | Collection of string |
None. |
|
ReceiptCode | string |
None. |
|
TransactionDate | string |
None. |
|
EventCode | string |
None. |
|
RequestDate | string |
None. |
|
Remark | string |
None. |
|
RetailerAddress | string |
None. |
|
Channel | string |
None. |
|
RetailerID | integer |
None. |
|
Details | Collection of UploadReceiptDetail |
None. |
|
poolId | integer |
None. |
|
userId | integer |
None. |
|
userName | string |
None. |
|
fullname | string |
None. |
|
code | string |
None. |
|
ID | globally unique identifier |
None. |
|
MemberID | integer |
None. |
|
MemberName | string |
None. |
|
RetailerCode | string |
None. |
|
StrTransactionDate | string |
None. |
|
StrTransactionTime | string |
None. |
|
TotalAction | integer |
None. |
|
ActionDummy | integer |
None. |
|
ReceiptDetails | Collection of UploadReceiptDetailCMSModel |
None. |
|
IsNeedReuploadData | boolean |
None. |
|
RejectReason | string |
None. |
|
IsError | boolean |
None. |
|
Status | integer |
None. |
|
FilesImages | Collection of HttpPostedFileBase |
None. |
|
CodeGimmick | string |
None. |
|
ClusterID | integer |
None. |
|
ClusterName | string |
None. |
|
StoreCodeId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "ReceiptID": "c40b8547-bc73-471d-a70e-e08992022d74", "Images": [ "sample string 1", "sample string 2" ], "ReceiptCode": "sample string 2", "TransactionDate": "sample string 3", "EventCode": "sample string 4", "RequestDate": "sample string 5", "Remark": "sample string 6", "RetailerAddress": "sample string 7", "Channel": "sample string 8", "RetailerID": 1, "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" } ], "poolId": 9, "userId": 10, "userName": "sample string 11", "fullname": "sample string 12", "code": "sample string 13", "ID": "cc631371-4036-4200-ba97-0792395ea59c", "MemberID": 15, "MemberName": "sample string 16", "RetailerCode": "sample string 17", "StrTransactionDate": "sample string 18", "StrTransactionTime": "sample string 19", "TotalAction": 20, "ActionDummy": 1, "ReceiptDetails": [ { "ActionID": 1, "Quantity": 1, "QuantityApproved": 2, "Points": 3, "TotalPoints": 4, "TotalQuantityApprovedPoints": 5, "MaxPoints": 6, "Remarks": "sample string 7", "ErrorMessage": "sample string 8", "ItemPrice": 9.0, "ChildID": 1, "ChildName": "sample string 10" }, { "ActionID": 1, "Quantity": 1, "QuantityApproved": 2, "Points": 3, "TotalPoints": 4, "TotalQuantityApprovedPoints": 5, "MaxPoints": 6, "Remarks": "sample string 7", "ErrorMessage": "sample string 8", "ItemPrice": 9.0, "ChildID": 1, "ChildName": "sample string 10" } ], "IsNeedReuploadData": true, "RejectReason": "sample string 22", "IsError": true, "Status": 24, "FilesImages": null, "CodeGimmick": "sample string 25", "ClusterID": 26, "ClusterName": "sample string 27", "StoreCodeId": 28 }
Response Information
Resource Description
ResultModelOfReceiptModelName | Description | Type | Additional 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": "bd609436-44da-48eb-a68a-91cf0ee72350", "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" } }