POST api/appointment/save-booking-month-widthout-payment

Request Information

URI Parameters

None.

Body Parameters

BookingParams
NameDescriptionTypeAdditional information
UserId

integer

None.

ComId

string

None.

ComName

string

None.

GroundName

string

None.

BookingId

integer

None.

CustomerId

integer

None.

CustomerName

string

None.

CustomerPhone

string

None.

BookingDate

string

None.

TimeFrom

integer

None.

TimeTo

integer

None.

TotalDeposit

decimal number

None.

BookingNote

string

None.

GroupTypeId

integer

None.

SelectedGrounds

Collection of ComGroundView

None.

SelectedPaymentType

string

None.

SelectedBank

integer

None.

ForDialCardNumber

string

None.

BookingDateArr

Collection of BookingMonthPreviewObj

None.

StartDate

string

None.

EndDate

string

None.

TotalPrice

decimal number

None.

GroundPricePreview

integer

None.

AmountPaid

decimal number

None.

VatTax

decimal number

None.

PaymentNote

string

None.

PercentDiscount

decimal number

None.

Request Formats

application/json, text/json

Sample:
{
  "UserId": 1,
  "ComId": "sample string 2",
  "ComName": "sample string 3",
  "GroundName": "sample string 4",
  "BookingId": 5,
  "CustomerId": 6,
  "CustomerName": "sample string 7",
  "CustomerPhone": "sample string 8",
  "BookingDate": "sample string 9",
  "TimeFrom": 10,
  "TimeTo": 11,
  "TotalDeposit": 12.1,
  "BookingNote": "sample string 13",
  "GroupTypeId": 14,
  "SelectedGrounds": [
    {
      "Id": 1,
      "Name": "sample string 2",
      "RegionId": 3,
      "RegionName": "sample string 4",
      "IsActive": true,
      "CurrentPrice": 6.1,
      "GroupPrices": [
        {
          "TimeInMinute": 1,
          "TimePrice": 2.1,
          "TimePriceSchedule": 3.1
        },
        {
          "TimeInMinute": 1,
          "TimePrice": 2.1,
          "TimePriceSchedule": 3.1
        }
      ]
    },
    {
      "Id": 1,
      "Name": "sample string 2",
      "RegionId": 3,
      "RegionName": "sample string 4",
      "IsActive": true,
      "CurrentPrice": 6.1,
      "GroupPrices": [
        {
          "TimeInMinute": 1,
          "TimePrice": 2.1,
          "TimePriceSchedule": 3.1
        },
        {
          "TimeInMinute": 1,
          "TimePrice": 2.1,
          "TimePriceSchedule": 3.1
        }
      ]
    }
  ],
  "SelectedPaymentType": "sample string 15",
  "SelectedBank": 16,
  "ForDialCardNumber": "sample string 17",
  "BookingDateArr": [
    {
      "StartTime": "2026-10-25T12:33:56.8811673+07:00",
      "EndTime": "2026-10-25T12:33:56.8811673+07:00",
      "GroundId": 1,
      "GroundName": "sample string 2",
      "Price": 1.1,
      "IsAvailable": true,
      "DetailId": 4,
      "TransStatus": "sample string 5",
      "AppStatus": 1
    },
    {
      "StartTime": "2026-10-25T12:33:56.8811673+07:00",
      "EndTime": "2026-10-25T12:33:56.8811673+07:00",
      "GroundId": 1,
      "GroundName": "sample string 2",
      "Price": 1.1,
      "IsAvailable": true,
      "DetailId": 4,
      "TransStatus": "sample string 5",
      "AppStatus": 1
    }
  ],
  "StartDate": "sample string 18",
  "EndDate": "sample string 19",
  "TotalPrice": 20.1,
  "GroundPricePreview": 21,
  "AmountPaid": 22.1,
  "VatTax": 23.1,
  "PaymentNote": "sample string 24",
  "PercentDiscount": 25.1
}

application/xml, text/xml

