POST api/InspectionType/UpdateIsDraftWatermark

Request Information

URI Parameters

None.

Body Parameters

InspectionType
NameDescriptionTypeAdditional 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.

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-08-29T20:25:39.0529375+00:00",
      "LastModifiedBy": 6,
      "LastModifiedDate": "2025-08-29T20:25:39.0529375+00:00",
      "DeletedBy": 1,
      "DeletedDate": "2025-08-29T20:25:39.0529375+00:00",
      "CustomerName": "sample string 8"
    },
    {
      "Id": 1,
      "InspectionTypeId": 2,
      "CompanyName": "sample string 3",
      "CreatedBy": 4,
      "CreatedDate": "2025-08-29T20:25:39.0529375+00:00",
      "LastModifiedBy": 6,
      "LastModifiedDate": "2025-08-29T20:25:39.0529375+00:00",
      "DeletedBy": 1,
      "DeletedDate": "2025-08-29T20:25:39.0529375+00:00",
      "CustomerName": "sample string 8"
    }
  ],
  "Id": 1,
  "InspectionTemplateId": 2,
  "Type": "sample string 3",
  "Description": "sample string 4",
  "CreatedBy": 5,
  "CreatedDate": "2025-08-29T20:25:39.0529375+00:00",
  "LastModifiedBy": 7,
  "LastModifiedDate": "2025-08-29T20:25:39.0529375+00:00",
  "IsWithoutRiskAssessment": true,
  "IsSpecificCustomer": true,
  "IsActive": true,
  "IsHide": true,
  "AnswerTypeId": 1,
  "IsCE": true,
  "IsUKCA": true,
  "IsDraftWatermark": true,
  "LoginUserId": 16,
  "CustomerCompanys": [
    "sample string 1",
    "sample string 2"
  ],
  "InspectionTemplateName": "sample string 17",
  "CompanyName": "sample string 18",
  "InspectionInternalNo": 19,
  "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 18</CompanyName>
  <CreatedBy>5</CreatedBy>
  <CreatedDate>2025-08-29T20:25:39.0529375+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-08-29T20:25:39.0529375+00:00</CreatedDate>
      <CustomerName>sample string 8</CustomerName>
      <DeletedBy>1</DeletedBy>
      <DeletedDate>2025-08-29T20:25:39.0529375+00:00</DeletedDate>
      <Id>1</Id>
      <InspectionTypeId>2</InspectionTypeId>
      <LastModifiedBy>6</LastModifiedBy>
      <LastModifiedDate>2025-08-29T20:25:39.0529375+00:00</LastModifiedDate>
    </CustomerInspectionType>
    <CustomerInspectionType>
      <CompanyName>sample string 3</CompanyName>
      <CreatedBy>4</CreatedBy>
      <CreatedDate>2025-08-29T20:25:39.0529375+00:00</CreatedDate>
      <CustomerName>sample string 8</CustomerName>
      <DeletedBy>1</DeletedBy>
      <DeletedDate>2025-08-29T20:25:39.0529375+00:00</DeletedDate>
      <Id>1</Id>
      <InspectionTypeId>2</InspectionTypeId>
      <LastModifiedBy>6</LastModifiedBy>
      <LastModifiedDate>2025-08-29T20:25:39.0529375+00:00</LastModifiedDate>
    </CustomerInspectionType>
  </CustomerInspectionTypes>
  <Description>sample string 4</Description>
  <Id>1</Id>
  <InspectionInternalNo>19</InspectionInternalNo>
  <InspectionTemplateId>2</InspectionTemplateId>
  <InspectionTemplateName>sample string 17</InspectionTemplateName>
  <IsActive>true</IsActive>
  <IsCE>true</IsCE>
  <IsDraftWatermark>true</IsDraftWatermark>
  <IsHide>true</IsHide>
  <IsSpecificCustomer>true</IsSpecificCustomer>
  <IsUKCA>true</IsUKCA>
  <IsWithoutRiskAssessment>true</IsWithoutRiskAssessment>
  <IsanswerTypeIdSwitch>true</IsanswerTypeIdSwitch>
  <LastModifiedBy>7</LastModifiedBy>
  <LastModifiedDate>2025-08-29T20:25:39.0529375+00:00</LastModifiedDate>
  <LoginUserId>16</LoginUserId>
  <Type>sample string 3</Type>
</InspectionType>

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.