PUT loyalty/{cardNumber}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
cardNumber | string |
Required |
Body Parameters
DeferredRewardsLoyaltyRequestName | Description | Type | Additional information |
---|---|---|---|
undeferredRewardProgramIds | Collection of integer |
None. |
|
company | string |
None. |
|
companyUsername | string |
None. |
|
companyPassword | string |
None. |
|
requestUser | string |
None. |
|
requestPassword | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "undeferredRewardProgramIds": [ 1, 2 ], "company": "sample string 1", "companyUsername": "sample string 2", "companyPassword": "sample string 3", "requestUser": "sample string 4", "requestPassword": "sample string 5" }
application/xml, text/xml
Sample:
<DeferredRewardsLoyaltyRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Loyalty.Core.Contracts"> <company>sample string 1</company> <companyPassword>sample string 3</companyPassword> <companyUsername>sample string 2</companyUsername> <requestPassword>sample string 5</requestPassword> <requestUser>sample string 4</requestUser> <undeferredRewardProgramIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:int>1</d2p1:int> <d2p1:int>2</d2p1:int> </undeferredRewardProgramIds> </DeferredRewardsLoyaltyRequest>
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. |