POST api/scheme/BOFNOCUpload

Request Information

URI Parameters

None.

Body Parameters

NOCUpload
NameDescriptionTypeAdditional information
BusinessPartnerId

integer

None.

SchemeCode

string

None.

isRetailer

boolean

None.

ID

integer

None.

NOCImage

string

None.

SchemeBOFProductId

integer

None.

SchemeNOCId

integer

None.

SelectedStockistId

integer

None.

retailerPanNo

string

None.

retailerPanPhoto

string

None.

productPreferenceList

Collection of productPreference

None.

EmployeeId

integer

None.

SessionID

string

None.

DeviceID

string

None.

Request Formats

application/json, text/json

Sample:
{
  "BusinessPartnerId": 1,
  "SchemeCode": "sample string 2",
  "isRetailer": true,
  "ID": 4,
  "NOCImage": "sample string 5",
  "SchemeBOFProductId": 6,
  "SchemeNOCId": 7,
  "SelectedStockistId": 8,
  "retailerPanNo": "sample string 9",
  "retailerPanPhoto": "sample string 10",
  "productPreferenceList": [
    {
      "PreferenceProductId": 1,
      "Preference": 2
    },
    {
      "PreferenceProductId": 1,
      "Preference": 2
    }
  ],
  "EmployeeId": 11,
  "SessionID": "sample string 12",
  "DeviceID": "sample string 13"
}

application/xml, text/xml

Sample:
<NOCUpload xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/application.knh.webapi.BE">
  <DeviceID>sample string 13</DeviceID>
  <EmployeeId>11</EmployeeId>
  <SessionID>sample string 12</SessionID>
  <BusinessPartnerId>1</BusinessPartnerId>
  <ID>4</ID>
  <NOCImage>sample string 5</NOCImage>
  <SchemeBOFProductId>6</SchemeBOFProductId>
  <SchemeCode>sample string 2</SchemeCode>
  <SchemeNOCId>7</SchemeNOCId>
  <SelectedStockistId>8</SelectedStockistId>
  <isRetailer>true</isRetailer>
  <productPreferenceList>
    <productPreference>
      <Preference>2</Preference>
      <PreferenceProductId>1</PreferenceProductId>
    </productPreference>
    <productPreference>
      <Preference>2</Preference>
      <PreferenceProductId>1</PreferenceProductId>
    </productPreference>
  </productPreferenceList>
  <retailerPanNo>sample string 9</retailerPanNo>
  <retailerPanPhoto>sample string 10</retailerPanPhoto>
</NOCUpload>

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.