POST api/Coupon/CheckCouponServerObj?couponCode={couponCode}&customerID={customerID}

Documentation for 'CheckCouponServerObj'.

Request Information

Parameters

NameDescriptionAdditional information
couponCode
Documentation for 'couponCode'.

Define this parameter in the request URI.

customerID
Documentation for 'customerID'.

Define this parameter in the request URI.

Response Information

Response body formats

application/json, text/json

Sample:
[
  {
    "$id": "1",
    "CekKuponKlikResult": 1,
    "KodeRespon": "sample string 2",
    "Pesan": "sample string 3",
    "KodePromo": "sample string 4"
  },
  {
    "$ref": "1"
  },
  {
    "$ref": "1"
  }
]

application/xml, text/xml

Sample:
<ArrayOfCekKuponKlikResponse xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <CekKuponKlikResponse>
    <CekKuponKlikResult xmlns="http://tempuri.org/">1</CekKuponKlikResult>
    <KodeRespon xmlns="http://tempuri.org/">sample string 2</KodeRespon>
    <Pesan xmlns="http://tempuri.org/">sample string 3</Pesan>
    <KodePromo xmlns="http://tempuri.org/">sample string 4</KodePromo>
  </CekKuponKlikResponse>
  <CekKuponKlikResponse>
    <CekKuponKlikResult xmlns="http://tempuri.org/">1</CekKuponKlikResult>
    <KodeRespon xmlns="http://tempuri.org/">sample string 2</KodeRespon>
    <Pesan xmlns="http://tempuri.org/">sample string 3</Pesan>
    <KodePromo xmlns="http://tempuri.org/">sample string 4</KodePromo>
  </CekKuponKlikResponse>
  <CekKuponKlikResponse>
    <CekKuponKlikResult xmlns="http://tempuri.org/">1</CekKuponKlikResult>
    <KodeRespon xmlns="http://tempuri.org/">sample string 2</KodeRespon>
    <Pesan xmlns="http://tempuri.org/">sample string 3</Pesan>
    <KodePromo xmlns="http://tempuri.org/">sample string 4</KodePromo>
  </CekKuponKlikResponse>
</ArrayOfCekKuponKlikResponse>