POST api/Scheme/SaveScheme

Request Information

URI Parameters

None.

Body Parameters

SchemeRequestViewModel
NameDescriptionTypeAdditional information
PK_SchemeID

integer

None.

Name

string

None.

ShortName

string

None.

StartDate

date

None.

strStartDate

string

None.

EndDate

date

None.

strEndDate

string

None.

FormatStartDate

string

None.

FormatEndDate

string

None.

DiscountAmount

decimal number

None.

MinPersonNo

integer

None.

FK_SchemeTypeID

integer

None.

FK_FacilityID

integer

None.

IsPercentage

boolean

None.

Isdeduct

boolean

None.

Days

string

None.

Ischild

boolean

None.

IsAdult

boolean

None.

IsSrCitizen

boolean

None.

IsInfant

boolean

None.

CoupanCode

string

None.

IsSpecialOffer

boolean

None.

IsAgeDiscount

boolean

None.

DiscountPercent

decimal number

None.

DiscountPercentAmount

decimal number

None.

DiscountType

integer

None.

Description

string

None.

DiscountCalculationType

integer

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:
{
  "PK_SchemeID": 1,
  "Name": "sample string 1",
  "ShortName": "sample string 2",
  "StartDate": "2026-10-19T06:10:34.8059973-07:00",
  "strStartDate": "sample string 4",
  "EndDate": "2026-10-19T06:10:34.8059973-07:00",
  "strEndDate": "sample string 6",
  "FormatStartDate": "sample string 7",
  "FormatEndDate": "sample string 8",
  "DiscountAmount": 1.0,
  "MinPersonNo": 1,
  "FK_SchemeTypeID": 1,
  "FK_FacilityID": 1,
  "IsPercentage": true,
  "Isdeduct": true,
  "Days": "sample string 9",
  "Ischild": true,
  "IsAdult": true,
  "IsSrCitizen": true,
  "IsInfant": true,
  "CoupanCode": "sample string 10",
  "IsSpecialOffer": true,
  "IsAgeDiscount": true,
  "DiscountPercent": 1.0,
  "DiscountPercentAmount": 1.0,
  "DiscountType": 11,
  "Description": "sample string 12",
  "DiscountCalculationType": 13,
  "IsActive": true,
  "IsDelete": true,
  "FK_CreatedBy": 1,
  "FK_ModifiedBy": 1,
  "CreatedDate": "2026-10-19T06:10:34.8059973-07:00",
  "ModifiedDate": "2026-10-19T06:10:34.8059973-07:00",
  "RowNumber": 1,
  "RecordCount": 1,
  "Result": "sample string 14",
  "Message": "sample string 15",
  "IsValid": true,
  "StatusCode": 1
}

application/xml, text/xml

Sample:
<SchemeRequestViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TheEnjoyCity.Data.ViewModels.MasterSetupScheme">
  <CreatedDate xmlns="http://schemas.datacontract.org/2004/07/TheEnjoyCity.Data.ViewModels.Common">2026-10-19T06:10:34.8059973-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 15</Message>
  <ModifiedDate xmlns="http://schemas.datacontract.org/2004/07/TheEnjoyCity.Data.ViewModels.Common">2026-10-19T06:10:34.8059973-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 14</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>
  <CoupanCode>sample string 10</CoupanCode>
  <Days>sample string 9</Days>
  <Description>sample string 12</Description>
  <DiscountAmount>1</DiscountAmount>
  <DiscountCalculationType>13</DiscountCalculationType>
  <DiscountPercent>1</DiscountPercent>
  <DiscountPercentAmount>1</DiscountPercentAmount>
  <DiscountType>11</DiscountType>
  <EndDate>2026-10-19T06:10:34.8059973-07:00</EndDate>
  <FK_FacilityID>1</FK_FacilityID>
  <FK_SchemeTypeID>1</FK_SchemeTypeID>
  <FormatEndDate>sample string 8</FormatEndDate>
  <FormatStartDate>sample string 7</FormatStartDate>
  <IsAdult>true</IsAdult>
  <IsAgeDiscount>true</IsAgeDiscount>
  <IsInfant>true</IsInfant>
  <IsPercentage>true</IsPercentage>
  <IsSpecialOffer>true</IsSpecialOffer>
  <IsSrCitizen>true</IsSrCitizen>
  <Ischild>true</Ischild>
  <Isdeduct>true</Isdeduct>
  <MinPersonNo>1</MinPersonNo>
  <Name>sample string 1</Name>
  <PK_SchemeID>1</PK_SchemeID>
  <ShortName>sample string 2</ShortName>
  <StartDate>2026-10-19T06:10:34.8059973-07:00</StartDate>
  <strEndDate>sample string 6</strEndDate>
  <strStartDate>sample string 4</strStartDate>
</SchemeRequestViewModel>

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.