POST api/PaymentMethod/CreateNewLimit?TermAccountId={TermAccountId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| TermAccountId | integer |
Required |
Body Parameters
DtoTermAccountLimit| Name | Description | Type | Additional information |
|---|---|---|---|
| LimitId | integer |
None. |
|
| TermAccountId | integer |
None. |
|
| Name | string |
None. |
|
| DailyLimit | decimal number |
None. |
|
| WeeklyLimit | decimal number |
None. |
|
| MonthlyLimit | decimal number |
None. |
|
| LimitLabel | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"LimitId": 1,
"TermAccountId": 2,
"Name": "sample string 3",
"DailyLimit": 1.0,
"WeeklyLimit": 1.0,
"MonthlyLimit": 1.0,
"LimitLabel": "sample string 4"
}
text/html
Sample:
{"LimitId":1,"TermAccountId":2,"Name":"sample string 3","DailyLimit":1.0,"WeeklyLimit":1.0,"MonthlyLimit":1.0,"LimitLabel":"sample string 4"}
application/xml, text/xml
Sample:
<TermAccountLimit xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Specialtys.DTO"> <DailyLimit>1</DailyLimit> <LimitId>1</LimitId> <LimitLabel>sample string 4</LimitLabel> <MonthlyLimit>1</MonthlyLimit> <Name>sample string 3</Name> <TermAccountId>2</TermAccountId> <WeeklyLimit>1</WeeklyLimit> </TermAccountLimit>
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, text/html, application/xml, text/xml
Sample:
Sample not available.