POST api/MembershipPrice

Request Information

URI Parameters

None.

Body Parameters

MembershipPriceDTO
NameDescriptionTypeAdditional information
LicenceID

integer

None.

Code

string

None.

MembershipID

integer

None.

Membership_Name

string

None.

MembershipAgeGroupID

integer

None.

MembershipAgeGroup_Name

string

None.

SystemDurationPatternID

integer

None.

SystemDurationPattern_Description

string

None.

DurationInMonth

integer

None.

DurationInDay

integer

None.

Duration

integer

None.

DisplayDuration

string

None.

DisplayDurationPattern

string

None.

EffectiveFrom

date

None.

EffectiveTo

date

None.

PriceStatus

string

None.

Price

decimal number

None.

PriceExclVat

decimal number

None.

RegistrationFee

decimal number

None.

RegistrationFeeExclVat

decimal number

None.

RegistrationFeeCode

string

None.

AllowMonthlyPayment

boolean

None.

AllowUpfrontPayment

boolean

None.

UpfrontPaymentDiscountP

decimal number

None.

UpfrontPrice

decimal number

None.

UpfrontPriceExclVat

decimal number

None.

AllowMobileAccess

boolean

None.

IsGroupPrice

boolean

None.

MinimumMembershipCount

integer

None.

AutoRenewMembershipDefaultValue

boolean

None.

CanChangeAutoRenewal

boolean

None.

SystemMembershipExpiryTypeID_DefaultValue

integer

None.

CanChangeSystemMembershipExpiryType

boolean

None.

AllowManualDiscount

boolean

None.

MinManualDiscountP

decimal number

None.

MaxManualDiscountP

decimal number

None.

ID

integer

None.

GUID

globally unique identifier

None.

CreatedBy

integer

None.

CreatedDate

date

None.

ModifiedBy

integer

None.

ModifiedDate

date

None.

DeletedBy

integer

None.

DeletedDate

date

None.

IsActive

boolean

None.

IsDeleted

boolean

None.

Remarks

string

None.

Request Formats

application/json, text/json

Sample:
{
  "LicenceID": 1,
  "Code": "sample string 2",
  "MembershipID": 3,
  "Membership_Name": "sample string 4",
  "MembershipAgeGroupID": 1,
  "MembershipAgeGroup_Name": "sample string 5",
  "SystemDurationPatternID": 1,
  "SystemDurationPattern_Description": "sample string 6",
  "DurationInMonth": 1,
  "DurationInDay": 1,
  "Duration": 1,
  "DisplayDuration": "sample string 7",
  "DisplayDurationPattern": "sample string 8",
  "EffectiveFrom": "2026-11-05T11:43:03.7409714+00:00",
  "EffectiveTo": "2026-11-05T11:43:03.7409714+00:00",
  "PriceStatus": "sample string 9",
  "Price": 10.0,
  "PriceExclVat": 1.0,
  "RegistrationFee": 1.0,
  "RegistrationFeeExclVat": 1.0,
  "RegistrationFeeCode": "sample string 11",
  "AllowMonthlyPayment": true,
  "AllowUpfrontPayment": true,
  "UpfrontPaymentDiscountP": 1.0,
  "UpfrontPrice": 1.0,
  "UpfrontPriceExclVat": 1.0,
  "AllowMobileAccess": true,
  "IsGroupPrice": true,
  "MinimumMembershipCount": 1,
  "AutoRenewMembershipDefaultValue": true,
  "CanChangeAutoRenewal": true,
  "SystemMembershipExpiryTypeID_DefaultValue": 1,
  "CanChangeSystemMembershipExpiryType": true,
  "AllowManualDiscount": true,
  "MinManualDiscountP": 1.0,
  "MaxManualDiscountP": 1.0,
  "ID": 12,
  "GUID": "e0bfb9cf-cfe7-45cb-9f19-e9a41967598f",
  "CreatedBy": 14,
  "CreatedDate": "2026-11-05T11:43:03.7409714+00:00",
  "ModifiedBy": 16,
  "ModifiedDate": "2026-11-05T11:43:03.7409714+00:00",
  "DeletedBy": 17,
  "DeletedDate": "2026-11-05T11:43:03.7409714+00:00",
  "IsActive": true,
  "IsDeleted": true,
  "Remarks": "sample string 20"
}

