POST api/Coupon/HWUpdateAssignedInstallerOnCoupon
Updates the Assigned installer for a coupon and changes the installer on the consumers application.
Request Information
URI Parameters
None.
Body Parameters
ReassignInstallerToCouponMessageName | Description | Type | Additional information |
---|---|---|---|
InstallerAccountNo |
The account number of the installer that provided the Vavloline service |
string |
Max length: 50 |
CouponCode |
The coupon code that was redeemed at the Valvoline Service Installer |
string |
Required Max length: 20 |
Request Formats
application/json, text/json
Sample:
{ "InstallerAccountNo": "sample string 1", "CouponCode": "sample string 2" }
application/xml, text/xml
Sample:
<ReassignInstallerToCouponMessage xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SubmissionAPI.Models"> <CouponCode>sample string 2</CouponCode> <InstallerAccountNo>sample string 1</InstallerAccountNo> </ReassignInstallerToCouponMessage>
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. |