POST api/Report/SaveAppointment

Request Information

URI Parameters

None.

Body Parameters

Appointment
NameDescriptionTypeAdditional information
AppointmentID

integer

None.

Make

integer

None.

MakeName

string

None.

MakeNameArabic

string

None.

Model

integer

None.

ModelName

string

None.

ModelArabicName

string

None.

ProductionYear

string

None.

PackageID

integer

None.

Mileage

integer

None.

CustomerPhone

string

None.

AppointmentDate

date

None.

AppointmentTime

string

None.

FirstName

string

None.

Comment

string

None.

StatusID

byte

None.

RegionID

byte

None.

IsIndividual

boolean

None.

CategoryID

byte

None.

PackagePrice

decimal number

None.

VehicleIDPhotoFront

string

None.

VehicleIDPhotoBack

string

None.

CustomerIDPhotoFront

string

None.

CustomerIDPhotoBack

string

None.

SellerIDPhotoFront

string

None.

CarOptions

string

None.

GroupName

string

None.

Language

string

None.

BranchID

integer

None.

AppointmentSlotID

integer

None.

AutoJoUserID

integer

None.

PostID

integer

None.

DoozRoleID

byte

None.

SellRequestID

integer

None.

ReferenceCode

integer

None.

PromoCode

string

None.

DiscountAmount

decimal number

None.

IsBuyer

boolean

None.

MileageUnit

string

None.

AppointmentFeatures

Collection of Feature

None.

SellerID

integer

None.

SellerName

string

None.

SellerPhoneNumber

string

None.

Location

string

None.

EngineTypeID

integer

None.

IsFirstAppointment

boolean

None.

CarPrice

integer

None.

NoOfCars

integer

None.

AutomateDoozAdPost

boolean

None.

EngineCapacity

integer

None.

CustomerBaseUIUrl

string

None.

AppointmentTimeSlotCount

integer

None.

IsInvoiceSent

boolean

None.

IsWhatsAppMessageSend

boolean

None.

DoozAppointmentTypeID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "AppointmentID": 1,
  "Make": 1,
  "MakeName": "sample string 2",
  "MakeNameArabic": "sample string 3",
  "Model": 1,
  "ModelName": "sample string 4",
  "ModelArabicName": "sample string 5",
  "ProductionYear": "sample string 6",
  "PackageID": 1,
  "Mileage": 1,
  "CustomerPhone": "sample string 7",
  "AppointmentDate": "2024-11-21T08:58:26.1314006+00:00",
  "AppointmentTime": "sample string 9",
  "FirstName": "sample string 10",
  "Comment": "sample string 11",
  "StatusID": 64,
  "RegionID": 64,
  "IsIndividual": true,
  "CategoryID": 64,
  "PackagePrice": 1.1,
  "VehicleIDPhotoFront": "sample string 13",
  "VehicleIDPhotoBack": "sample string 14",
  "CustomerIDPhotoFront": "sample string 15",
  "CustomerIDPhotoBack": "sample string 16",
  "SellerIDPhotoFront": "sample string 17",
  "CarOptions": "sample string 18",
  "GroupName": "sample string 19",
  "Language": "sample string 20",
  "BranchID": 21,
  "AppointmentSlotID": 1,
  "AutoJoUserID": 1,
  "PostID": 1,
  "DoozRoleID": 64,
  "SellRequestID": 1,
  "ReferenceCode": 22,
  "PromoCode": "sample string 23",
  "DiscountAmount": 1.1,
  "IsBuyer": true,
  "MileageUnit": "sample string 24",
  "AppointmentFeatures": [
    {
      "FeatureID": 1,
      "FeatureLanguageID": 2,
      "LanguageID": 64,
      "CategoryID": 64,
      "FeatureName": "sample string 4",
      "FeatureArabicName": "sample string 5",
      "AppointmentFeatureID": 1,
      "AppointmentID": 1,
      "IsChecked": 1,
      "CarSeriesID": "sample string 6",
      "SellRequestID": 1
    },
    {
      "FeatureID": 1,
      "FeatureLanguageID": 2,
      "LanguageID": 64,
      "CategoryID": 64,
      "FeatureName": "sample string 4",
      "FeatureArabicName": "sample string 5",
      "AppointmentFeatureID": 1,
      "AppointmentID": 1,
      "IsChecked": 1,
      "CarSeriesID": "sample string 6",
      "SellRequestID": 1
    }
  ],
  "SellerID": 1,
  "SellerName": "sample string 25",
  "SellerPhoneNumber": "sample string 26",
  "Location": "sample string 27",
  "EngineTypeID": 1,
  "IsFirstAppointment": true,
  "CarPrice": 1,
  "NoOfCars": 1,
  "AutomateDoozAdPost": true,
  "EngineCapacity": 1,
  "CustomerBaseUIUrl": "sample string 28",
  "AppointmentTimeSlotCount": 1,
  "IsInvoiceSent": true,
  "IsWhatsAppMessageSend": true,
  "DoozAppointmentTypeID": 1
}

