POST api/ApnAdminStrategy/SaveBalanceRange
Request Information
URI Parameters
None.
Body Parameters
BalanceRangeSaveParams| Name | Description | Type | Additional information |
|---|---|---|---|
| ArrangementRuleID | integer |
None. |
|
| ArrangementRule_BalanceRangeID | integer |
None. |
|
| Values | Dictionary of string [key] and Object [value] |
None. |
|
| Frequencies | Dictionary of integer [key] and Collection of integer [value] |
None. |
|
| UserGroups | Dictionary of integer [key] and Collection of integer [value] |
None. |
Request Formats
application/json, text/json
Sample:
{
"ArrangementRuleID": 1,
"ArrangementRule_BalanceRangeID": 1,
"Values": {
"sample string 1": {},
"sample string 3": {}
},
"Frequencies": {
"1": [
1,
2
],
"2": [
1,
2
]
},
"UserGroups": {
"1": [
1,
2
],
"2": [
1,
2
]
}
}
application/xml, text/xml
Sample:
<BalanceRangeSaveParams xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Debtrak.ApnExtensions.Admin">
<ArrangementRuleID>1</ArrangementRuleID>
<ArrangementRule_BalanceRangeID>1</ArrangementRule_BalanceRangeID>
<Frequencies xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:KeyValueOfintArrayOfintty7Ep6D1>
<d2p1:Key>1</d2p1:Key>
<d2p1:Value>
<d2p1:int>1</d2p1:int>
<d2p1:int>2</d2p1:int>
</d2p1:Value>
</d2p1:KeyValueOfintArrayOfintty7Ep6D1>
<d2p1:KeyValueOfintArrayOfintty7Ep6D1>
<d2p1:Key>2</d2p1:Key>
<d2p1:Value>
<d2p1:int>1</d2p1:int>
<d2p1:int>2</d2p1:int>
</d2p1:Value>
</d2p1:KeyValueOfintArrayOfintty7Ep6D1>
</Frequencies>
<UserGroups xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:KeyValueOfintArrayOfintty7Ep6D1>
<d2p1:Key>1</d2p1:Key>
<d2p1:Value>
<d2p1:int>1</d2p1:int>
<d2p1:int>2</d2p1:int>
</d2p1:Value>
</d2p1:KeyValueOfintArrayOfintty7Ep6D1>
<d2p1:KeyValueOfintArrayOfintty7Ep6D1>
<d2p1:Key>2</d2p1:Key>
<d2p1:Value>
<d2p1:int>1</d2p1:int>
<d2p1:int>2</d2p1:int>
</d2p1:Value>
</d2p1:KeyValueOfintArrayOfintty7Ep6D1>
</UserGroups>
<Values xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:KeyValueOfstringanyType>
<d2p1:Key>sample string 1</d2p1:Key>
<d2p1:Value />
</d2p1:KeyValueOfstringanyType>
<d2p1:KeyValueOfstringanyType>
<d2p1:Key>sample string 3</d2p1:Key>
<d2p1:Value />
</d2p1:KeyValueOfstringanyType>
</Values>
</BalanceRangeSaveParams>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ApiResultOfDictionaryOfStringAndObject| Name | Description | Type | Additional information |
|---|---|---|---|
| Response | ApiResponse |
None. |
|
| Data | Dictionary of string [key] and Object [value] |
None. |
Response Formats
application/json, text/json
Sample:
{
"Response": {
"Success": true,
"ErrorMessage": "sample string 2"
},
"Data": {
"sample string 1": {},
"sample string 3": {}
}
}
application/xml, text/xml
Sample:
<ApiResultOfArrayOfKeyValueOfstringanyTypeuHEDJ7Dj xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Debtrak.ApnExtensions">
<Data xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:KeyValueOfstringanyType>
<d2p1:Key>sample string 1</d2p1:Key>
<d2p1:Value />
</d2p1:KeyValueOfstringanyType>
<d2p1:KeyValueOfstringanyType>
<d2p1:Key>sample string 3</d2p1:Key>
<d2p1:Value />
</d2p1:KeyValueOfstringanyType>
</Data>
<Response>
<ErrorMessage>sample string 2</ErrorMessage>
<Success>true</Success>
</Response>
</ApiResultOfArrayOfKeyValueOfstringanyTypeuHEDJ7Dj>