POST api/product/SampleAllocationBPartnerAllocationSave

Request Information

URI Parameters

None.

Body Parameters

SampleAllocation_BPartner_Approval_Request_DTO
NameDescriptionTypeAdditional information
BMEmployeeId

integer

None.

SampleAllocationEmpId

integer

None.

ApprovalRequestList

Collection of SampleAllocation_BPartner_Approval_Request

None.

EmployeeId

integer

None.

SessionID

string

None.

DeviceID

string

None.

Request Formats

application/json, text/json

Sample:
{
  "BMEmployeeId": 1,
  "SampleAllocationEmpId": 2,
  "ApprovalRequestList": [
    {
      "Qty": 1,
      "BusinessPartnerId": 2,
      "ApprovedDateTime": "2026-03-29T11:59:55.3536841+05:30"
    },
    {
      "Qty": 1,
      "BusinessPartnerId": 2,
      "ApprovedDateTime": "2026-03-29T11:59:55.3536841+05:30"
    }
  ],
  "EmployeeId": 3,
  "SessionID": "sample string 4",
  "DeviceID": "sample string 5"
}

application/xml, text/xml

Sample:
<SampleAllocation_BPartner_Approval_Request_DTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/application.knh.webapi.BE">
  <DeviceID>sample string 5</DeviceID>
  <EmployeeId>3</EmployeeId>
  <SessionID>sample string 4</SessionID>
  <ApprovalRequestList>
    <SampleAllocation_BPartner_Approval_Request>
      <ApprovedDateTime>2026-03-29T11:59:55.3536841+05:30</ApprovedDateTime>
      <BusinessPartnerId>2</BusinessPartnerId>
      <Qty>1</Qty>
    </SampleAllocation_BPartner_Approval_Request>
    <SampleAllocation_BPartner_Approval_Request>
      <ApprovedDateTime>2026-03-29T11:59:55.3536841+05:30</ApprovedDateTime>
      <BusinessPartnerId>2</BusinessPartnerId>
      <Qty>1</Qty>
    </SampleAllocation_BPartner_Approval_Request>
  </ApprovalRequestList>
  <BMEmployeeId>1</BMEmployeeId>
  <SampleAllocationEmpId>2</SampleAllocationEmpId>
</SampleAllocation_BPartner_Approval_Request_DTO>

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.