application/xml, text/xml

Sample:
<Appointment xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MODEL.Models">
  <AppointmentDate>2024-11-21T08:58:26.1314006+00:00</AppointmentDate>
  <AppointmentFeatures>
    <Feature>
      <AppointmentFeatureID>1</AppointmentFeatureID>
      <AppointmentID>1</AppointmentID>
      <CarSeriesID>sample string 6</CarSeriesID>
      <CategoryID>64</CategoryID>
      <FeatureArabicName>sample string 5</FeatureArabicName>
      <FeatureID>1</FeatureID>
      <FeatureLanguageID>2</FeatureLanguageID>
      <FeatureName>sample string 4</FeatureName>
      <IsChecked>1</IsChecked>
      <LanguageID>64</LanguageID>
      <SellRequestID>1</SellRequestID>
    </Feature>
    <Feature>
      <AppointmentFeatureID>1</AppointmentFeatureID>
      <AppointmentID>1</AppointmentID>
      <CarSeriesID>sample string 6</CarSeriesID>
      <CategoryID>64</CategoryID>
      <FeatureArabicName>sample string 5</FeatureArabicName>
      <FeatureID>1</FeatureID>
      <FeatureLanguageID>2</FeatureLanguageID>
      <FeatureName>sample string 4</FeatureName>
      <IsChecked>1</IsChecked>
      <LanguageID>64</LanguageID>
      <SellRequestID>1</SellRequestID>
    </Feature>
  </AppointmentFeatures>
  <AppointmentID>1</AppointmentID>
  <AppointmentSlotID>1</AppointmentSlotID>
  <AppointmentTime>sample string 9</AppointmentTime>
  <AppointmentTimeSlotCount>1</AppointmentTimeSlotCount>
  <AutoJoUserID>1</AutoJoUserID>
  <AutomateDoozAdPost>true</AutomateDoozAdPost>
  <BranchID>21</BranchID>
  <CarOptions>sample string 18</CarOptions>
  <CarPrice>1</CarPrice>
  <CategoryID>64</CategoryID>
  <Comment>sample string 11</Comment>
  <CustomerBaseUIUrl>sample string 28</CustomerBaseUIUrl>
  <CustomerIDPhotoBack>sample string 16</CustomerIDPhotoBack>
  <CustomerIDPhotoFront>sample string 15</CustomerIDPhotoFront>
  <CustomerPhone>sample string 7</CustomerPhone>
  <DiscountAmount>1.1</DiscountAmount>
  <DoozAppointmentTypeID>1</DoozAppointmentTypeID>
  <DoozRoleID>64</DoozRoleID>
  <EngineCapacity>1</EngineCapacity>
  <EngineTypeID>1</EngineTypeID>
  <FirstName>sample string 10</FirstName>
  <GroupName>sample string 19</GroupName>
  <IsBuyer>true</IsBuyer>
  <IsFirstAppointment>true</IsFirstAppointment>
  <IsIndividual>true</IsIndividual>
  <IsInvoiceSent>true</IsInvoiceSent>
  <IsWhatsAppMessageSend>true</IsWhatsAppMessageSend>
  <Language>sample string 20</Language>
  <Location>sample string 27</Location>
  <Make>1</Make>
  <MakeName>sample string 2</MakeName>
  <MakeNameArabic>sample string 3</MakeNameArabic>
  <Mileage>1</Mileage>
  <MileageUnit>sample string 24</MileageUnit>
  <Model>1</Model>
  <ModelArabicName>sample string 5</ModelArabicName>
  <ModelName>sample string 4</ModelName>
  <NoOfCars>1</NoOfCars>
  <PackageID>1</PackageID>
  <PackagePrice>1.1</PackagePrice>
  <PostID>1</PostID>
  <ProductionYear>sample string 6</ProductionYear>
  <PromoCode>sample string 23</PromoCode>
  <ReferenceCode>22</ReferenceCode>
  <RegionID>64</RegionID>
  <SellRequestID>1</SellRequestID>
  <SellerID>1</SellerID>
  <SellerIDPhotoFront>sample string 17</SellerIDPhotoFront>
  <SellerName>sample string 25</SellerName>
  <SellerPhoneNumber>sample string 26</SellerPhoneNumber>
  <StatusID>64</StatusID>
  <VehicleIDPhotoBack>sample string 14</VehicleIDPhotoBack>
  <VehicleIDPhotoFront>sample string 13</VehicleIDPhotoFront>
</Appointment>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.