POST api/HeatUnitPlantImages/save

Request Information

URI Parameters

None.

Body Parameters

HeatUnitImagesDD180ViewModel
NameDescriptionTypeAdditional information
Id

integer

None.

MinDays

integer

None.

MaxDays

integer

None.

DD60Values

string

None.

ImagePath

string

None.

voices

string

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,
  "MinDays": 2,
  "MaxDays": 3,
  "DD60Values": "sample string 4",
  "ImagePath": "sample string 5",
  "voices": "sample string 6",
  "CreatedDateTime": "2020-04-09T08:07:33.7190825-07:00",
  "CreatedById": 8,
  "UpdatedDateTime": "2020-04-09T08:07:33.7190825-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:
<HeatUnitImagesDD180ViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ICAC.SeepSoil.ViewModels">
  <CreatedById>8</CreatedById>
  <CreatedDateTime>2020-04-09T08:07:33.7190825-07:00</CreatedDateTime>
  <ErrorMessage>
    <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>10</UpdatedById>
  <UpdatedDateTime>2020-04-09T08:07:33.7190825-07:00</UpdatedDateTime>
  <DD60Values>sample string 4</DD60Values>
  <Id>1</Id>
  <ImagePath>sample string 5</ImagePath>
  <MaxDays>3</MaxDays>
  <MinDays>2</MinDays>
  <voices>sample string 6</voices>
</HeatUnitImagesDD180ViewModel>

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.