Sample:
<BookingParams xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJPosPortal.Entities.ApiEntities">
  <AmountPaid>22.1</AmountPaid>
  <BookingDate>sample string 9</BookingDate>
  <BookingDateArr>
    <BookingMonthPreviewObj>
      <AppStatus>1</AppStatus>
      <DetailId>4</DetailId>
      <EndTime>2026-10-25T12:33:56.8811673+07:00</EndTime>
      <GroundId>1</GroundId>
      <GroundName>sample string 2</GroundName>
      <IsAvailable>true</IsAvailable>
      <Price>1.1</Price>
      <StartTime>2026-10-25T12:33:56.8811673+07:00</StartTime>
      <TransStatus>sample string 5</TransStatus>
    </BookingMonthPreviewObj>
    <BookingMonthPreviewObj>
      <AppStatus>1</AppStatus>
      <DetailId>4</DetailId>
      <EndTime>2026-10-25T12:33:56.8811673+07:00</EndTime>
      <GroundId>1</GroundId>
      <GroundName>sample string 2</GroundName>
      <IsAvailable>true</IsAvailable>
      <Price>1.1</Price>
      <StartTime>2026-10-25T12:33:56.8811673+07:00</StartTime>
      <TransStatus>sample string 5</TransStatus>
    </BookingMonthPreviewObj>
  </BookingDateArr>
  <BookingId>5</BookingId>
  <BookingNote>sample string 13</BookingNote>
  <ComId>sample string 2</ComId>
  <ComName>sample string 3</ComName>
  <CustomerId>6</CustomerId>
  <CustomerName>sample string 7</CustomerName>
  <CustomerPhone>sample string 8</CustomerPhone>
  <EndDate>sample string 19</EndDate>
  <ForDialCardNumber>sample string 17</ForDialCardNumber>
  <GroundName>sample string 4</GroundName>
  <GroundPricePreview>21</GroundPricePreview>
  <GroupTypeId>14</GroupTypeId>
  <PaymentNote>sample string 24</PaymentNote>
  <PercentDiscount>25.1</PercentDiscount>
  <SelectedBank>16</SelectedBank>
  <SelectedGrounds xmlns:d2p1="http://schemas.datacontract.org/2004/07/BJPosPortal.Entities.PlaySpace">
    <d2p1:ComGroundView>
      <d2p1:CurrentPrice>6.1</d2p1:CurrentPrice>
      <d2p1:GroupPrices>
        <d2p1:PriceItemObj>
          <d2p1:TimeInMinute>1</d2p1:TimeInMinute>
          <d2p1:TimePrice>2.1</d2p1:TimePrice>
          <d2p1:TimePriceSchedule>3.1</d2p1:TimePriceSchedule>
        </d2p1:PriceItemObj>
        <d2p1:PriceItemObj>
          <d2p1:TimeInMinute>1</d2p1:TimeInMinute>
          <d2p1:TimePrice>2.1</d2p1:TimePrice>
          <d2p1:TimePriceSchedule>3.1</d2p1:TimePriceSchedule>
        </d2p1:PriceItemObj>
      </d2p1:GroupPrices>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:IsActive>true</d2p1:IsActive>
      <d2p1:Name>sample string 2</d2p1:Name>
      <d2p1:RegionId>3</d2p1:RegionId>
      <d2p1:RegionName>sample string 4</d2p1:RegionName>
    </d2p1:ComGroundView>
    <d2p1:ComGroundView>
      <d2p1:CurrentPrice>6.1</d2p1:CurrentPrice>
      <d2p1:GroupPrices>
        <d2p1:PriceItemObj>
          <d2p1:TimeInMinute>1</d2p1:TimeInMinute>
          <d2p1:TimePrice>2.1</d2p1:TimePrice>
          <d2p1:TimePriceSchedule>3.1</d2p1:TimePriceSchedule>
        </d2p1:PriceItemObj>
        <d2p1:PriceItemObj>
          <d2p1:TimeInMinute>1</d2p1:TimeInMinute>
          <d2p1:TimePrice>2.1</d2p1:TimePrice>
          <d2p1:TimePriceSchedule>3.1</d2p1:TimePriceSchedule>
        </d2p1:PriceItemObj>
      </d2p1:GroupPrices>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:IsActive>true</d2p1:IsActive>
      <d2p1:Name>sample string 2</d2p1:Name>
      <d2p1:RegionId>3</d2p1:RegionId>
      <d2p1:RegionName>sample string 4</d2p1:RegionName>
    </d2p1:ComGroundView>
  </SelectedGrounds>
  <SelectedPaymentType>sample string 15</SelectedPaymentType>
  <StartDate>sample string 18</StartDate>
  <TimeFrom>10</TimeFrom>
  <TimeTo>11</TimeTo>
  <TotalDeposit>12.1</TotalDeposit>
  <TotalPrice>20.1</TotalPrice>
  <UserId>1</UserId>
  <VatTax>23.1</VatTax>
</BookingParams>

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.