POST api/Pin/Generate
Generate Pin for Marketer
Request Information
URI Parameters
None.
Body Parameters
generateName | description | Type | Additional information |
---|---|---|---|
BranchSysId | integer |
None. |
|
AllotmentId | string |
None. |
|
MlmProductSysId | integer |
None. |
|
Cost | decimal number |
None. |
|
Pv | decimal number |
None. |
|
Apv | decimal number |
None. |
|
NoofPins | integer |
None. |
|
PaymentDetails | mlPaymentDetails |
None. |
|
Generatedby | string |
None. |
|
GeneratedDate | string |
None. |
|
CreatedBy | string |
None. |
|
CreatedDate | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "AllotmentId": "sample string 2", "Apv": 6, "BranchSysId": 1, "Cost": 4, "CreatedBy": "sample string 10", "CreatedDate": "sample string 11", "GeneratedDate": "sample string 9", "Generatedby": "sample string 8", "MlmProductSysId": 3, "NoofPins": 7, "PaymentDetails": { "PayBankName": "sample string 4", "PayBranchName": "sample string 5", "PayTransDate": "sample string 3", "PayTransNo": "sample string 2", "PayTransValue": 6, "Paymode": "sample string 1" }, "Pv": 5 }
application/xml, text/xml
Sample:
<mlPin.generate 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> <Apv>6</Apv> <BranchSysId>1</BranchSysId> <Cost>4</Cost> <CreatedBy>sample string 10</CreatedBy> <CreatedDate>sample string 11</CreatedDate> <GeneratedDate>sample string 9</GeneratedDate> <Generatedby>sample string 8</Generatedby> <MlmProductSysId>3</MlmProductSysId> <NoofPins>7</NoofPins> <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> <Pv>5</Pv> </mlPin.generate>
response Information
Resource description
ApiResponseName | description | Type | Additional information |
---|---|---|---|
response | string |
Required |
|
failure | MlError |
None. |
|
success | MlSuccess |
None. |