POST api/account/GetAppointmentServicesDetail

Request Information

URI Parameters

None.

Body Parameters

DTOAppointmentServicesDetail
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

SubServiceId

globally unique identifier

None.

SubServiceName

string

None.

Price

decimal number

None.

PaymentMethodId

globally unique identifier

None.

BranchLocationId

globally unique identifier

None.

UserId

globally unique identifier

None.

PatientId

globally unique identifier

None.

AppointmentNo

string

None.

Status

string

None.

StatusValue

integer

None.

VATPercentage

decimal number

None.

VATAmount

decimal number

None.

TypeBit

integer

None.

SubServiceQuantity

integer

None.

BookingDate

date

None.

StartTime

time interval

None.

Address

string

None.

PatientName

string

None.

Total

decimal number

None.

DiscountType

integer

None.

Discount

decimal number

None.

ToDateAndTime

date

None.

FromDateAndTime

date

None.

NormalExecutionTimeInSeconds

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": "92a9e820-1f97-4bd5-9b7f-00f52d8e04f2",
  "SubServiceId": "ab13323c-ed07-4944-97f9-9fcb97e0937f",
  "SubServiceName": "sample string 1",
  "Price": 1.0,
  "PaymentMethodId": "194904a9-d357-4980-8783-416c1e08fe24",
  "BranchLocationId": "5a683b04-996a-4508-8f0c-6cb4140f6ffb",
  "UserId": "a4287eda-3d1d-44b0-97a8-20cb49e64615",
  "PatientId": "4c3fe0fc-506c-4b56-b9ca-e1f71b8aeb89",
  "AppointmentNo": "sample string 2",
  "Status": "sample string 3",
  "StatusValue": 4,
  "VATPercentage": 1.1,
  "VATAmount": 1.1,
  "TypeBit": 1,
  "SubServiceQuantity": 1,
  "BookingDate": "2025-06-14T12:56:01.0988348+05:00",
  "StartTime": "00:00:00.1234567",
  "Address": "sample string 5",
  "PatientName": "sample string 6",
  "Total": 1.1,
  "DiscountType": 1,
  "Discount": 1.1,
  "ToDateAndTime": "2025-06-14T12:56:01.0988348+05:00",
  "FromDateAndTime": "2025-06-14T12:56:01.0988348+05:00",
  "NormalExecutionTimeInSeconds": 1
}

application/xml, text/xml

Sample:
<DTOAppointmentServicesDetail xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HomeCarePortal.BAL.DTOModels">
  <Address>sample string 5</Address>
  <AppointmentNo>sample string 2</AppointmentNo>
  <BookingDate>2025-06-14T12:56:01.0988348+05:00</BookingDate>
  <BranchLocationId>5a683b04-996a-4508-8f0c-6cb4140f6ffb</BranchLocationId>
  <Discount>1.1</Discount>
  <DiscountType>1</DiscountType>
  <FromDateAndTime>2025-06-14T12:56:01.0988348+05:00</FromDateAndTime>
  <Id>92a9e820-1f97-4bd5-9b7f-00f52d8e04f2</Id>
  <NormalExecutionTimeInSeconds>1</NormalExecutionTimeInSeconds>
  <PatientId>4c3fe0fc-506c-4b56-b9ca-e1f71b8aeb89</PatientId>
  <PatientName>sample string 6</PatientName>
  <PaymentMethodId>194904a9-d357-4980-8783-416c1e08fe24</PaymentMethodId>
  <Price>1</Price>
  <StartTime>PT0.1234567S</StartTime>
  <Status>sample string 3</Status>
  <StatusValue>4</StatusValue>
  <SubServiceId>ab13323c-ed07-4944-97f9-9fcb97e0937f</SubServiceId>
  <SubServiceName>sample string 1</SubServiceName>
  <SubServiceQuantity>1</SubServiceQuantity>
  <ToDateAndTime>2025-06-14T12:56:01.0988348+05:00</ToDateAndTime>
  <Total>1.1</Total>
  <TypeBit>1</TypeBit>
  <UserId>a4287eda-3d1d-44b0-97a8-20cb49e64615</UserId>
  <VATAmount>1.1</VATAmount>
  <VATPercentage>1.1</VATPercentage>
</DTOAppointmentServicesDetail>

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 'DTOAppointmentServicesDetail'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.