POST api/Pin/generatekitmultiplepin

Request Information

URI Parameters

None.

Body Parameters

generateMultiplePinKit
NamedescriptionTypeAdditional information
BranchSysId

integer

None.

NoofPins

integer

None.

AllotmentId

string

None.

PinList

Collection of KitpinInfo

None.

ProductInfo

Collection of ProductDetails

None.

Generatedby

string

None.

GeneratedDate

string

None.

CreatedBy

string

None.

CreatedDate

string

None.

PinProofUploadedPath

string

None.

TotalAmount

decimal number

None.

Quantity

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "AllotmentId": "sample string 3",
  "BranchSysId": 1,
  "CreatedBy": "sample string 6",
  "CreatedDate": "sample string 7",
  "GeneratedDate": "sample string 5",
  "Generatedby": "sample string 4",
  "NoofPins": 2,
  "PinList": [
    {
      "Address": "sample string 9",
      "Apv": 5,
      "BinaryPV": 4,
      "Cost": 2,
      "DirectReferral": 7,
      "MlmProductSysId": 1,
      "Mobile": "sample string 8",
      "NoofPins": 6,
      "ProductCount": 10,
      "Pv": 3
    },
    {
      "Address": "sample string 9",
      "Apv": 5,
      "BinaryPV": 4,
      "Cost": 2,
      "DirectReferral": 7,
      "MlmProductSysId": 1,
      "Mobile": "sample string 8",
      "NoofPins": 6,
      "ProductCount": 10,
      "Pv": 3
    }
  ],
  "PinProofUploadedPath": "sample string 8",
  "ProductInfo": [
    {
      "ProductCount": 1,
      "ProjectSysID": 2
    },
    {
      "ProductCount": 1,
      "ProjectSysID": 2
    }
  ],
  "Quantity": 10,
  "TotalAmount": 9
}

application/xml, text/xml

Sample:
<mlPin.generateMultiplePinKit xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Systemic.MLM.Model.Pin">
  <AllotmentId>sample string 3</AllotmentId>
  <BranchSysId>1</BranchSysId>
  <CreatedBy>sample string 6</CreatedBy>
  <CreatedDate>sample string 7</CreatedDate>
  <GeneratedDate>sample string 5</GeneratedDate>
  <Generatedby>sample string 4</Generatedby>
  <NoofPins>2</NoofPins>
  <PinList>
    <mlPin.generateMultiplePinKit.KitpinInfo>
      <Address>sample string 9</Address>
      <Apv>5</Apv>
      <BinaryPV>4</BinaryPV>
      <Cost>2</Cost>
      <DirectReferral>7</DirectReferral>
      <MlmProductSysId>1</MlmProductSysId>
      <Mobile>sample string 8</Mobile>
      <NoofPins>6</NoofPins>
      <ProductCount>10</ProductCount>
      <Pv>3</Pv>
    </mlPin.generateMultiplePinKit.KitpinInfo>
    <mlPin.generateMultiplePinKit.KitpinInfo>
      <Address>sample string 9</Address>
      <Apv>5</Apv>
      <BinaryPV>4</BinaryPV>
      <Cost>2</Cost>
      <DirectReferral>7</DirectReferral>
      <MlmProductSysId>1</MlmProductSysId>
      <Mobile>sample string 8</Mobile>
      <NoofPins>6</NoofPins>
      <ProductCount>10</ProductCount>
      <Pv>3</Pv>
    </mlPin.generateMultiplePinKit.KitpinInfo>
  </PinList>
  <PinProofUploadedPath>sample string 8</PinProofUploadedPath>
  <ProductInfo>
    <mlPin.generateMultiplePinKit.ProductDetails>
      <ProductCount>1</ProductCount>
      <ProjectSysID>2</ProjectSysID>
    </mlPin.generateMultiplePinKit.ProductDetails>
    <mlPin.generateMultiplePinKit.ProductDetails>
      <ProductCount>1</ProductCount>
      <ProjectSysID>2</ProjectSysID>
    </mlPin.generateMultiplePinKit.ProductDetails>
  </ProductInfo>
  <Quantity>10</Quantity>
  <TotalAmount>9</TotalAmount>
</mlPin.generateMultiplePinKit>

response Information

Resource description

ApiResponse
NamedescriptionTypeAdditional information
response

string

Required

failure

MlError

None.

success

MlSuccess

None.