POST api/CustomerDetails/InsertUpdateProductBundleSet

Request Information

URI Parameters

None.

Body Parameters

ProductBundleSetDto
NameDescriptionTypeAdditional information
MasterProductCode

string

None.

BundledProductCode

string

None.

BundledProductQty

integer

None.

BundledProductSortOrder

integer

None.

SalesValue

decimal number

None.

Cost

decimal number

None.

CompanyID

integer

None.

IsDeleted

boolean

None.

Active

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "masterProductCode": "sample string 1",
  "bundledProductCode": "sample string 2",
  "bundledProductQty": 3,
  "bundledProductSortOrder": 4,
  "salesValue": 5.0,
  "cost": 6.0,
  "companyID": 7,
  "isDeleted": true,
  "active": true
}

application/xml, text/xml

Sample:
<ProductBundleSetDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PD_MC.Dtos">
  <Active>true</Active>
  <BundledProductCode>sample string 2</BundledProductCode>
  <BundledProductQty>3</BundledProductQty>
  <BundledProductSortOrder>4</BundledProductSortOrder>
  <CompanyID>7</CompanyID>
  <Cost>6</Cost>
  <IsDeleted>true</IsDeleted>
  <MasterProductCode>sample string 1</MasterProductCode>
  <SalesValue>5</SalesValue>
</ProductBundleSetDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

multipart/form-data

Sample:
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="MasterProductCode"

sample string 1
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="BundledProductCode"

sample string 2
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="BundledProductQty"

3
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="BundledProductSortOrder"

4
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="SalesValue"

5
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Cost"

6
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="CompanyID"

7
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="IsDeleted"

True
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Active"

True
--MultipartDataMediaFormatterBoundary1q2w3e--

Response Information

Resource Description

Object

None.

Response Formats

application/json, text/json

Sample:
{}

application/xml, text/xml

Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />

multipart/form-data

Sample:
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name=""

System.Object
--MultipartDataMediaFormatterBoundary1q2w3e--