POST api/members/spend/update
Request Information
URI Parameters
None.
Body Parameters
MemberSpendLimitModelName | Description | Type | Additional information |
---|---|---|---|
SpendLimitId | integer |
None. |
|
MemberId | integer |
None. |
|
SpendLimit | decimal number |
None. |
|
Autoreset | boolean |
None. |
|
ResetPeriod | SpendLimitResetPeriod |
None. |
|
ResetPeriodInterval | integer |
None. |
|
CreateDate | date |
None. |
|
CurrentSpendAmount | decimal number |
None. |
|
RemainingAvailableSpend | decimal number |
None. |
|
LastUpdate | date |
None. |
Request Formats
[application/json, { "SpendLimitId": 1, "MemberId": 2, "SpendLimit": 3.0, "Autoreset": true, "ResetPeriod": 0, "ResetPeriodInterval": 5, "CreateDate": "2024-11-21T09:24:22.4130203+00:00", "CurrentSpendAmount": 7.0, "RemainingAvailableSpend": 8.0, "LastUpdate": "2024-11-21T09:24:22.4130203+00:00" }][text/json, { "SpendLimitId": 1, "MemberId": 2, "SpendLimit": 3.0, "Autoreset": true, "ResetPeriod": 0, "ResetPeriodInterval": 5, "CreateDate": "2024-11-21T09:24:22.4130203+00:00", "CurrentSpendAmount": 7.0, "RemainingAvailableSpend": 8.0, "LastUpdate": "2024-11-21T09:24:22.4130203+00:00" }][application/xml, <MemberSpendLimitModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Rebelity.Membership.Models"> <Autoreset>true</Autoreset> <CreateDate>2024-11-21T09:24:22.4130203+00:00</CreateDate> <CurrentSpendAmount>7</CurrentSpendAmount> <LastUpdate>2024-11-21T09:24:22.4130203+00:00</LastUpdate> <MemberId>2</MemberId> <RemainingAvailableSpend>8</RemainingAvailableSpend> <ResetPeriod>Unspecified</ResetPeriod> <ResetPeriodInterval>5</ResetPeriodInterval> <SpendLimit>3</SpendLimit> <SpendLimitId>1</SpendLimitId> </MemberSpendLimitModel>][text/xml, <MemberSpendLimitModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Rebelity.Membership.Models"> <Autoreset>true</Autoreset> <CreateDate>2024-11-21T09:24:22.4130203+00:00</CreateDate> <CurrentSpendAmount>7</CurrentSpendAmount> <LastUpdate>2024-11-21T09:24:22.4130203+00:00</LastUpdate> <MemberId>2</MemberId> <RemainingAvailableSpend>8</RemainingAvailableSpend> <ResetPeriod>Unspecified</ResetPeriod> <ResetPeriodInterval>5</ResetPeriodInterval> <SpendLimit>3</SpendLimit> <SpendLimitId>1</SpendLimitId> </MemberSpendLimitModel>][application/x-www-form-urlencoded, Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'MemberSpendLimitModel'.]Response Information
Resource Description
IHttpActionResultNone.