POST api/my/basura/accounting/rates

Request Information

URI Parameters

None.

Body Parameters

RatesManagementDTO
NameDescriptionTypeAdditional information
ID

integer

None.

VehicleTypeID

string

None.

VehicleType

string

None.

TruckTypeID

integer

None.

Description

string

None.

Rate

decimal number

None.

Rate2

decimal number

None.

Rate3

decimal number

None.

Rate4

decimal number

None.

Rate5

decimal number

None.

Rate6

decimal number

None.

Rate7

decimal number

None.

Rate8

decimal number

None.

Rate9

decimal number

None.

Rate10

decimal number

None.

Enabled

boolean

None.

CreatedDate

date

None.

UpdatedDate

date

None.

DesignationID

integer

None.

Designation

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "VehicleTypeID": "sample string 2",
  "VehicleType": "sample string 3",
  "TruckTypeID": 4,
  "Description": "sample string 5",
  "Rate": 1.0,
  "Rate2": 1.0,
  "Rate3": 1.0,
  "Rate4": 1.0,
  "Rate5": 1.0,
  "Rate6": 1.0,
  "Rate7": 1.0,
  "Rate8": 1.0,
  "Rate9": 1.0,
  "Rate10": 1.0,
  "Enabled": true,
  "CreatedDate": "2025-07-13T20:07:48.9138379+08:00",
  "UpdatedDate": "2025-07-13T20:07:48.9138379+08:00",
  "DesignationID": 6,
  "Designation": "sample string 7"
}

application/xml, text/xml

Sample:
<RatesManagementDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Models.DTO">
  <CreatedDate>2025-07-13T20:07:48.9138379+08:00</CreatedDate>
  <Description>sample string 5</Description>
  <Designation>sample string 7</Designation>
  <DesignationID>6</DesignationID>
  <Enabled>true</Enabled>
  <ID>1</ID>
  <Rate>1</Rate>
  <Rate10>1</Rate10>
  <Rate2>1</Rate2>
  <Rate3>1</Rate3>
  <Rate4>1</Rate4>
  <Rate5>1</Rate5>
  <Rate6>1</Rate6>
  <Rate7>1</Rate7>
  <Rate8>1</Rate8>
  <Rate9>1</Rate9>
  <TruckTypeID>4</TruckTypeID>
  <UpdatedDate>2025-07-13T20:07:48.9138379+08:00</UpdatedDate>
  <VehicleType>sample string 3</VehicleType>
  <VehicleTypeID>sample string 2</VehicleTypeID>
</RatesManagementDTO>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.