POST api/Pin/GenerateMultiple

Generate Pin for Marketer

Request Information

URI Parameters

None.

Body Parameters

generateMultiple
NamedescriptionTypeAdditional information
BranchSysId

integer

None.

AllotmentId

string

None.

PinList

Collection of pinInfo

None.

PaymentDetails

mlPaymentDetails

None.

Generatedby

string

None.

GeneratedDate

string

None.

CreatedBy

string

None.

CreatedDate

string

None.

PinProofUploadedPath

string

None.

Request Formats

application/json, text/json

Sample:
{
  "AllotmentId": "sample string 2",
  "BranchSysId": 1,
  "CreatedBy": "sample string 5",
  "CreatedDate": "sample string 6",
  "GeneratedDate": "sample string 4",
  "Generatedby": "sample string 3",
  "PaymentDetails": {
    "PayBankName": "sample string 4",
    "PayBranchName": "sample string 5",
    "PayTransDate": "sample string 3",
    "PayTransNo": "sample string 2",
    "PayTransValue": 6,
    "Paymode": "sample string 1"
  },
  "PinList": [
    {
      "Apv": 5,
      "BinaryPV": 4,
      "Cost": 2,
      "DirectReferral": 7,
      "MlmProductSysId": 1,
      "NoofPins": 6,
      "Pv": 3
    },
    {
      "Apv": 5,
      "BinaryPV": 4,
      "Cost": 2,
      "DirectReferral": 7,
      "MlmProductSysId": 1,
      "NoofPins": 6,
      "Pv": 3
    }
  ],
  "PinProofUploadedPath": "sample string 7"
}

application/xml, text/xml

Sample:
<mlPin.generateMultiple xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Systemic.MLM.Model.Pin">
  <AllotmentId>sample string 2</AllotmentId>
  <BranchSysId>1</BranchSysId>
  <CreatedBy>sample string 5</CreatedBy>
  <CreatedDate>sample string 6</CreatedDate>
  <GeneratedDate>sample string 4</GeneratedDate>
  <Generatedby>sample string 3</Generatedby>
  <PaymentDetails xmlns:d2p1="http://schemas.datacontract.org/2004/07/Systemic.MLM.Model.Common">
    <d2p1:PayBankName>sample string 4</d2p1:PayBankName>
    <d2p1:PayBranchName>sample string 5</d2p1:PayBranchName>
    <d2p1:PayTransDate>sample string 3</d2p1:PayTransDate>
    <d2p1:PayTransNo>sample string 2</d2p1:PayTransNo>
    <d2p1:PayTransValue>6</d2p1:PayTransValue>
    <d2p1:Paymode>sample string 1</d2p1:Paymode>
  </PaymentDetails>
  <PinList>
    <mlPin.generateMultiple.pinInfo>
      <Apv>5</Apv>
      <BinaryPV>4</BinaryPV>
      <Cost>2</Cost>
      <DirectReferral>7</DirectReferral>
      <MlmProductSysId>1</MlmProductSysId>
      <NoofPins>6</NoofPins>
      <Pv>3</Pv>
    </mlPin.generateMultiple.pinInfo>
    <mlPin.generateMultiple.pinInfo>
      <Apv>5</Apv>
      <BinaryPV>4</BinaryPV>
      <Cost>2</Cost>
      <DirectReferral>7</DirectReferral>
      <MlmProductSysId>1</MlmProductSysId>
      <NoofPins>6</NoofPins>
      <Pv>3</Pv>
    </mlPin.generateMultiple.pinInfo>
  </PinList>
  <PinProofUploadedPath>sample string 7</PinProofUploadedPath>
</mlPin.generateMultiple>

response Information

Resource description

ApiResponse
NamedescriptionTypeAdditional information
response

string

Required

failure

MlError

None.

success

MlSuccess

None.