POST pos/loyalty/sumup/transaction
Authorized only.
Request Information
URI Parameters
None.
Body Parameters
ApiSumupTransactionRequestName | Description | Type | Additional information |
---|---|---|---|
OrderMobileId | integer |
None. |
|
Points | integer |
None. |
|
RewardIds | Collection of string |
None. |
|
CustomerId | integer |
None. |
|
Cellphone | string |
None. |
|
string |
None. |
||
AuthCode | string |
None. |
|
UserQrCode | string |
None. |
|
ErrorIfNotFound | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "OrderMobileId": 1, "Points": 2, "RewardIds": [ "sample string 1", "sample string 2" ], "CustomerId": 1, "Cellphone": "sample string 3", "Email": "sample string 4", "AuthCode": "sample string 5", "UserQrCode": "sample string 6", "ErrorIfNotFound": true }
application/xml, text/xml
Sample:
<ApiSumupTransactionRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Api.Requests"> <AuthCode>sample string 5</AuthCode> <Cellphone>sample string 3</Cellphone> <CustomerId>1</CustomerId> <Email>sample string 4</Email> <ErrorIfNotFound>true</ErrorIfNotFound> <UserQrCode>sample string 6</UserQrCode> <OrderMobileId>1</OrderMobileId> <Points>2</Points> <RewardIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </RewardIds> </ApiSumupTransactionRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |