POST v1/redemption/perform

Request Information

URI Parameters

None.

Body Parameters

RedemptionPerfomRequest
NameDescriptionTypeAdditional information
AccessToken

string

None.

Login

string

None.

OrderId

string

None.

ParentOrderId

string

None.

TotalPoints

decimal number

None.

ConversionRate

decimal number

None.

TotalOrder

decimal number

None.

ShippingValue

decimal number

None.

OrderItems

Collection of OrderItem

None.

Request Formats

application/json, text/json

Sample:
{
  "AccessToken": "sample string 1",
  "Login": "sample string 2",
  "OrderId": "sample string 3",
  "ParentOrderId": "sample string 4",
  "TotalPoints": 5.0,
  "ConversionRate": 6.0,
  "TotalOrder": 7.0,
  "ShippingValue": 8.0,
  "OrderItems": [
    {
      "CodeItem": "sample string 1",
      "ProductName": "sample string 2",
      "Supplier": "sample string 3",
      "Department": "sample string 4",
      "Category": "sample string 5",
      "UnitPointsValue": 6.0,
      "UnitCurrencyValue": 7.0,
      "Quantity": 8,
      "ForecastDate": "2024-11-05T16:40:23.4232062+00:00"
    },
    {
      "CodeItem": "sample string 1",
      "ProductName": "sample string 2",
      "Supplier": "sample string 3",
      "Department": "sample string 4",
      "Category": "sample string 5",
      "UnitPointsValue": 6.0,
      "UnitCurrencyValue": 7.0,
      "Quantity": 8,
      "ForecastDate": "2024-11-05T16:40:23.4232062+00:00"
    }
  ]
}

text/html

Sample:
{"AccessToken":"sample string 1","Login":"sample string 2","OrderId":"sample string 3","ParentOrderId":"sample string 4","TotalPoints":5.0,"ConversionRate":6.0,"TotalOrder":7.0,"ShippingValue":8.0,"OrderItems":[{"CodeItem":"sample string 1","ProductName":"sample string 2","Supplier":"sample string 3","Department":"sample string 4","Category":"sample string 5","UnitPointsValue":6.0,"UnitCurrencyValue":7.0,"Quantity":8,"ForecastDate":"2024-11-05T16:40:23.4232062+00:00"},{"CodeItem":"sample string 1","ProductName":"sample string 2","Supplier":"sample string 3","Department":"sample string 4","Category":"sample string 5","UnitPointsValue":6.0,"UnitCurrencyValue":7.0,"Quantity":8,"ForecastDate":"2024-11-05T16:40:23.4232062+00:00"}]}

application/xml, text/xml

Sample:
<RedemptionPerfomRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BV.Integrator.Business.Models">
  <AccessToken>sample string 1</AccessToken>
  <ConversionRate>6</ConversionRate>
  <Login>sample string 2</Login>
  <OrderId>sample string 3</OrderId>
  <OrderItems>
    <OrderItem>
      <Category>sample string 5</Category>
      <CodeItem>sample string 1</CodeItem>
      <Department>sample string 4</Department>
      <ForecastDate>2024-11-05T16:40:23.4232062+00:00</ForecastDate>
      <ProductName>sample string 2</ProductName>
      <Quantity>8</Quantity>
      <Supplier>sample string 3</Supplier>
      <UnitCurrencyValue>7</UnitCurrencyValue>
      <UnitPointsValue>6</UnitPointsValue>
    </OrderItem>
    <OrderItem>
      <Category>sample string 5</Category>
      <CodeItem>sample string 1</CodeItem>
      <Department>sample string 4</Department>
      <ForecastDate>2024-11-05T16:40:23.4232062+00:00</ForecastDate>
      <ProductName>sample string 2</ProductName>
      <Quantity>8</Quantity>
      <Supplier>sample string 3</Supplier>
      <UnitCurrencyValue>7</UnitCurrencyValue>
      <UnitPointsValue>6</UnitPointsValue>
    </OrderItem>
  </OrderItems>
  <ParentOrderId>sample string 4</ParentOrderId>
  <ShippingValue>8</ShippingValue>
  <TotalOrder>7</TotalOrder>
  <TotalPoints>5</TotalPoints>
</RedemptionPerfomRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, text/html, application/xml, text/xml

Sample:

Sample not available.