POST Resource/AddResource

Request Information

URI Parameters

None.

Body Parameters

ResourceModel
NameDescriptionTypeAdditional information
ResourceId

string

None.

ResourceName

string

None.

Description

string

None.

CategoryId

string

None.

CategoryName

string

None.

Tags

string

None.

Language

string

None.

Mode

string

None.

Rating

string

None.

Learners

integer

None.

CardImageName

string

None.

CardImagePath

string

None.

DocumentName

string

None.

DocumentPath

string

None.

IsActive

boolean

None.

CreatedBy

string

None.

CreatedDate

string

None.

Type

string

None.

IsLike

string

None.

Viewed

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "ResourceId": "sample string 1",
  "ResourceName": "sample string 2",
  "Description": "sample string 3",
  "CategoryId": "sample string 4",
  "CategoryName": "sample string 5",
  "Tags": "sample string 6",
  "Language": "sample string 7",
  "Mode": "sample string 8",
  "Rating": "sample string 9",
  "Learners": 1,
  "CardImageName": "sample string 10",
  "CardImagePath": "sample string 11",
  "DocumentName": "sample string 12",
  "DocumentPath": "sample string 13",
  "IsActive": true,
  "CreatedBy": "sample string 15",
  "CreatedDate": "sample string 16",
  "Type": "sample string 17",
  "IsLike": "sample string 18",
  "Viewed": true
}

application/xml, text/xml

Sample:
<ResourceModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Solve.Models">
  <CardImageName>sample string 10</CardImageName>
  <CardImagePath>sample string 11</CardImagePath>
  <CategoryId>sample string 4</CategoryId>
  <CategoryName>sample string 5</CategoryName>
  <CreatedBy>sample string 15</CreatedBy>
  <CreatedDate>sample string 16</CreatedDate>
  <Description>sample string 3</Description>
  <DocumentName>sample string 12</DocumentName>
  <DocumentPath>sample string 13</DocumentPath>
  <IsActive>true</IsActive>
  <IsLike>sample string 18</IsLike>
  <Language>sample string 7</Language>
  <Learners>1</Learners>
  <Mode>sample string 8</Mode>
  <Rating>sample string 9</Rating>
  <ResourceId>sample string 1</ResourceId>
  <ResourceName>sample string 2</ResourceName>
  <Tags>sample string 6</Tags>
  <Type>sample string 17</Type>
  <Viewed>true</Viewed>
</ResourceModel>

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.