PUT api/VehicleMaster

Request Information

URI Parameters

None.

Body Parameters

T_VehicleMaster
NameDescriptionTypeAdditional information
Id

integer

None.

VehicleName

string

None.

LoadingCapacity

decimal number

None.

Length

decimal number

None.

Width

decimal number

None.

Height

decimal number

None.

CreatedBy

integer

None.

CreatedOn

date

None.

ModifiedBy

integer

None.

ModifiedOn

date

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "VehicleName": "sample string 2",
  "LoadingCapacity": 1.0,
  "Length": 3.0,
  "Width": 4.0,
  "Height": 5.0,
  "CreatedBy": 1,
  "CreatedOn": "2024-04-27T23:35:57.3731227+00:00",
  "ModifiedBy": 1,
  "ModifiedOn": "2024-04-27T23:35:57.3731227+00:00"
}

application/xml, text/xml

Sample:
<T_VehicleMaster xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RREL.Data.Models">
  <CreatedBy>1</CreatedBy>
  <CreatedOn>2024-04-27T23:35:57.3731227+00:00</CreatedOn>
  <Height>5</Height>
  <Id>1</Id>
  <Length>3</Length>
  <LoadingCapacity>1</LoadingCapacity>
  <ModifiedBy>1</ModifiedBy>
  <ModifiedOn>2024-04-27T23:35:57.3731227+00:00</ModifiedOn>
  <VehicleName>sample string 2</VehicleName>
  <Width>4</Width>
</T_VehicleMaster>

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

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.