POST api/HeatUnitImages/save

Request Information

URI Parameters

None.

Body Parameters

HeatUnitImagesViewModel
NameDescriptionTypeAdditional information
Id

integer

None.

Title

string

None.

Description

string

None.

MinValue

integer

None.

ImagePath

string

None.

MaxValue

integer

None.

CreatedDateTime

date

None.

CreatedById

integer

None.

UpdatedDateTime

date

None.

UpdatedById

integer

None.

ErrorMessage

Collection of ErrorModel

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Title": "sample string 2",
  "Description": "sample string 3",
  "MinValue": 4,
  "ImagePath": "sample string 5",
  "MaxValue": 6,
  "CreatedDateTime": "2020-02-21T05:22:06.292138-07:00",
  "CreatedById": 8,
  "UpdatedDateTime": "2020-02-21T05:22:06.292138-07:00",
  "UpdatedById": 10,
  "ErrorMessage": [
    {
      "ErrorCode": "sample string 1",
      "Status": 0,
      "Message": "sample string 2"
    },
    {
      "ErrorCode": "sample string 1",
      "Status": 0,
      "Message": "sample string 2"
    }
  ]
}

application/xml, text/xml

Sample:
<HeatUnitImagesViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ICAC.SeepSoil.Models">
  <CreatedById xmlns="http://schemas.datacontract.org/2004/07/ICAC.SeepSoil.ViewModels">8</CreatedById>
  <CreatedDateTime xmlns="http://schemas.datacontract.org/2004/07/ICAC.SeepSoil.ViewModels">2020-02-21T05:22:06.292138-07:00</CreatedDateTime>
  <ErrorMessage xmlns="http://schemas.datacontract.org/2004/07/ICAC.SeepSoil.ViewModels">
    <ErrorModel>
      <ErrorCode>sample string 1</ErrorCode>
      <Message>sample string 2</Message>
      <Status>FAILED</Status>
    </ErrorModel>
    <ErrorModel>
      <ErrorCode>sample string 1</ErrorCode>
      <Message>sample string 2</Message>
      <Status>FAILED</Status>
    </ErrorModel>
  </ErrorMessage>
  <UpdatedById xmlns="http://schemas.datacontract.org/2004/07/ICAC.SeepSoil.ViewModels">10</UpdatedById>
  <UpdatedDateTime xmlns="http://schemas.datacontract.org/2004/07/ICAC.SeepSoil.ViewModels">2020-02-21T05:22:06.292138-07:00</UpdatedDateTime>
  <Description>sample string 3</Description>
  <Id>1</Id>
  <ImagePath>sample string 5</ImagePath>
  <MaxValue>6</MaxValue>
  <MinValue>4</MinValue>
  <Title>sample string 2</Title>
</HeatUnitImagesViewModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.