POST api/SaiSetupTrainingMaterial/IsTrainingMaterialExists

Request Information

URI Parameters

None.

Body Parameters

SaiSetupTrainingMaterial
NameDescriptionTypeAdditional information
TrainingMaterialId

string

None.

Title

string

None.

CategoryId

string

None.

CategoryName

string

None.

Description

string

None.

MaterialUrl

string

None.

ContentType

string

None.

ShowToTech

boolean

None.

IsActive

boolean

None.

FileName

string

None.

IsExternal

boolean

None.

AccountId

integer

None.

CompanyId

string

None.

CreatedBy

string

None.

CreatedOn

date

None.

Request Formats

application/json, text/json

Sample:
{
  "TrainingMaterialId": "sample string 1",
  "Title": "sample string 2",
  "CategoryId": "sample string 3",
  "CategoryName": "sample string 4",
  "Description": "sample string 5",
  "MaterialUrl": "sample string 6",
  "ContentType": "sample string 7",
  "ShowToTech": true,
  "IsActive": true,
  "FileName": "sample string 10",
  "IsExternal": true,
  "AccountId": 12,
  "CompanyId": "sample string 13",
  "CreatedBy": "sample string 14",
  "CreatedOn": "2025-12-16T20:34:51.4995003+00:00"
}

application/xml, text/xml

Sample:
<SaiSetupTrainingMaterial xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO.AccountSpecific.Setup">
  <AccountId xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO">12</AccountId>
  <CompanyId xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO">sample string 13</CompanyId>
  <CreatedBy xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO">sample string 14</CreatedBy>
  <CreatedOn xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO">2025-12-16T20:34:51.4995003+00:00</CreatedOn>
  <CategoryId>sample string 3</CategoryId>
  <CategoryName>sample string 4</CategoryName>
  <ContentType>sample string 7</ContentType>
  <Description>sample string 5</Description>
  <FileName>sample string 10</FileName>
  <IsActive>true</IsActive>
  <IsExternal>true</IsExternal>
  <MaterialUrl>sample string 6</MaterialUrl>
  <ShowToTech>true</ShowToTech>
  <Title>sample string 2</Title>
  <TrainingMaterialId>sample string 1</TrainingMaterialId>
</SaiSetupTrainingMaterial>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

boolean

Response Formats

application/json, text/json

Sample:
true

application/xml, text/xml

Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>