POST api/{projectID}/RepeatOrder

Request Information

URI Parameters

NameDescriptionTypeAdditional information
projectID

integer

Required

Body Parameters

RepeatOrderRequest
NameDescriptionTypeAdditional information
userId

string

None.

prevOrderId

string

None.

Request Formats

application/json, text/json

Sample:
{
  "userId": "sample string 1",
  "prevOrderId": "sample string 2"
}

application/xml, text/xml

Sample:
<RepeatOrderRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AppKobi.WebApi">
  <prevOrderId>sample string 2</prevOrderId>
  <userId>sample string 1</userId>
</RepeatOrderRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

AddBasketResponse
NameDescriptionTypeAdditional information
isSuccess

boolean

None.

errorMessage

string

None.

basketId

string

None.

addressId

string

None.

totalBasketPrice

decimal number

None.

discount

decimal number

None.

serviceWage

decimal number

None.

serviceTime

string

None.

finalPrice

decimal number

None.

itemCount

string

None.

listBasket

Collection of Basket

None.

Response Formats

application/json, text/json

Sample:
{
  "isSuccess": true,
  "errorMessage": "sample string 2",
  "basketId": "sample string 3",
  "addressId": "sample string 4",
  "totalBasketPrice": 5.0,
  "discount": 6.0,
  "serviceWage": 7.0,
  "serviceTime": "sample string 8",
  "finalPrice": 9.0,
  "itemCount": "sample string 10",
  "listBasket": [
    {
      "count": 1.0,
      "itemId": "sample string 2",
      "productId": "sample string 3",
      "name": "sample string 4",
      "imageUrl": "sample string 5",
      "price": 6.0,
      "description": "sample string 7",
      "salestype": "sample string 8",
      "unitIncrement": 9.0,
      "minUnit": 10.0,
      "maxUnit": 11.0
    },
    {
      "count": 1.0,
      "itemId": "sample string 2",
      "productId": "sample string 3",
      "name": "sample string 4",
      "imageUrl": "sample string 5",
      "price": 6.0,
      "description": "sample string 7",
      "salestype": "sample string 8",
      "unitIncrement": 9.0,
      "minUnit": 10.0,
      "maxUnit": 11.0
    }
  ]
}

application/xml, text/xml

Sample:
<AddBasketResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AppKobi.WebApi">
  <addressId>sample string 4</addressId>
  <basketId>sample string 3</basketId>
  <discount>6</discount>
  <errorMessage>sample string 2</errorMessage>
  <finalPrice>9</finalPrice>
  <isSuccess>true</isSuccess>
  <itemCount>sample string 10</itemCount>
  <listBasket>
    <Basket>
      <count>1</count>
      <description>sample string 7</description>
      <imageUrl>sample string 5</imageUrl>
      <itemId>sample string 2</itemId>
      <maxUnit>11</maxUnit>
      <minUnit>10</minUnit>
      <name>sample string 4</name>
      <price>6</price>
      <productId>sample string 3</productId>
      <salestype>sample string 8</salestype>
      <unitIncrement>9</unitIncrement>
    </Basket>
    <Basket>
      <count>1</count>
      <description>sample string 7</description>
      <imageUrl>sample string 5</imageUrl>
      <itemId>sample string 2</itemId>
      <maxUnit>11</maxUnit>
      <minUnit>10</minUnit>
      <name>sample string 4</name>
      <price>6</price>
      <productId>sample string 3</productId>
      <salestype>sample string 8</salestype>
      <unitIncrement>9</unitIncrement>
    </Basket>
  </listBasket>
  <serviceTime>sample string 8</serviceTime>
  <serviceWage>7</serviceWage>
  <totalBasketPrice>5</totalBasketPrice>
</AddBasketResponse>