POST api/seepsoilcomments/add

Request Information

URI Parameters

None.

Body Parameters

SeepSoilCommentsViewModel
NameDescriptionTypeAdditional information
Id

integer

None.

Title

string

None.

Description

string

None.

KeyValue

integer

None.

SeepSoilScreenId

integer

None.

CommentText

string

None.

CommentAnimationPath

string

None.

CommentVoice

string

None.

IsActive

boolean

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",
  "KeyValue": 4,
  "SeepSoilScreenId": 5,
  "CommentText": "sample string 6",
  "CommentAnimationPath": "sample string 7",
  "CommentVoice": "sample string 8",
  "IsActive": true,
  "CreatedDateTime": "2020-05-29T10:09:14.5227445-07:00",
  "CreatedById": 11,
  "UpdatedDateTime": "2020-05-29T10:09:14.5227445-07:00",
  "UpdatedById": 13,
  "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:
<SeepSoilCommentsViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ICAC.SeepSoil.ViewModels">
  <CreatedById>11</CreatedById>
  <CreatedDateTime>2020-05-29T10:09:14.5227445-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>13</UpdatedById>
  <UpdatedDateTime>2020-05-29T10:09:14.5227445-07:00</UpdatedDateTime>
  <CommentAnimationPath>sample string 7</CommentAnimationPath>
  <CommentText>sample string 6</CommentText>
  <CommentVoice>sample string 8</CommentVoice>
  <Description>sample string 3</Description>
  <Id>1</Id>
  <IsActive>true</IsActive>
  <KeyValue>4</KeyValue>
  <SeepSoilScreenId>5</SeepSoilScreenId>
  <Title>sample string 2</Title>
</SeepSoilCommentsViewModel>

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.