POST api/UOMConversion

Request Information

URI Parameters

None.

Body Parameters

UOMConversion
NameDescriptionTypeAdditional information
UOMConversionId

integer

None.

ToConversionUOMId

integer

None.

MultifactorValue

decimal number

None.

UomId

integer

None.

Uom

Uom

None.

ConversionUOM

Uom

None.

CreatedDate

date

Data type: DateTime

CreatedBy

string

None.

Request Formats

application/json, text/json

Sample:
{
  "UOMConversionId": 1,
  "ToConversionUOMId": 2,
  "MultifactorValue": 3.1,
  "UomId": 4,
  "Uom": {
    "UomId": 1,
    "UomName": "sample string 2",
    "UomAbbrevation": "sample string 3",
    "CreatedDate": "2025-12-08T01:53:14.8300946+05:30",
    "CreatedBy": "sample string 5"
  },
  "ConversionUOM": {
    "UomId": 1,
    "UomName": "sample string 2",
    "UomAbbrevation": "sample string 3",
    "CreatedDate": "2025-12-08T01:53:14.8300946+05:30",
    "CreatedBy": "sample string 5"
  },
  "CreatedDate": "2025-12-08T01:53:14.8300946+05:30",
  "CreatedBy": "sample string 6"
}

application/xml, text/xml

Sample:
<UOMConversion xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Netsoft.Domain.Entities">
  <CreatedBy>sample string 6</CreatedBy>
  <CreatedDate>2025-12-08T01:53:14.8300946+05:30</CreatedDate>
  <ConversionUOM>
    <CreatedBy>sample string 5</CreatedBy>
    <CreatedDate>2025-12-08T01:53:14.8300946+05:30</CreatedDate>
    <UomAbbrevation>sample string 3</UomAbbrevation>
    <UomId>1</UomId>
    <UomName>sample string 2</UomName>
  </ConversionUOM>
  <MultifactorValue>3.1</MultifactorValue>
  <ToConversionUOMId>2</ToConversionUOMId>
  <UOMConversionId>1</UOMConversionId>
  <Uom>
    <CreatedBy>sample string 5</CreatedBy>
    <CreatedDate>2025-12-08T01:53:14.8300946+05:30</CreatedDate>
    <UomAbbrevation>sample string 3</UomAbbrevation>
    <UomId>1</UomId>
    <UomName>sample string 2</UomName>
  </Uom>
  <UomId>4</UomId>
</UOMConversion>

application/x-www-form-urlencoded

Sample:

Sample not available.

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.