POST api/retailerApp/placeOrderByTCaller?SessionId={SessionId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
SessionId

string

Required

Body Parameters

PlaceOrderTCallerRequest
NameDescriptionTypeAdditional information
StockistCode

string

None.

RetailerMobileNo

string

None.

RetailerCode

string

None.

TCallerName

string

None.

Remark

string

None.

ProductList

Collection of PlaceOrderTCaller_Products

None.

Request Formats

application/json, text/json

Sample:
{
  "StockistCode": "sample string 1",
  "RetailerMobileNo": "sample string 2",
  "RetailerCode": "sample string 3",
  "TCallerName": "sample string 4",
  "Remark": "sample string 5",
  "ProductList": [
    {
      "ProductCode": "sample string 1",
      "Qty": 2
    },
    {
      "ProductCode": "sample string 1",
      "Qty": 2
    }
  ]
}

application/xml, text/xml

Sample:
<PlaceOrderTCallerRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/application.knh.webapi.BE">
  <ProductList>
    <PlaceOrderTCaller_Products>
      <ProductCode>sample string 1</ProductCode>
      <Qty>2</Qty>
    </PlaceOrderTCaller_Products>
    <PlaceOrderTCaller_Products>
      <ProductCode>sample string 1</ProductCode>
      <Qty>2</Qty>
    </PlaceOrderTCaller_Products>
  </ProductList>
  <Remark>sample string 5</Remark>
  <RetailerCode>sample string 3</RetailerCode>
  <RetailerMobileNo>sample string 2</RetailerMobileNo>
  <StockistCode>sample string 1</StockistCode>
  <TCallerName>sample string 4</TCallerName>
</PlaceOrderTCallerRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.