POST api/UserServicesWithCharges/UpdateUserServices

Request Information

URI Parameters

None.

Body Parameters

UserServicesWithChargesModel
NameDescriptionTypeAdditional information
VehicleProblemIDs

Collection of integer

None.

Distance

decimal number

None.

UserServiceID

integer

None.

ServiceID

integer

None.

ServiceName

string

None.

VehicleTypeID

integer

None.

VehicleTypeName

string

None.

VCompanyID

integer

None.

CompanyName

string

None.

VehicleID

integer

None.

VehicleName

string

None.

VehicleProblem

string

None.

TowingServiceID

integer

None.

TowingServiceName

string

None.

UserCurrentLattitude

decimal number

None.

UserCurrentLogitude

decimal number

None.

UserDistinationLattitude

decimal number

None.

UserDistinationLogitude

decimal number

None.

CurrentAddress

string

None.

DistinationAddress

string

None.

CreatedOn

date

None.

UpdatedOn

date

None.

Charges

decimal number

None.

GSTCharges

decimal number

None.

TotalCharges

decimal number

None.

Timing

string

None.

IsActive

boolean

None.

UserID

string

None.

UserName

string

None.

GarageID

integer

None.

GarageName

string

None.

TransmissionType

string

None.

FuelType

string

None.

FuelType1

string

None.

Request Formats

application/json, text/json

Sample:
{
  "VehicleProblemIDs": [
    1,
    2
  ],
  "Distance": 1.0,
  "UserServiceID": 1,
  "ServiceID": 2,
  "ServiceName": "sample string 3",
  "VehicleTypeID": 4,
  "VehicleTypeName": "sample string 5",
  "VCompanyID": 6,
  "CompanyName": "sample string 7",
  "VehicleID": 8,
  "VehicleName": "sample string 9",
  "VehicleProblem": "sample string 10",
  "TowingServiceID": 1,
  "TowingServiceName": "sample string 11",
  "UserCurrentLattitude": 1.0,
  "UserCurrentLogitude": 1.0,
  "UserDistinationLattitude": 1.0,
  "UserDistinationLogitude": 1.0,
  "CurrentAddress": "sample string 12",
  "DistinationAddress": "sample string 13",
  "CreatedOn": "2025-12-31T18:15:52.7974805+05:30",
  "UpdatedOn": "2025-12-31T18:15:52.7974805+05:30",
  "Charges": 1.0,
  "GSTCharges": 1.0,
  "TotalCharges": 1.0,
  "Timing": "sample string 14",
  "IsActive": true,
  "UserID": "sample string 15",
  "UserName": "sample string 16",
  "GarageID": 1,
  "GarageName": "sample string 17",
  "TransmissionType": "sample string 18",
  "FuelType": "sample string 19",
  "FuelType1": "sample string 20"
}

application/xml, text/xml

Sample:
<UserServicesWithChargesModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mechon.Models">
  <Charges>1</Charges>
  <CompanyName>sample string 7</CompanyName>
  <CreatedOn>2025-12-31T18:15:52.7974805+05:30</CreatedOn>
  <CurrentAddress>sample string 12</CurrentAddress>
  <Distance>1</Distance>
  <DistinationAddress>sample string 13</DistinationAddress>
  <FuelType>sample string 19</FuelType>
  <FuelType1>sample string 20</FuelType1>
  <GSTCharges>1</GSTCharges>
  <GarageID>1</GarageID>
  <GarageName>sample string 17</GarageName>
  <IsActive>true</IsActive>
  <ServiceID>2</ServiceID>
  <ServiceName>sample string 3</ServiceName>
  <Timing>sample string 14</Timing>
  <TotalCharges>1</TotalCharges>
  <TowingServiceID>1</TowingServiceID>
  <TowingServiceName>sample string 11</TowingServiceName>
  <TransmissionType>sample string 18</TransmissionType>
  <UpdatedOn>2025-12-31T18:15:52.7974805+05:30</UpdatedOn>
  <UserCurrentLattitude>1</UserCurrentLattitude>
  <UserCurrentLogitude>1</UserCurrentLogitude>
  <UserDistinationLattitude>1</UserDistinationLattitude>
  <UserDistinationLogitude>1</UserDistinationLogitude>
  <UserID>sample string 15</UserID>
  <UserName>sample string 16</UserName>
  <UserServiceID>1</UserServiceID>
  <VCompanyID>6</VCompanyID>
  <VehicleID>8</VehicleID>
  <VehicleName>sample string 9</VehicleName>
  <VehicleProblem>sample string 10</VehicleProblem>
  <VehicleProblemIDs xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </VehicleProblemIDs>
  <VehicleTypeID>4</VehicleTypeID>
  <VehicleTypeName>sample string 5</VehicleTypeName>
</UserServicesWithChargesModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

UserServicesWithChargesModel
NameDescriptionTypeAdditional information
VehicleProblemIDs

Collection of integer

None.

Distance

decimal number

None.

UserServiceID

integer

None.

ServiceID

integer

None.

ServiceName

string

None.

VehicleTypeID

integer

None.

VehicleTypeName

string

None.

VCompanyID

integer

None.

CompanyName

string

None.

VehicleID

integer

None.

VehicleName

string

None.

VehicleProblem

string

None.

TowingServiceID

integer

None.

TowingServiceName

string

None.

UserCurrentLattitude

decimal number

None.

UserCurrentLogitude

decimal number

None.

UserDistinationLattitude

decimal number

None.

UserDistinationLogitude

decimal number

None.

CurrentAddress

string

None.

DistinationAddress

string

None.

CreatedOn

date

None.

UpdatedOn

date

None.

Charges

decimal number

None.

GSTCharges

decimal number

None.

TotalCharges

decimal number

None.

Timing

string

None.

IsActive

boolean

None.

UserID

string

None.

UserName

string

None.

GarageID

integer

None.

GarageName

string

None.

TransmissionType

string

None.

FuelType

string

None.

FuelType1

string

None.

Response Formats

application/json, text/json

Sample:
{
  "VehicleProblemIDs": [
    1,
    2
  ],
  "Distance": 1.0,
  "UserServiceID": 1,
  "ServiceID": 2,
  "ServiceName": "sample string 3",
  "VehicleTypeID": 4,
  "VehicleTypeName": "sample string 5",
  "VCompanyID": 6,
  "CompanyName": "sample string 7",
  "VehicleID": 8,
  "VehicleName": "sample string 9",
  "VehicleProblem": "sample string 10",
  "TowingServiceID": 1,
  "TowingServiceName": "sample string 11",
  "UserCurrentLattitude": 1.0,
  "UserCurrentLogitude": 1.0,
  "UserDistinationLattitude": 1.0,
  "UserDistinationLogitude": 1.0,
  "CurrentAddress": "sample string 12",
  "DistinationAddress": "sample string 13",
  "CreatedOn": "2025-12-31T18:15:52.8443543+05:30",
  "UpdatedOn": "2025-12-31T18:15:52.8443543+05:30",
  "Charges": 1.0,
  "GSTCharges": 1.0,
  "TotalCharges": 1.0,
  "Timing": "sample string 14",
  "IsActive": true,
  "UserID": "sample string 15",
  "UserName": "sample string 16",
  "GarageID": 1,
  "GarageName": "sample string 17",
  "TransmissionType": "sample string 18",
  "FuelType": "sample string 19",
  "FuelType1": "sample string 20"
}

application/xml, text/xml

Sample:
<UserServicesWithChargesModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mechon.Models">
  <Charges>1</Charges>
  <CompanyName>sample string 7</CompanyName>
  <CreatedOn>2025-12-31T18:15:52.8443543+05:30</CreatedOn>
  <CurrentAddress>sample string 12</CurrentAddress>
  <Distance>1</Distance>
  <DistinationAddress>sample string 13</DistinationAddress>
  <FuelType>sample string 19</FuelType>
  <FuelType1>sample string 20</FuelType1>
  <GSTCharges>1</GSTCharges>
  <GarageID>1</GarageID>
  <GarageName>sample string 17</GarageName>
  <IsActive>true</IsActive>
  <ServiceID>2</ServiceID>
  <ServiceName>sample string 3</ServiceName>
  <Timing>sample string 14</Timing>
  <TotalCharges>1</TotalCharges>
  <TowingServiceID>1</TowingServiceID>
  <TowingServiceName>sample string 11</TowingServiceName>
  <TransmissionType>sample string 18</TransmissionType>
  <UpdatedOn>2025-12-31T18:15:52.8443543+05:30</UpdatedOn>
  <UserCurrentLattitude>1</UserCurrentLattitude>
  <UserCurrentLogitude>1</UserCurrentLogitude>
  <UserDistinationLattitude>1</UserDistinationLattitude>
  <UserDistinationLogitude>1</UserDistinationLogitude>
  <UserID>sample string 15</UserID>
  <UserName>sample string 16</UserName>
  <UserServiceID>1</UserServiceID>
  <VCompanyID>6</VCompanyID>
  <VehicleID>8</VehicleID>
  <VehicleName>sample string 9</VehicleName>
  <VehicleProblem>sample string 10</VehicleProblem>
  <VehicleProblemIDs xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </VehicleProblemIDs>
  <VehicleTypeID>4</VehicleTypeID>
  <VehicleTypeName>sample string 5</VehicleTypeName>
</UserServicesWithChargesModel>