POST api/CategoryTypes/save

Request Information

URI Parameters

None.

Body Parameters

CategoryTypesViewModel
NameDescriptionTypeAdditional information
Id

integer

None.

Title

string

None.

Description

string

None.

ImagePath

string

None.

VideoPath

string

None.

AnimationPath

string

None.

OrderId

integer

None.

ResourceCulture

string

None.

IsActive

boolean

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,
  "Title": "sample string 2",
  "Description": "sample string 3",
  "ImagePath": "sample string 4",
  "VideoPath": "sample string 5",
  "AnimationPath": "sample string 6",
  "OrderId": 7,
  "ResourceCulture": "sample string 8",
  "IsActive": true,
  "Voices": "sample string 10",
  "CreatedDateTime": "2020-09-28T01:34:11.0112298-07:00",
  "CreatedById": 12,
  "UpdatedDateTime": "2020-09-28T01:34:11.0112298-07:00",
  "UpdatedById": 14,
  "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:
<CategoryTypesViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ICAC.SeepSoil.ViewModels">
  <CreatedById>12</CreatedById>
  <CreatedDateTime>2020-09-28T01:34:11.0112298-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>14</UpdatedById>
  <UpdatedDateTime>2020-09-28T01:34:11.0112298-07:00</UpdatedDateTime>
  <AnimationPath>sample string 6</AnimationPath>
  <Description>sample string 3</Description>
  <Id>1</Id>
  <ImagePath>sample string 4</ImagePath>
  <IsActive>true</IsActive>
  <OrderId>7</OrderId>
  <ResourceCulture>sample string 8</ResourceCulture>
  <Title>sample string 2</Title>
  <VideoPath>sample string 5</VideoPath>
  <Voices>sample string 10</Voices>
</CategoryTypesViewModel>

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.