POST api/Report/SaveAppointment

Request Information

URI Parameters

None.

Body Parameters

Appointment
NameDescriptionTypeAdditional information
AppointmentID

integer

None.

Make

integer

None.

MakeName

string

None.

MakeImageURL

string

None.

VehicleTypeName

string

None.

CarTypeName

string

None.

Model

integer

None.

ModelName

string

None.

ProductionYear

string

None.

VIN

string

None.

PlateNo

string

None.

VehicleLogoUrl

string

None.

CarTypeID

byte

None.

PackageID

integer

None.

Mileage

integer

None.

MileageStandard

string

None.

ApplicantName

string

None.

ApplicantEmail

string

None.

OwnerName

string

None.

PackageName

string

None.

CustomerPhone

string

None.

Description

string

None.

CreatedOn

date

None.

CreatedBy

integer

None.

IsDeleted

boolean

None.

AppointmentDate

date

None.

AppointmentTime

string

None.

OdoMeterReading

integer

None.

FirstName

string

None.

LastName

string

None.

Comment

string

None.

VehicleTypeID

byte

None.

Color

string

None.

InternalVehicleNo

string

None.

Occupation

string

None.

BuyerName

string

None.

DriverName

string

None.

InspectionPurposeID

byte

None.

MarketingSourceID

byte

None.

StatusID

byte

None.

CityID

integer

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.

Request Formats

application/json, text/json

Sample:
{
  "AppointmentID": 1,
  "Make": 1,
  "MakeName": "sample string 2",
  "MakeImageURL": "sample string 3",
  "VehicleTypeName": "sample string 4",
  "CarTypeName": "sample string 5",
  "Model": 1,
  "ModelName": "sample string 6",
  "ProductionYear": "sample string 7",
  "VIN": "sample string 8",
  "PlateNo": "sample string 9",
  "VehicleLogoUrl": "sample string 10",
  "CarTypeID": 64,
  "PackageID": 1,
  "Mileage": 1,
  "MileageStandard": "sample string 11",
  "ApplicantName": "sample string 12",
  "ApplicantEmail": "sample string 13",
  "OwnerName": "sample string 14",
  "PackageName": "sample string 15",
  "CustomerPhone": "sample string 16",
  "Description": "sample string 17",
  "CreatedOn": "2022-06-24T23:12:39.7097869+00:00",
  "CreatedBy": 19,
  "IsDeleted": true,
  "AppointmentDate": "2022-06-24T23:12:39.7097869+00:00",
  "AppointmentTime": "sample string 22",
  "OdoMeterReading": 23,
  "FirstName": "sample string 24",
  "LastName": "sample string 25",
  "Comment": "sample string 26",
  "VehicleTypeID": 64,
  "Color": "sample string 28",
  "InternalVehicleNo": "sample string 29",
  "Occupation": "sample string 30",
  "BuyerName": "sample string 31",
  "DriverName": "sample string 32",
  "InspectionPurposeID": 64,
  "MarketingSourceID": 64,
  "StatusID": 64,
  "CityID": 35,
  "RegionID": 64,
  "IsIndividual": true,
  "CategoryID": 64,
  "PackagePrice": 1.1,
  "VehicleIDPhotoFront": "sample string 37",
  "VehicleIDPhotoBack": "sample string 38",
  "CustomerIDPhotoFront": "sample string 39",
  "CustomerIDPhotoBack": "sample string 40",
  "SellerIDPhotoFront": "sample string 41",
  "CarOptions": "sample string 42",
  "GroupName": "sample string 43",
  "Language": "sample string 44",
  "BranchID": 45,
  "AppointmentSlotID": 1,
  "AutoJoUserID": 1,
  "PostID": 1,
  "DoozRoleID": 64,
  "SellRequestID": 1,
  "ReferenceCode": 46,
  "PromoCode": "sample string 47",
  "DiscountAmount": 1.1,
  "IsBuyer": true,
  "MileageUnit": "sample string 48",
  "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"
    },
    {
      "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"
    }
  ],
  "SellerID": 1,
  "SellerName": "sample string 49",
  "SellerPhoneNumber": "sample string 50"
}

