POST api/v1/offers/validateCustomerOffer

Request Information

URI Parameters

None.

Body Parameters

offerclaimViewModel
NameDescriptionTypeAdditional information
offer_claim_id

integer

None.

offer_id

integer

None.

branch_id

integer

None.

customer_id

integer

None.

created_at

date

None.

is_claimed

boolean

None.

claim_qr_url

string

None.

validated_at

date

None.

vendor_id

integer

None.

buy_item_upgrade_offer

string

None.

free_upgrade_upgrade_offer

string

None.

buy_item_free_item_offer

string

None.

free_item_free_item_offer

string

None.

qty

integer

None.

type_code

integer

None.

percentage_discount

decimal number

None.

amount_off

decimal number

None.

amount_spent

decimal number

None.

amount_currency

string

None.

amount_currency_symbol

string

None.

start_date

date

None.

end_date

date

None.

Request Formats

application/json, text/json

Sample:
{
  "offer_claim_id": 1,
  "offer_id": 2,
  "branch_id": 3,
  "customer_id": 1,
  "created_at": "2020-05-28T19:23:50.8008334+01:00",
  "is_claimed": true,
  "claim_qr_url": "sample string 5",
  "validated_at": "2020-05-28T19:23:50.8008334+01:00",
  "vendor_id": 1,
  "buy_item_upgrade_offer": "sample string 6",
  "free_upgrade_upgrade_offer": "sample string 7",
  "buy_item_free_item_offer": "sample string 8",
  "free_item_free_item_offer": "sample string 9",
  "qty": 1,
  "type_code": 1,
  "percentage_discount": 1.1,
  "amount_off": 1.1,
  "amount_spent": 1.1,
  "amount_currency": "sample string 10",
  "amount_currency_symbol": "sample string 11",
  "start_date": "2020-05-28T19:23:50.8008334+01:00",
  "end_date": "2020-05-28T19:23:50.8008334+01:00"
}

application/xml, text/xml

Sample:
<offerclaimViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QuScan.App.Common.ViewModels.OfferClaim">
  <amount_currency>sample string 10</amount_currency>
  <amount_currency_symbol>sample string 11</amount_currency_symbol>
  <amount_off>1.1</amount_off>
  <amount_spent>1.1</amount_spent>
  <branch_id>3</branch_id>
  <buy_item_free_item_offer>sample string 8</buy_item_free_item_offer>
  <buy_item_upgrade_offer>sample string 6</buy_item_upgrade_offer>
  <claim_qr_url>sample string 5</claim_qr_url>
  <created_at>2020-05-28T19:23:50.8008334+01:00</created_at>
  <customer_id>1</customer_id>
  <end_date>2020-05-28T19:23:50.8008334+01:00</end_date>
  <free_item_free_item_offer>sample string 9</free_item_free_item_offer>
  <free_upgrade_upgrade_offer>sample string 7</free_upgrade_upgrade_offer>
  <is_claimed>true</is_claimed>
  <offer_claim_id>1</offer_claim_id>
  <offer_id>2</offer_id>
  <percentage_discount>1.1</percentage_discount>
  <qty>1</qty>
  <start_date>2020-05-28T19:23:50.8008334+01:00</start_date>
  <type_code>1</type_code>
  <validated_at>2020-05-28T19:23:50.8008334+01:00</validated_at>
  <vendor_id>1</vendor_id>
</offerclaimViewModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.