POST api/PaymentMethod/UpdateLimits?TermAccountId={TermAccountId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
TermAccountId

integer

Required

Body Parameters

Collection of TermAccountLimit
NameDescriptionTypeAdditional 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"
  },
  {
    "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"},{"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:
<ArrayOfTermAccountLimit xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Specialtys.DTO">
  <TermAccountLimit>
    <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>
  <TermAccountLimit>
    <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>
</ArrayOfTermAccountLimit>

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, text/html, application/xml, text/xml

Sample:

Sample not available.