application/xml, text/xml

Sample:
<Appointment xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MODEL.Models">
  <ApplicantEmail>sample string 13</ApplicantEmail>
  <ApplicantName>sample string 12</ApplicantName>
  <AppointmentDate>2022-06-24T23:12:39.7097869+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>
    </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>
    </Feature>
  </AppointmentFeatures>
  <AppointmentID>1</AppointmentID>
  <AppointmentSlotID>1</AppointmentSlotID>
  <AppointmentTime>sample string 22</AppointmentTime>
  <AutoJoUserID>1</AutoJoUserID>
  <BranchID>45</BranchID>
  <BuyerName>sample string 31</BuyerName>
  <CarOptions>sample string 42</CarOptions>
  <CarTypeID>64</CarTypeID>
  <CarTypeName>sample string 5</CarTypeName>
  <CategoryID>64</CategoryID>
  <CityID>35</CityID>
  <Color>sample string 28</Color>
  <Comment>sample string 26</Comment>
  <CreatedBy>19</CreatedBy>
  <CreatedOn>2022-06-24T23:12:39.7097869+00:00</CreatedOn>
  <CustomerIDPhotoBack>sample string 40</CustomerIDPhotoBack>
  <CustomerIDPhotoFront>sample string 39</CustomerIDPhotoFront>
  <CustomerPhone>sample string 16</CustomerPhone>
  <Description>sample string 17</Description>
  <DiscountAmount>1.1</DiscountAmount>
  <DoozRoleID>64</DoozRoleID>
  <DriverName>sample string 32</DriverName>
  <FirstName>sample string 24</FirstName>
  <GroupName>sample string 43</GroupName>
  <InspectionPurposeID>64</InspectionPurposeID>
  <InternalVehicleNo>sample string 29</InternalVehicleNo>
  <IsBuyer>true</IsBuyer>
  <IsDeleted>true</IsDeleted>
  <IsIndividual>true</IsIndividual>
  <Language>sample string 44</Language>
  <LastName>sample string 25</LastName>
  <Make>1</Make>
  <MakeImageURL>sample string 3</MakeImageURL>
  <MakeName>sample string 2</MakeName>
  <MarketingSourceID>64</MarketingSourceID>
  <Mileage>1</Mileage>
  <MileageStandard>sample string 11</MileageStandard>
  <MileageUnit>sample string 48</MileageUnit>
  <Model>1</Model>
  <ModelName>sample string 6</ModelName>
  <Occupation>sample string 30</Occupation>
  <OdoMeterReading>23</OdoMeterReading>
  <OwnerName>sample string 14</OwnerName>
  <PackageID>1</PackageID>
  <PackageName>sample string 15</PackageName>
  <PackagePrice>1.1</PackagePrice>
  <PlateNo>sample string 9</PlateNo>
  <PostID>1</PostID>
  <ProductionYear>sample string 7</ProductionYear>
  <PromoCode>sample string 47</PromoCode>
  <ReferenceCode>46</ReferenceCode>
  <RegionID>64</RegionID>
  <SellRequestID>1</SellRequestID>
  <SellerID>1</SellerID>
  <SellerIDPhotoFront>sample string 41</SellerIDPhotoFront>
  <SellerName>sample string 49</SellerName>
  <SellerPhoneNumber>sample string 50</SellerPhoneNumber>
  <StatusID>64</StatusID>
  <VIN>sample string 8</VIN>
  <VehicleIDPhotoBack>sample string 38</VehicleIDPhotoBack>
  <VehicleIDPhotoFront>sample string 37</VehicleIDPhotoFront>
  <VehicleLogoUrl>sample string 10</VehicleLogoUrl>
  <VehicleTypeID>64</VehicleTypeID>
  <VehicleTypeName>sample string 4</VehicleTypeName>
</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.