POST api/pay/admin/subscription/set

Request Information

URI Parameters

None.

Body Parameters

PayAdminSetSubscriptionDTO
NameDescriptionTypeAdditional information
MemberID

globally unique identifier

None.

PlanCode

string

None.

StartDate

date

None.

NextBillingDate

date

None.

Provider

string

None.

UpdateMemberPayPlan

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "MemberID": "6c1e76b9-c0be-4350-b55b-c01a33699023",
  "PlanCode": "sample string 2",
  "StartDate": "2026-07-09T13:36:33.8228815+08:00",
  "NextBillingDate": "2026-07-09T13:36:33.8228815+08:00",
  "Provider": "sample string 3",
  "UpdateMemberPayPlan": true
}

application/xml, text/xml

Sample:
<PayAdminSetSubscriptionDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AIProject.API.Models.DTO">
  <MemberID>6c1e76b9-c0be-4350-b55b-c01a33699023</MemberID>
  <NextBillingDate>2026-07-09T13:36:33.8228815+08:00</NextBillingDate>
  <PlanCode>sample string 2</PlanCode>
  <Provider>sample string 3</Provider>
  <StartDate>2026-07-09T13:36:33.8228815+08:00</StartDate>
  <UpdateMemberPayPlan>true</UpdateMemberPayPlan>
</PayAdminSetSubscriptionDTO>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.