POST Admin/CreateMamm
Request Information
URI Parameters
None.
Body Parameters
ApplyToMammSignal| Name | Description | Type | Additional information |
|---|---|---|---|
| strategyName | string |
None. |
|
| penalty | decimal number |
None. |
|
| minInverstment | decimal number |
None. |
|
| withdrawalNotification | boolean |
None. |
|
| settlementPeriod | integer |
None. |
|
| mtAccountId | string |
Required |
|
| platId | integer |
Required |
|
| traderType | Enum_TraderType |
None. |
|
| feeType | Enum_SignalFeeType |
None. |
|
| signalFee | decimal number |
None. |
|
| allocationRule | Enum_AllocationRule |
None. |
|
| allocationValue | decimal number |
None. |
|
| uplineIBShare | decimal number |
None. |
|
| signalShare | decimal number |
None. |
|
| shareProfitPeriod | Enum_ShareProfitRule |
None. |
|
| shareMtAccountId | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"strategyName": "sample string 1",
"penalty": 2.1,
"minInverstment": 3.1,
"withdrawalNotification": true,
"settlementPeriod": 5,
"mtAccountId": "sample string 6",
"platId": 7,
"traderType": 0,
"feeType": 0,
"signalFee": 8.0,
"allocationRule": 0,
"allocationValue": 9.0,
"uplineIBShare": 10.0,
"signalShare": 11.0,
"shareProfitPeriod": 1,
"shareMtAccountId": "sample string 12"
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
WebApiResult| Name | Description | Type | Additional information |
|---|---|---|---|
| status | string |
None. |
|
| message | string |
None. |
|
| code | string |
None. |
|
| data | Object |
None. |
Response Formats
application/json, text/json
Sample:
{
"status": "sample string 1",
"message": "sample string 2",
"code": "sample string 3",
"data": {}
}