POST api/InspectionTemplate

Request Information

URI Parameters

None.

Body Parameters

InspectionTemplatePostModel
NameDescriptionTypeAdditional information
AccountId

integer

None.

Scope

string

None.

IsShowSection

boolean

None.

TegSectionTitle

string

None.

TegSectionOrder

integer

None.

TegId

integer

None.

TegOrder

integer

None.

EvalId

integer

None.

Title

string

None.

Description

string

None.

Tags

string

None.

SubIndustry

Collection of integer

None.

QualityFocus

Collection of integer

None.

LocationTypes

Collection of integer

None.

GlobalInspectionTemplateId

integer

None.

IsSignatureMandatory

boolean

None.

IsMandatory

boolean

None.

IsPassAllEnable

boolean

None.

IsDataOverwriteByEvaluator

boolean

None.

ROCalculationFormula

string

None.

RONumericInputData

integer

None.

Id

integer

None.

Status

string

None.

CreatedBy

string

None.

CreateTimestamp

date

None.

ModifiedBy

string

None.

ModifiedTimestamp

date

None.

DataStateFlag

string

None.

Request Formats

application/json, text/json

Sample:
{
  "AccountId": 1,
  "Scope": "sample string 2",
  "IsShowSection": true,
  "TegSectionTitle": "sample string 4",
  "TegSectionOrder": 5,
  "TegId": 6,
  "TegOrder": 7,
  "EvalId": 8,
  "Title": "sample string 9",
  "Description": "sample string 10",
  "Tags": "sample string 11",
  "SubIndustry": [
    1,
    2
  ],
  "QualityFocus": [
    1,
    2
  ],
  "LocationTypes": [
    1,
    2
  ],
  "GlobalInspectionTemplateId": 12,
  "IsSignatureMandatory": true,
  "IsMandatory": true,
  "IsPassAllEnable": true,
  "IsDataOverwriteByEvaluator": true,
  "ROCalculationFormula": "sample string 17",
  "RONumericInputData": 1,
  "Id": 18,
  "Status": "sample string 19",
  "CreatedBy": "sample string 20",
  "CreateTimestamp": "2024-11-21T08:57:40.9878138+00:00",
  "ModifiedBy": "sample string 22",
  "ModifiedTimestamp": "2024-11-21T08:57:40.9878138+00:00",
  "DataStateFlag": "sample string 23"
}

application/xml, text/xml

Sample:
<InspectionTemplatePostModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Walsh.Service.Models.InspectionsTemplates">
  <CreateTimestamp xmlns:d2p1="http://schemas.datacontract.org/2004/07/System" xmlns="http://schemas.datacontract.org/2004/07/Walsh.Service.Models">
    <d2p1:DateTime>2024-11-21T08:57:40.9878138Z</d2p1:DateTime>
    <d2p1:OffsetMinutes>0</d2p1:OffsetMinutes>
  </CreateTimestamp>
  <CreatedBy xmlns="http://schemas.datacontract.org/2004/07/Walsh.Service.Models">sample string 20</CreatedBy>
  <DataStateFlag xmlns="http://schemas.datacontract.org/2004/07/Walsh.Service.Models">sample string 23</DataStateFlag>
  <Id xmlns="http://schemas.datacontract.org/2004/07/Walsh.Service.Models">18</Id>
  <ModifiedBy xmlns="http://schemas.datacontract.org/2004/07/Walsh.Service.Models">sample string 22</ModifiedBy>
  <ModifiedTimestamp xmlns:d2p1="http://schemas.datacontract.org/2004/07/System" xmlns="http://schemas.datacontract.org/2004/07/Walsh.Service.Models">
    <d2p1:DateTime>2024-11-21T08:57:40.9878138Z</d2p1:DateTime>
    <d2p1:OffsetMinutes>0</d2p1:OffsetMinutes>
  </ModifiedTimestamp>
  <Status xmlns="http://schemas.datacontract.org/2004/07/Walsh.Service.Models">sample string 19</Status>
  <AccountId>1</AccountId>
  <Description>sample string 10</Description>
  <EvalId>8</EvalId>
  <GlobalInspectionTemplateId>12</GlobalInspectionTemplateId>
  <IsDataOverwriteByEvaluator>true</IsDataOverwriteByEvaluator>
  <IsMandatory>true</IsMandatory>
  <IsPassAllEnable>true</IsPassAllEnable>
  <IsShowSection>true</IsShowSection>
  <IsSignatureMandatory>true</IsSignatureMandatory>
  <LocationTypes xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </LocationTypes>
  <QualityFocus xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </QualityFocus>
  <ROCalculationFormula>sample string 17</ROCalculationFormula>
  <RONumericInputData>1</RONumericInputData>
  <Scope>sample string 2</Scope>
  <SubIndustry xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </SubIndustry>
  <Tags>sample string 11</Tags>
  <TegId>6</TegId>
  <TegOrder>7</TegOrder>
  <TegSectionOrder>5</TegSectionOrder>
  <TegSectionTitle>sample string 4</TegSectionTitle>
  <Title>sample string 9</Title>
</InspectionTemplatePostModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

string

Response Formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>