PUT fxo/Margin/MarginFactor
Request Information
URI Parameters
None.
Body Parameters
UpdateMarginFactor| Name | Description | Type | Additional information |
|---|---|---|---|
| record_id | integer |
None. |
|
| margin_detail | MarginDetail |
None. |
|
| margin_factor | Collection of MarginFactor |
None. |
Request Formats
application/json, text/json
Sample:
{
"record_id": 1,
"margin_detail": {
"entity": {
"value": "sample string 1",
"id": 2
},
"margin_mode": 1,
"is_active": true
},
"margin_factor": [
{
"call_percentage": 1.1,
"stop_percentage": 2.1,
"margin_percentage": 3.1,
"margin_per_template": {
"value": "sample string 1",
"id": 2
},
"margin_req_calculation": {
"value": "sample string 1",
"id": 2
},
"forward_facility": 4.1,
"available_facility_calc": {
"value": "sample string 1",
"id": 2
},
"margin_type": {
"value": "sample string 1",
"id": 2
},
"alternate_margin_per_template": {
"value": "sample string 1",
"id": 2
}
},
{
"call_percentage": 1.1,
"stop_percentage": 2.1,
"margin_percentage": 3.1,
"margin_per_template": {
"value": "sample string 1",
"id": 2
},
"margin_req_calculation": {
"value": "sample string 1",
"id": 2
},
"forward_facility": 4.1,
"available_facility_calc": {
"value": "sample string 1",
"id": 2
},
"margin_type": {
"value": "sample string 1",
"id": 2
},
"alternate_margin_per_template": {
"value": "sample string 1",
"id": 2
}
}
]
}
application/x-www-form-urlencoded
Sample:
application/xml
Sample:
text/xml
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.