POST api/MembershipCard/SaveMembershipCard

Request Information

URI Parameters

None.

Body Parameters

MembershipCardViewModel
NameDescriptionTypeAdditional information
MemberShipCardIDP

integer

None.

CardName

string

None.

Amount

integer

None.

Validity

integer

None.

ValidityType

string

None.

EntryPerYear

integer

None.

CardSeries

string

None.

Remark

string

None.

CreBy

integer

None.

gu_Name

string

None.

gu_MobileNumber

string

None.

gu_FK_FacilitiesID

integer

None.

gu_Visitdate

string

None.

gu_str_Visitdate

string

None.

gu_TotalAmount

decimal number

None.

gu_PaymentAmount

decimal number

None.

gu_TotalDiscount

decimal number

None.

gu_CGstAmount

decimal number

None.

gu_SGstAmount

decimal number

None.

gu_NetPayableAmountTax

decimal number

None.

gu_FK_PaymentTypeID

integer

None.

gu_FK_RemarkID

integer

None.

gu_CGstPercent

decimal number

None.

gu_SGstPercent

decimal number

None.

gu_Note

string

None.

no_of_card

integer

None.

card_price

decimal number

None.

IsActive

boolean

None.

IsDelete

boolean

None.

FK_CreatedBy

integer

None.

FK_ModifiedBy

integer

None.

CreatedDate

date

None.

ModifiedDate

date

None.

RowNumber

integer

None.

RecordCount

integer

None.

Result

string

None.

Message

string

None.

IsValid

boolean

None.

StatusCode

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "MemberShipCardIDP": 1,
  "CardName": "sample string 1",
  "Amount": 2,
  "Validity": 3,
  "ValidityType": "sample string 4",
  "EntryPerYear": 5,
  "CardSeries": "sample string 6",
  "Remark": "sample string 7",
  "CreBy": 1,
  "gu_Name": "sample string 8",
  "gu_MobileNumber": "sample string 9",
  "gu_FK_FacilitiesID": 10,
  "gu_Visitdate": "sample string 11",
  "gu_str_Visitdate": "sample string 12",
  "gu_TotalAmount": 1.0,
  "gu_PaymentAmount": 1.0,
  "gu_TotalDiscount": 1.0,
  "gu_CGstAmount": 1.0,
  "gu_SGstAmount": 1.0,
  "gu_NetPayableAmountTax": 1.0,
  "gu_FK_PaymentTypeID": 1,
  "gu_FK_RemarkID": 1,
  "gu_CGstPercent": 1.0,
  "gu_SGstPercent": 1.0,
  "gu_Note": "sample string 13",
  "no_of_card": 14,
  "card_price": 1.0,
  "IsActive": true,
  "IsDelete": true,
  "FK_CreatedBy": 1,
  "FK_ModifiedBy": 1,
  "CreatedDate": "2026-10-19T06:10:31.6966921-07:00",
  "ModifiedDate": "2026-10-19T06:10:31.6966921-07:00",
  "RowNumber": 1,
  "RecordCount": 1,
  "Result": "sample string 15",
  "Message": "sample string 16",
  "IsValid": true,
  "StatusCode": 1
}

application/xml, text/xml

Sample:
<MembershipCardViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TheEnjoyCity.Data.ViewModels.MembershipCard">
  <CreatedDate xmlns="http://schemas.datacontract.org/2004/07/TheEnjoyCity.Data.ViewModels.Common">2026-10-19T06:10:31.6966921-07:00</CreatedDate>
  <FK_CreatedBy xmlns="http://schemas.datacontract.org/2004/07/TheEnjoyCity.Data.ViewModels.Common">1</FK_CreatedBy>
  <FK_ModifiedBy xmlns="http://schemas.datacontract.org/2004/07/TheEnjoyCity.Data.ViewModels.Common">1</FK_ModifiedBy>
  <IsActive xmlns="http://schemas.datacontract.org/2004/07/TheEnjoyCity.Data.ViewModels.Common">true</IsActive>
  <IsDelete xmlns="http://schemas.datacontract.org/2004/07/TheEnjoyCity.Data.ViewModels.Common">true</IsDelete>
  <IsValid xmlns="http://schemas.datacontract.org/2004/07/TheEnjoyCity.Data.ViewModels.Common">true</IsValid>
  <Message xmlns="http://schemas.datacontract.org/2004/07/TheEnjoyCity.Data.ViewModels.Common">sample string 16</Message>
  <ModifiedDate xmlns="http://schemas.datacontract.org/2004/07/TheEnjoyCity.Data.ViewModels.Common">2026-10-19T06:10:31.6966921-07:00</ModifiedDate>
  <RecordCount xmlns="http://schemas.datacontract.org/2004/07/TheEnjoyCity.Data.ViewModels.Common">1</RecordCount>
  <Result xmlns="http://schemas.datacontract.org/2004/07/TheEnjoyCity.Data.ViewModels.Common">sample string 15</Result>
  <RowNumber xmlns="http://schemas.datacontract.org/2004/07/TheEnjoyCity.Data.ViewModels.Common">1</RowNumber>
  <StatusCode xmlns="http://schemas.datacontract.org/2004/07/TheEnjoyCity.Data.ViewModels.Common">1</StatusCode>
  <Amount>2</Amount>
  <CardName>sample string 1</CardName>
  <CardSeries>sample string 6</CardSeries>
  <CreBy>1</CreBy>
  <EntryPerYear>5</EntryPerYear>
  <MemberShipCardIDP>1</MemberShipCardIDP>
  <Remark>sample string 7</Remark>
  <Validity>3</Validity>
  <ValidityType>sample string 4</ValidityType>
  <card_price>1</card_price>
  <gu_CGstAmount>1</gu_CGstAmount>
  <gu_CGstPercent>1</gu_CGstPercent>
  <gu_FK_FacilitiesID>10</gu_FK_FacilitiesID>
  <gu_FK_PaymentTypeID>1</gu_FK_PaymentTypeID>
  <gu_FK_RemarkID>1</gu_FK_RemarkID>
  <gu_MobileNumber>sample string 9</gu_MobileNumber>
  <gu_Name>sample string 8</gu_Name>
  <gu_NetPayableAmountTax>1</gu_NetPayableAmountTax>
  <gu_Note>sample string 13</gu_Note>
  <gu_PaymentAmount>1</gu_PaymentAmount>
  <gu_SGstAmount>1</gu_SGstAmount>
  <gu_SGstPercent>1</gu_SGstPercent>
  <gu_TotalAmount>1</gu_TotalAmount>
  <gu_TotalDiscount>1</gu_TotalDiscount>
  <gu_Visitdate>sample string 11</gu_Visitdate>
  <gu_str_Visitdate>sample string 12</gu_str_Visitdate>
  <no_of_card>14</no_of_card>
</MembershipCardViewModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.