POST api/seepsoilscreensmedia/save

Request Information

URI Parameters

None.

Body Parameters

SeepSoilScreensMediaViewModel
NameDescriptionTypeAdditional information
Id

integer

None.

Title

string

None.

Description

string

None.

SeepSoilScreenId

integer

None.

SoilScreenMediaTypeId

integer

None.

FilePath

string

None.

StartDelayinSeconds

string

None.

IsActive

boolean

None.

OrderId

integer

None.

MediaTypeName

string

None.

UserInterfaceId

string

None.

IsHighlightingUI

boolean

None.

ResourceCulture

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,
  "Title": "sample string 2",
  "Description": "sample string 3",
  "SeepSoilScreenId": 4,
  "SoilScreenMediaTypeId": 5,
  "FilePath": "sample string 6",
  "StartDelayinSeconds": "sample string 7",
  "IsActive": true,
  "OrderId": 9,
  "MediaTypeName": "sample string 10",
  "UserInterfaceId": "sample string 11",
  "IsHighlightingUI": true,
  "ResourceCulture": "sample string 13",
  "CreatedDateTime": "2020-09-28T01:32:48.7870956-07:00",
  "CreatedById": 15,
  "UpdatedDateTime": "2020-09-28T01:32:48.7870956-07:00",
  "UpdatedById": 17,
  "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:
<SeepSoilScreensMediaViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ICAC.SeepSoil.ViewModels">
  <CreatedById>15</CreatedById>
  <CreatedDateTime>2020-09-28T01:32:48.7870956-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>17</UpdatedById>
  <UpdatedDateTime>2020-09-28T01:32:48.7870956-07:00</UpdatedDateTime>
  <Description>sample string 3</Description>
  <FilePath>sample string 6</FilePath>
  <Id>1</Id>
  <IsActive>true</IsActive>
  <IsHighlightingUI>true</IsHighlightingUI>
  <MediaTypeName>sample string 10</MediaTypeName>
  <OrderId>9</OrderId>
  <ResourceCulture>sample string 13</ResourceCulture>
  <SeepSoilScreenId>4</SeepSoilScreenId>
  <SoilScreenMediaTypeId>5</SoilScreenMediaTypeId>
  <StartDelayinSeconds>sample string 7</StartDelayinSeconds>
  <Title>sample string 2</Title>
  <UserInterfaceId>sample string 11</UserInterfaceId>
</SeepSoilScreensMediaViewModel>

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.