POST api/selectPlan_SMSPackages/SelectPlan_SMSPackages_Upsert

Request Information

URI Parameters

None.

Body Parameters

SelectPlan_SMSPackages
NameDescriptionTypeAdditional information
Id

integer

None.

SalonId

integer

None.

SMSPackagesId

integer

None.

CompleteNoOfMsg

integer

None.

NoOfMessages

integer

None.

SendSMSCount

integer

None.

IsSms

integer

None.

ExpiredPlanDay

integer

None.

SMSPackagesName

string

None.

UserId

string

None.

CreatedDate

date

None.

CreatedBy

integer

None.

SMSPackagesPrice

decimal number

None.

Language

string

None.

SalonEmail

string

None.

SalonSecondName

string

None.

SalonAddressLine1

string

None.

SalonName

string

None.

SalonCity

string

None.

SalonZipCode

string

None.

SalonCountry

string

None.

SalonState

string

None.

CreatedDateStr

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "SalonId": 2,
  "SMSPackagesId": 3,
  "CompleteNoOfMsg": 4,
  "NoOfMessages": 5,
  "SendSMSCount": 6,
  "IsSms": 7,
  "ExpiredPlanDay": 8,
  "SMSPackagesName": "sample string 9",
  "UserId": "sample string 10",
  "CreatedDate": "2025-07-08T19:20:47.2697536+03:00",
  "CreatedBy": 12,
  "SMSPackagesPrice": 13.0,
  "Language": "sample string 14",
  "SalonEmail": "sample string 15",
  "SalonSecondName": "sample string 16",
  "SalonAddressLine1": "sample string 17",
  "SalonName": "sample string 18",
  "SalonCity": "sample string 19",
  "SalonZipCode": "sample string 20",
  "SalonCountry": "sample string 21",
  "SalonState": "sample string 22",
  "CreatedDateStr": "08-07-2025 07:20 PM"
}

text/xml

Sample:
<SelectPlan_SMSPackages xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.V1">
  <CompleteNoOfMsg xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">4</CompleteNoOfMsg>
  <CreatedBy xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">12</CreatedBy>
  <CreatedDate xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">2025-07-08T19:20:47.2697536+03:00</CreatedDate>
  <ExpiredPlanDay xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">8</ExpiredPlanDay>
  <Id xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">1</Id>
  <IsSms xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">7</IsSms>
  <Language xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">sample string 14</Language>
  <NoOfMessages xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">5</NoOfMessages>
  <SMSPackagesId xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">3</SMSPackagesId>
  <SMSPackagesName xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">sample string 9</SMSPackagesName>
  <SMSPackagesPrice xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">13</SMSPackagesPrice>
  <SalonAddressLine1 xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">sample string 17</SalonAddressLine1>
  <SalonCity xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">sample string 19</SalonCity>
  <SalonCountry xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">sample string 21</SalonCountry>
  <SalonEmail xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">sample string 15</SalonEmail>
  <SalonId xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">2</SalonId>
  <SalonName xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">sample string 18</SalonName>
  <SalonSecondName xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">sample string 16</SalonSecondName>
  <SalonState xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">sample string 22</SalonState>
  <SalonZipCode xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">sample string 20</SalonZipCode>
  <SendSMSCount xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">6</SendSMSCount>
  <UserId xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">sample string 10</UserId>
</SelectPlan_SMSPackages>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'SelectPlan_SMSPackages'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, text/xml

Sample:

Sample not available.