POST api/Admin/UpdateSellRequest

Request Information

URI Parameters

None.

Body Parameters

SellRequest
NameDescriptionTypeAdditional information
SellRequestID

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.

ModifiedBy

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.

Price

integer

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.

ReferenceCode

integer

None.

PromoCode

string

None.

DiscountAmount

decimal number

None.

IsBuyer

boolean

None.

MileageUnit

string

None.

SellRequestFeatures

Collection of Feature

None.

SellerID

integer

None.

SellerName

string

None.

SellerPhoneNumber

string

None.

InspectionComment

string

None.

Note

string

None.

VehicleSeriesID

integer

None.

AutoscoreReportNo

integer

None.

Location

string

None.

SellRequestDate

date

None.

StartTime

time interval

None.

EndTime

time interval

None.

Request Formats

application/json, text/json

Sample:
{
  "SellRequestID": 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": "2024-11-21T08:35:09.7481458+00:00",
  "CreatedBy": 19,
  "ModifiedBy": 20,
  "IsDeleted": true,
  "AppointmentDate": "2024-11-21T08:35:09.7481458+00:00",
  "AppointmentTime": "sample string 23",
  "OdoMeterReading": 24,
  "FirstName": "sample string 25",
  "LastName": "sample string 26",
  "Comment": "sample string 27",
  "VehicleTypeID": 64,
  "Color": "sample string 29",
  "InternalVehicleNo": "sample string 30",
  "Occupation": "sample string 31",
  "BuyerName": "sample string 32",
  "DriverName": "sample string 33",
  "InspectionPurposeID": 64,
  "MarketingSourceID": 64,
  "StatusID": 64,
  "CityID": 36,
  "RegionID": 64,
  "IsIndividual": true,
  "CategoryID": 64,
  "PackagePrice": 1.1,
  "Price": 1,
  "VehicleIDPhotoFront": "sample string 38",
  "VehicleIDPhotoBack": "sample string 39",
  "CustomerIDPhotoFront": "sample string 40",
  "CustomerIDPhotoBack": "sample string 41",
  "SellerIDPhotoFront": "sample string 42",
  "CarOptions": "sample string 43",
  "GroupName": "sample string 44",
  "Language": "sample string 45",
  "BranchID": 46,
  "AppointmentSlotID": 1,
  "AutoJoUserID": 1,
  "PostID": 1,
  "DoozRoleID": 64,
  "ReferenceCode": 47,
  "PromoCode": "sample string 48",
  "DiscountAmount": 1.1,
  "IsBuyer": true,
  "MileageUnit": "sample string 49",
  "SellRequestFeatures": [
    {
      "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 50",
  "SellerPhoneNumber": "sample string 51",
  "InspectionComment": "sample string 52",
  "Note": "sample string 53",
  "VehicleSeriesID": 1,
  "AutoscoreReportNo": 1,
  "Location": "sample string 54",
  "SellRequestDate": "2024-11-21T08:35:09.7637791+00:00",
  "StartTime": "00:00:00.1234567",
  "EndTime": "00:00:00.1234567"
}

application/xml, text/xml

Sample:
<SellRequest 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>2024-11-21T08:35:09.7481458+00:00</AppointmentDate>
  <AppointmentSlotID>1</AppointmentSlotID>
  <AppointmentTime>sample string 23</AppointmentTime>
  <AutoJoUserID>1</AutoJoUserID>
  <AutoscoreReportNo>1</AutoscoreReportNo>
  <BranchID>46</BranchID>
  <BuyerName>sample string 32</BuyerName>
  <CarOptions>sample string 43</CarOptions>
  <CarTypeID>64</CarTypeID>
  <CarTypeName>sample string 5</CarTypeName>
  <CategoryID>64</CategoryID>
  <CityID>36</CityID>
  <Color>sample string 29</Color>
  <Comment>sample string 27</Comment>
  <CreatedBy>19</CreatedBy>
  <CreatedOn>2024-11-21T08:35:09.7481458+00:00</CreatedOn>
  <CustomerIDPhotoBack>sample string 41</CustomerIDPhotoBack>
  <CustomerIDPhotoFront>sample string 40</CustomerIDPhotoFront>
  <CustomerPhone>sample string 16</CustomerPhone>
  <Description>sample string 17</Description>
  <DiscountAmount>1.1</DiscountAmount>
  <DoozRoleID>64</DoozRoleID>
  <DriverName>sample string 33</DriverName>
  <EndTime>PT0.1234567S</EndTime>
  <FirstName>sample string 25</FirstName>
  <GroupName>sample string 44</GroupName>
  <InspectionComment>sample string 52</InspectionComment>
  <InspectionPurposeID>64</InspectionPurposeID>
  <InternalVehicleNo>sample string 30</InternalVehicleNo>
  <IsBuyer>true</IsBuyer>
  <IsDeleted>true</IsDeleted>
  <IsIndividual>true</IsIndividual>
  <Language>sample string 45</Language>
  <LastName>sample string 26</LastName>
  <Location>sample string 54</Location>
  <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 49</MileageUnit>
  <Model>1</Model>
  <ModelName>sample string 6</ModelName>
  <ModifiedBy>20</ModifiedBy>
  <Note>sample string 53</Note>
  <Occupation>sample string 31</Occupation>
  <OdoMeterReading>24</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>
  <Price>1</Price>
  <ProductionYear>sample string 7</ProductionYear>
  <PromoCode>sample string 48</PromoCode>
  <ReferenceCode>47</ReferenceCode>
  <RegionID>64</RegionID>
  <SellRequestDate>2024-11-21T08:35:09.7637791+00:00</SellRequestDate>
  <SellRequestFeatures>
    <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>
  </SellRequestFeatures>
  <SellRequestID>1</SellRequestID>
  <SellerID>1</SellerID>
  <SellerIDPhotoFront>sample string 42</SellerIDPhotoFront>
  <SellerName>sample string 50</SellerName>
  <SellerPhoneNumber>sample string 51</SellerPhoneNumber>
  <StartTime>PT0.1234567S</StartTime>
  <StatusID>64</StatusID>
  <VIN>sample string 8</VIN>
  <VehicleIDPhotoBack>sample string 39</VehicleIDPhotoBack>
  <VehicleIDPhotoFront>sample string 38</VehicleIDPhotoFront>
  <VehicleLogoUrl>sample string 10</VehicleLogoUrl>
  <VehicleSeriesID>1</VehicleSeriesID>
  <VehicleTypeID>64</VehicleTypeID>
  <VehicleTypeName>sample string 4</VehicleTypeName>
</SellRequest>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.