text/xml

Sample:
<MembershipPriceDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Timepeaker.WebApi.DTO">
  <CreatedBy>14</CreatedBy>
  <CreatedDate xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <d2p1:DateTime>2026-11-05T11:43:03.7409714Z</d2p1:DateTime>
    <d2p1:OffsetMinutes>0</d2p1:OffsetMinutes>
  </CreatedDate>
  <DeletedBy>17</DeletedBy>
  <DeletedDate xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <d2p1:DateTime>2026-11-05T11:43:03.7409714Z</d2p1:DateTime>
    <d2p1:OffsetMinutes>0</d2p1:OffsetMinutes>
  </DeletedDate>
  <GUID>e0bfb9cf-cfe7-45cb-9f19-e9a41967598f</GUID>
  <ID>12</ID>
  <IsActive>true</IsActive>
  <IsDeleted>true</IsDeleted>
  <ModifiedBy>16</ModifiedBy>
  <ModifiedDate xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <d2p1:DateTime>2026-11-05T11:43:03.7409714Z</d2p1:DateTime>
    <d2p1:OffsetMinutes>0</d2p1:OffsetMinutes>
  </ModifiedDate>
  <Remarks>sample string 20</Remarks>
  <AllowManualDiscount>true</AllowManualDiscount>
  <AllowMobileAccess>true</AllowMobileAccess>
  <AllowMonthlyPayment>true</AllowMonthlyPayment>
  <AllowUpfrontPayment>true</AllowUpfrontPayment>
  <AutoRenewMembershipDefaultValue>true</AutoRenewMembershipDefaultValue>
  <CanChangeAutoRenewal>true</CanChangeAutoRenewal>
  <CanChangeSystemMembershipExpiryType>true</CanChangeSystemMembershipExpiryType>
  <Code>sample string 2</Code>
  <DisplayDuration>sample string 7</DisplayDuration>
  <DisplayDurationPattern>sample string 8</DisplayDurationPattern>
  <Duration>1</Duration>
  <DurationInDay>1</DurationInDay>
  <DurationInMonth>1</DurationInMonth>
  <EffectiveFrom xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <d2p1:DateTime>2026-11-05T11:43:03.7409714Z</d2p1:DateTime>
    <d2p1:OffsetMinutes>0</d2p1:OffsetMinutes>
  </EffectiveFrom>
  <EffectiveTo xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <d2p1:DateTime>2026-11-05T11:43:03.7409714Z</d2p1:DateTime>
    <d2p1:OffsetMinutes>0</d2p1:OffsetMinutes>
  </EffectiveTo>
  <IsGroupPrice>true</IsGroupPrice>
  <LicenceID>1</LicenceID>
  <MaxManualDiscountP>1</MaxManualDiscountP>
  <MembershipAgeGroupID>1</MembershipAgeGroupID>
  <MembershipAgeGroup_Name>sample string 5</MembershipAgeGroup_Name>
  <MembershipID>3</MembershipID>
  <Membership_Name>sample string 4</Membership_Name>
  <MinManualDiscountP>1</MinManualDiscountP>
  <MinimumMembershipCount>1</MinimumMembershipCount>
  <Price>10</Price>
  <PriceExclVat>1</PriceExclVat>
  <PriceStatus>sample string 9</PriceStatus>
  <RegistrationFee>1</RegistrationFee>
  <RegistrationFeeCode>sample string 11</RegistrationFeeCode>
  <RegistrationFeeExclVat>1</RegistrationFeeExclVat>
  <SystemDurationPatternID>1</SystemDurationPatternID>
  <SystemDurationPattern_Description>sample string 6</SystemDurationPattern_Description>
  <SystemMembershipExpiryTypeID_DefaultValue>1</SystemMembershipExpiryTypeID_DefaultValue>
  <UpfrontPaymentDiscountP>1</UpfrontPaymentDiscountP>
  <UpfrontPrice>1</UpfrontPrice>
  <UpfrontPriceExclVat>1</UpfrontPriceExclVat>
</MembershipPriceDTO>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, text/xml

Sample:

Sample not available.