POST api/members/program/update

Request Information

URI Parameters

None.

Body Parameters

MembershipUpdateModel
NameDescriptionTypeAdditional information
MemberId

integer

None.

ProgramId

integer

None.

CurrentPrivileges

Collection of integer

None.

AutoPay

boolean

None.

BillCycle

integer

None.

Request Formats

[application/json, { "MemberId": 1, "ProgramId": 2, "CurrentPrivileges": [ 1, 2 ], "AutoPay": true, "BillCycle": 4 }][text/json, { "MemberId": 1, "ProgramId": 2, "CurrentPrivileges": [ 1, 2 ], "AutoPay": true, "BillCycle": 4 }][application/xml, <MembershipUpdateModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Rebelity.Membership.Models"> <AutoPay>true</AutoPay> <BillCycle>4</BillCycle> <CurrentPrivileges xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:int>1</d2p1:int> <d2p1:int>2</d2p1:int> </CurrentPrivileges> <MemberId>1</MemberId> <ProgramId>2</ProgramId> </MembershipUpdateModel>][text/xml, <MembershipUpdateModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Rebelity.Membership.Models"> <AutoPay>true</AutoPay> <BillCycle>4</BillCycle> <CurrentPrivileges xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:int>1</d2p1:int> <d2p1:int>2</d2p1:int> </CurrentPrivileges> <MemberId>1</MemberId> <ProgramId>2</ProgramId> </MembershipUpdateModel>][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 'MembershipUpdateModel'.]

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

[application/json, ][text/json, ][application/xml, ][text/xml, ]