PUT api/InspectionTemplates
Request Information
URI Parameters
None.
Body Parameters
InspectionTemplatePutModelName | Description | Type | Additional information |
---|---|---|---|
AccountId | integer |
None. |
|
Scope | string |
None. |
|
IsShowSection | boolean |
None. |
|
TegSection | integer |
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. |
|
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, "TegSection": 4, "TegSectionTitle": "sample string 5", "TegSectionOrder": 6, "TegId": 7, "TegOrder": 8, "EvalId": 9, "Title": "sample string 10", "Description": "sample string 11", "Tags": "sample string 12", "SubIndustry": [ 1, 2 ], "QualityFocus": [ 1, 2 ], "LocationTypes": [ 1, 2 ], "GlobalInspectionTemplateId": 13, "IsSignatureMandatory": 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:45:47.5200107+00:00", "ModifiedBy": "sample string 22", "ModifiedTimestamp": "2024-11-21T08:45:47.5200107+00:00", "DataStateFlag": "sample string 23" }
application/xml, text/xml
Sample:
<InspectionTemplatePutModel 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:45:47.5200107Z</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:45:47.5200107Z</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 11</Description> <EvalId>9</EvalId> <GlobalInspectionTemplateId>13</GlobalInspectionTemplateId> <IsDataOverwriteByEvaluator>true</IsDataOverwriteByEvaluator> <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 12</Tags> <TegId>7</TegId> <TegOrder>8</TegOrder> <TegSection>4</TegSection> <TegSectionOrder>6</TegSectionOrder> <TegSectionTitle>sample string 5</TegSectionTitle> <Title>sample string 10</Title> </InspectionTemplatePutModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
stringResponse 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>