POST api/Report/SaveAppointment

Request Information

URI Parameters

None.

Body Parameters

Appointment
NameDescriptionTypeAdditional information
AppointmentID

integer

None.

Make

string

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.

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.

BranchID

integer

None.

AppointmentSlotID

integer

None.

AutoJoUserID

integer

None.

SellRequestID

integer

None.

ReferenceCode

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "AppointmentID": 1,
  "Make": "sample string 2",
  "MakeName": "sample string 3",
  "MakeImageURL": "sample string 4",
  "VehicleTypeName": "sample string 5",
  "CarTypeName": "sample string 6",
  "Model": 7,
  "ModelName": "sample string 8",
  "ProductionYear": "sample string 9",
  "VIN": "sample string 10",
  "PlateNo": "sample string 11",
  "VehicleLogoUrl": "sample string 12",
  "CarTypeID": 64,
  "PackageID": 1,
  "Mileage": 1,
  "MileageStandard": "sample string 13",
  "ApplicantName": "sample string 14",
  "ApplicantEmail": "sample string 15",
  "OwnerName": "sample string 16",
  "PackageName": "sample string 17",
  "CustomerPhone": "sample string 18",
  "Description": "sample string 19",
  "CreatedOn": "2022-01-24T07:51:06.8479908+00:00",
  "CreatedBy": 21,
  "IsDeleted": true,
  "AppointmentDate": "2022-01-24T07:51:06.8479908+00:00",
  "AppointmentTime": "sample string 24",
  "OdoMeterReading": 25,
  "FirstName": "sample string 26",
  "LastName": "sample string 27",
  "Comment": "sample string 28",
  "VehicleTypeID": 64,
  "Color": "sample string 30",
  "InternalVehicleNo": "sample string 31",
  "Occupation": "sample string 32",
  "BuyerName": "sample string 33",
  "DriverName": "sample string 34",
  "InspectionPurposeID": 64,
  "MarketingSourceID": 64,
  "StatusID": 64,
  "CityID": 37,
  "RegionID": 64,
  "CategoryID": 64,
  "PackagePrice": 40.1,
  "VehicleIDPhotoFront": "sample string 41",
  "VehicleIDPhotoBack": "sample string 42",
  "CustomerIDPhotoFront": "sample string 43",
  "CustomerIDPhotoBack": "sample string 44",
  "SellerIDPhotoFront": "sample string 45",
  "CarOptions": "sample string 46",
  "GroupName": "sample string 47",
  "BranchID": 48,
  "AppointmentSlotID": 49,
  "AutoJoUserID": 1,
  "SellRequestID": 1,
  "ReferenceCode": 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 15</ApplicantEmail>
  <ApplicantName>sample string 14</ApplicantName>
  <AppointmentDate>2022-01-24T07:51:06.8479908+00:00</AppointmentDate>
  <AppointmentID>1</AppointmentID>
  <AppointmentSlotID>49</AppointmentSlotID>
  <AppointmentTime>sample string 24</AppointmentTime>
  <AutoJoUserID>1</AutoJoUserID>
  <BranchID>48</BranchID>
  <BuyerName>sample string 33</BuyerName>
  <CarOptions>sample string 46</CarOptions>
  <CarTypeID>64</CarTypeID>
  <CarTypeName>sample string 6</CarTypeName>
  <CategoryID>64</CategoryID>
  <CityID>37</CityID>
  <Color>sample string 30</Color>
  <Comment>sample string 28</Comment>
  <CreatedBy>21</CreatedBy>
  <CreatedOn>2022-01-24T07:51:06.8479908+00:00</CreatedOn>
  <CustomerIDPhotoBack>sample string 44</CustomerIDPhotoBack>
  <CustomerIDPhotoFront>sample string 43</CustomerIDPhotoFront>
  <CustomerPhone>sample string 18</CustomerPhone>
  <Description>sample string 19</Description>
  <DriverName>sample string 34</DriverName>
  <FirstName>sample string 26</FirstName>
  <GroupName>sample string 47</GroupName>
  <InspectionPurposeID>64</InspectionPurposeID>
  <InternalVehicleNo>sample string 31</InternalVehicleNo>
  <IsDeleted>true</IsDeleted>
  <LastName>sample string 27</LastName>
  <Make>sample string 2</Make>
  <MakeImageURL>sample string 4</MakeImageURL>
  <MakeName>sample string 3</MakeName>
  <MarketingSourceID>64</MarketingSourceID>
  <Mileage>1</Mileage>
  <MileageStandard>sample string 13</MileageStandard>
  <Model>7</Model>
  <ModelName>sample string 8</ModelName>
  <Occupation>sample string 32</Occupation>
  <OdoMeterReading>25</OdoMeterReading>
  <OwnerName>sample string 16</OwnerName>
  <PackageID>1</PackageID>
  <PackageName>sample string 17</PackageName>
  <PackagePrice>40.1</PackagePrice>
  <PlateNo>sample string 11</PlateNo>
  <ProductionYear>sample string 9</ProductionYear>
  <ReferenceCode>50</ReferenceCode>
  <RegionID>64</RegionID>
  <SellRequestID>1</SellRequestID>
  <SellerIDPhotoFront>sample string 45</SellerIDPhotoFront>
  <StatusID>64</StatusID>
  <VIN>sample string 10</VIN>
  <VehicleIDPhotoBack>sample string 42</VehicleIDPhotoBack>
  <VehicleIDPhotoFront>sample string 41</VehicleIDPhotoFront>
  <VehicleLogoUrl>sample string 12</VehicleLogoUrl>
  <VehicleTypeID>64</VehicleTypeID>
  <VehicleTypeName>sample string 5</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.