POST api/InspectionType/Update
Request Information
URI Parameters
None.
Body Parameters
InspectionType| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| InspectionTemplateId | integer |
None. |
|
| Type | string |
None. |
|
| Description | string |
None. |
|
| CreatedBy | integer |
None. |
|
| CreatedDate | date |
None. |
|
| LastModifiedBy | integer |
None. |
|
| LastModifiedDate | date |
None. |
|
| IsWithoutRiskAssessment | boolean |
None. |
|
| IsSpecificCustomer | boolean |
None. |
|
| IsActive | boolean |
None. |
|
| IsHide | boolean |
None. |
|
| AnswerTypeId | integer |
None. |
|
| IsCE | boolean |
None. |
|
| IsUKCA | boolean |
None. |
|
| IsDraftWatermark | boolean |
None. |
|
| IsInspectionSchedule | boolean |
None. |
|
| LoginUserId | integer |
None. |
|
| CustomerCompanys | Collection of string |
None. |
|
| InspectionTemplateName | string |
None. |
|
| CompanyName | string |
None. |
|
| InspectionInternalNo | integer |
None. |
|
| IsanswerTypeIdSwitch | boolean |
None. |
|
| CustomerInspectionTypes | Collection of CustomerInspectionType |
None. |
Request Formats
application/json, text/json
Sample:
{
"CustomerInspectionTypes": [
{
"Id": 1,
"InspectionTypeId": 2,
"CompanyName": "sample string 3",
"CreatedBy": 4,
"CreatedDate": "2025-12-16T01:04:41.6698018+00:00",
"LastModifiedBy": 6,
"LastModifiedDate": "2025-12-16T01:04:41.6698018+00:00",
"DeletedBy": 1,
"DeletedDate": "2025-12-16T01:04:41.6698018+00:00",
"CustomerName": "sample string 8"
},
{
"Id": 1,
"InspectionTypeId": 2,
"CompanyName": "sample string 3",
"CreatedBy": 4,
"CreatedDate": "2025-12-16T01:04:41.6698018+00:00",
"LastModifiedBy": 6,
"LastModifiedDate": "2025-12-16T01:04:41.6698018+00:00",
"DeletedBy": 1,
"DeletedDate": "2025-12-16T01:04:41.6698018+00:00",
"CustomerName": "sample string 8"
}
],
"Id": 1,
"InspectionTemplateId": 2,
"Type": "sample string 3",
"Description": "sample string 4",
"CreatedBy": 5,
"CreatedDate": "2025-12-16T01:04:41.6698018+00:00",
"LastModifiedBy": 7,
"LastModifiedDate": "2025-12-16T01:04:41.6698018+00:00",
"IsWithoutRiskAssessment": true,
"IsSpecificCustomer": true,
"IsActive": true,
"IsHide": true,
"AnswerTypeId": 1,
"IsCE": true,
"IsUKCA": true,
"IsDraftWatermark": true,
"IsInspectionSchedule": true,
"LoginUserId": 17,
"CustomerCompanys": [
"sample string 1",
"sample string 2"
],
"InspectionTemplateName": "sample string 18",
"CompanyName": "sample string 19",
"InspectionInternalNo": 20,
"IsanswerTypeIdSwitch": true
}
application/xml, text/xml
Sample:
<InspectionType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MSCWebAPI.Domain">
<AnswerTypeId>1</AnswerTypeId>
<CompanyName>sample string 19</CompanyName>
<CreatedBy>5</CreatedBy>
<CreatedDate>2025-12-16T01:04:41.6698018+00:00</CreatedDate>
<CustomerCompanys xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>sample string 1</d2p1:string>
<d2p1:string>sample string 2</d2p1:string>
</CustomerCompanys>
<CustomerInspectionTypes>
<CustomerInspectionType>
<CompanyName>sample string 3</CompanyName>
<CreatedBy>4</CreatedBy>
<CreatedDate>2025-12-16T01:04:41.6698018+00:00</CreatedDate>
<CustomerName>sample string 8</CustomerName>
<DeletedBy>1</DeletedBy>
<DeletedDate>2025-12-16T01:04:41.6698018+00:00</DeletedDate>
<Id>1</Id>
<InspectionTypeId>2</InspectionTypeId>
<LastModifiedBy>6</LastModifiedBy>
<LastModifiedDate>2025-12-16T01:04:41.6698018+00:00</LastModifiedDate>
</CustomerInspectionType>
<CustomerInspectionType>
<CompanyName>sample string 3</CompanyName>
<CreatedBy>4</CreatedBy>
<CreatedDate>2025-12-16T01:04:41.6698018+00:00</CreatedDate>
<CustomerName>sample string 8</CustomerName>
<DeletedBy>1</DeletedBy>
<DeletedDate>2025-12-16T01:04:41.6698018+00:00</DeletedDate>
<Id>1</Id>
<InspectionTypeId>2</InspectionTypeId>
<LastModifiedBy>6</LastModifiedBy>
<LastModifiedDate>2025-12-16T01:04:41.6698018+00:00</LastModifiedDate>
</CustomerInspectionType>
</CustomerInspectionTypes>
<Description>sample string 4</Description>
<Id>1</Id>
<InspectionInternalNo>20</InspectionInternalNo>
<InspectionTemplateId>2</InspectionTemplateId>
<InspectionTemplateName>sample string 18</InspectionTemplateName>
<IsActive>true</IsActive>
<IsCE>true</IsCE>
<IsDraftWatermark>true</IsDraftWatermark>
<IsHide>true</IsHide>
<IsInspectionSchedule>true</IsInspectionSchedule>
<IsSpecificCustomer>true</IsSpecificCustomer>
<IsUKCA>true</IsUKCA>
<IsWithoutRiskAssessment>true</IsWithoutRiskAssessment>
<IsanswerTypeIdSwitch>true</IsanswerTypeIdSwitch>
<LastModifiedBy>7</LastModifiedBy>
<LastModifiedDate>2025-12-16T01:04:41.6698018+00:00</LastModifiedDate>
<LoginUserId>17</LoginUserId>
<Type>sample string 3</Type>
</InspectionType>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.