POST api/ApplicationSettings/add

Request Information

URI Parameters

None.

Body Parameters

ApplicationSeetingsViewModel
NameDescriptionTypeAdditional information
Id

integer

None.

PortalKey

string

None.

PortalName

string

None.

SettingsKey

string

None.

SettingsValue

string

None.

ApplicationPortalId

integer

None.

SettingsDescription

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,
  "PortalKey": "sample string 2",
  "PortalName": "sample string 3",
  "SettingsKey": "sample string 4",
  "SettingsValue": "sample string 5",
  "ApplicationPortalId": 6,
  "SettingsDescription": "sample string 7",
  "CreatedDateTime": "2020-02-21T06:02:25.5550289-07:00",
  "CreatedById": 9,
  "UpdatedDateTime": "2020-02-21T06:02:25.5550289-07:00",
  "UpdatedById": 11,
  "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:
<ApplicationSeetingsViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ICAC.SeepSoil.ViewModels">
  <CreatedById>9</CreatedById>
  <CreatedDateTime>2020-02-21T06:02:25.5550289-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>11</UpdatedById>
  <UpdatedDateTime>2020-02-21T06:02:25.5550289-07:00</UpdatedDateTime>
  <ApplicationPortalId>6</ApplicationPortalId>
  <Id>1</Id>
  <PortalKey>sample string 2</PortalKey>
  <PortalName>sample string 3</PortalName>
  <SettingsDescription>sample string 7</SettingsDescription>
  <SettingsKey>sample string 4</SettingsKey>
  <SettingsValue>sample string 5</SettingsValue>
</ApplicationSeetingsViewModel>

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.