POST api/tourplan/AllocationSampleToRetailer

Request Information

URI Parameters

None.

Body Parameters

SampleAllocataionBPartner
NameDescriptionTypeAdditional information
SampleAllocationEmpId

integer

None.

BusinessPartnerId

integer

None.

Qty

integer

None.

Remark

string

None.

TourPlanDetailId

integer

None.

EmployeeId

integer

None.

SessionID

string

None.

DeviceID

string

None.

Request Formats

application/json, text/json

Sample:
{
  "SampleAllocationEmpId": 1,
  "BusinessPartnerId": 2,
  "Qty": 3,
  "Remark": "sample string 4",
  "TourPlanDetailId": 5,
  "EmployeeId": 6,
  "SessionID": "sample string 7",
  "DeviceID": "sample string 8"
}

application/xml, text/xml

Sample:
<SampleAllocataionBPartner xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/application.knh.webapi.BE">
  <DeviceID>sample string 8</DeviceID>
  <EmployeeId>6</EmployeeId>
  <SessionID>sample string 7</SessionID>
  <BusinessPartnerId>2</BusinessPartnerId>
  <Qty>3</Qty>
  <Remark>sample string 4</Remark>
  <SampleAllocationEmpId>1</SampleAllocationEmpId>
  <TourPlanDetailId>5</TourPlanDetailId>
</SampleAllocataionBPartner>

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.