POST api/Regulation

Request Information

URI Parameters

None.

Body Parameters

Regulation
NameDescriptionTypeAdditional information
Id

integer

None.

Name

string

None.

RegulationType

string

None.

InspectionTypeId

integer

None.

Sequence

integer

None.

IsTitle

boolean

None.

IsHide

boolean

None.

CreatedBy

integer

None.

CreatedDate

date

None.

LastModifiedBy

integer

None.

LastModifiedDate

date

None.

DeletedBy

integer

None.

DeletedDate

date

None.

Questions

Collection of RegulationQuestion

None.

IsAnswered

boolean

None.

MultipleTitleCountOption

integer

None.

RegulationTitles

Collection of RegulationTitle

None.

InspectionInternalNo

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Name": "sample string 2",
  "RegulationType": "sample string 3",
  "InspectionTypeId": 4,
  "Sequence": 5,
  "IsTitle": true,
  "IsHide": true,
  "CreatedBy": 8,
  "CreatedDate": "2025-08-29T20:22:20.4520125+00:00",
  "LastModifiedBy": 10,
  "LastModifiedDate": "2025-08-29T20:22:20.4520125+00:00",
  "DeletedBy": 1,
  "DeletedDate": "2025-08-29T20:22:20.4520125+00:00",
  "Questions": [
    {
      "Id": 1,
      "QuestionNumber": "sample string 2",
      "Question": "sample string 3",
      "Sequence": 4,
      "RegulationId": 5,
      "IsHide": true,
      "CreatedBy": 7,
      "CreatedDate": "2025-08-29T20:22:20.4520125+00:00",
      "LastModifiedBy": 9,
      "LastModifiedDate": "2025-08-29T20:22:20.4520125+00:00",
      "DeletedBy": 1,
      "DeletedDate": "2025-08-29T20:22:20.4520125+00:00",
      "QuestionHelp": "sample string 11",
      "YesComment": "sample string 12",
      "NoComment": "sample string 13",
      "NAComment": "sample string 14",
      "CheckComment": "sample string 15",
      "IsAnswered": true,
      "RegulationSequence": 17,
      "InspectionTypeId": 18,
      "InspectionTypeCreatedBy": 19,
      "RegulationAnswer": {
        "Id": 1,
        "RegulationQuestionId": 2,
        "Answer": "sample string 3",
        "InspectionId": 4,
        "Comment": "sample string 5",
        "CreatedBy": 6,
        "CreatedDate": "2025-08-29T20:22:20.4520125+00:00",
        "LastModifiedBy": 8,
        "LastModifiedDate": "2025-08-29T20:22:20.4520125+00:00",
        "DeletedBy": 1,
        "DeletedDate": "2025-08-29T20:22:20.4520125+00:00",
        "LocalId": 10,
        "InspectionLocalId": 11,
        "Sequence": 12,
        "RegulationId": 13,
        "LoginUserId": 14,
        "LoginUserRoleId": 15,
        "LoginUserCustomerType": 1,
        "InspectionByInspectorId": 16,
        "InspectionByCustomerId": 17,
        "InspectionIsCompleted": true,
        "RegulationQuestionIds": [
          1,
          2
        ],
        "RegulationQuestion_QuestionHelp": "sample string 18",
        "RegulationQuestion_YesComment": "sample string 19",
        "RegulationQuestion_NoComment": "sample string 20",
        "RegulationQuestion_NAComment": "sample string 21",
        "RegulationQuestion_CheckComment": "sample string 22",
        "RegulationQuestionPhotos": [
          {
            "Id": 1,
            "InspectionId": 2,
            "RegulationQuestionId": 3,
            "ImagePath": "sample string 4",
            "CreatedBy": 5,
            "CreatedDate": "2025-08-29T20:22:20.4520125+00:00",
            "LastModifiedBy": 7,
            "LastModifiedDate": "2025-08-29T20:22:20.4520125+00:00",
            "DeletedBy": 1,
            "DeletedDate": "2025-08-29T20:22:20.4520125+00:00",
            "ImageBase64": "sample string 9",
            "Images": [
              "sample string 1",
              "sample string 2"
            ],
            "LocalId": 10,
            "InspectionLocalId": 11,
            "TempRegulationQuestionPhotos": [
              {
                "TempId": 1,
                "TempImagePath": "sample string 2",
                "TempImagePathStr": "sample string 3"
              },
              {
                "TempId": 1,
                "TempImagePath": "sample string 2",
                "TempImagePathStr": "sample string 3"
              }
            ]
          },
          {
            "Id": 1,
            "InspectionId": 2,
            "RegulationQuestionId": 3,
            "ImagePath": "sample string 4",
            "CreatedBy": 5,
            "CreatedDate": "2025-08-29T20:22:20.4520125+00:00",
            "LastModifiedBy": 7,
            "LastModifiedDate": "2025-08-29T20:22:20.4520125+00:00",
            "DeletedBy": 1,
            "DeletedDate": "2025-08-29T20:22:20.4520125+00:00",
            "ImageBase64": "sample string 9",
            "Images": [
              "sample string 1",
              "sample string 2"
            ],
            "LocalId": 10,
            "InspectionLocalId": 11,
            "TempRegulationQuestionPhotos": [
              {
                "TempId": 1,
                "TempImagePath": "sample string 2",
                "TempImagePathStr": "sample string 3"
              },
              {
                "TempId": 1,
                "TempImagePath": "sample string 2",
                "TempImagePathStr": "sample string 3"
              }
            ]
          }
        ]
      },
      "RegulationQuestionPhotos": [
        {
          "Id": 1,
          "InspectionId": 2,
          "RegulationQuestionId": 3,
          "ImagePath": "sample string 4",
          "CreatedBy": 5,
          "CreatedDate": "2025-08-29T20:22:20.4520125+00:00",
          "LastModifiedBy": 7,
          "LastModifiedDate": "2025-08-29T20:22:20.4520125+00:00",
          "DeletedBy": 1,
          "DeletedDate": "2025-08-29T20:22:20.4520125+00:00",
          "ImageBase64": "sample string 9",
          "Images": [
            "sample string 1",
            "sample string 2"
          ],
          "LocalId": 10,
          "InspectionLocalId": 11,
          "TempRegulationQuestionPhotos": [
            {
              "TempId": 1,
              "TempImagePath": "sample string 2",
              "TempImagePathStr": "sample string 3"
            },
            {
              "TempId": 1,
              "TempImagePath": "sample string 2",
              "TempImagePathStr": "sample string 3"
            }
          ]
        },
        {
          "Id": 1,
          "InspectionId": 2,
          "RegulationQuestionId": 3,
          "ImagePath": "sample string 4",
          "CreatedBy": 5,
          "CreatedDate": "2025-08-29T20:22:20.4520125+00:00",
          "LastModifiedBy": 7,
          "LastModifiedDate": "2025-08-29T20:22:20.4520125+00:00",
          "DeletedBy": 1,
          "DeletedDate": "2025-08-29T20:22:20.4520125+00:00",
          "ImageBase64": "sample string 9",
          "Images": [
            "sample string 1",
            "sample string 2"
          ],
          "LocalId": 10,
          "InspectionLocalId": 11,
          "TempRegulationQuestionPhotos": [
            {
              "TempId": 1,
              "TempImagePath": "sample string 2",
              "TempImagePathStr": "sample string 3"
            },
            {
              "TempId": 1,
              "TempImagePath": "sample string 2",
              "TempImagePathStr": "sample string 3"
            }
          ]
        }
      ],
      "Inspection_InternalNo": 20
    },
    {
      "Id": 1,
      "QuestionNumber": "sample string 2",
      "Question": "sample string 3",
      "Sequence": 4,
      "RegulationId": 5,
      "IsHide": true,
      "CreatedBy": 7,
      "CreatedDate": "2025-08-29T20:22:20.4520125+00:00",
      "LastModifiedBy": 9,
      "LastModifiedDate": "2025-08-29T20:22:20.4520125+00:00",
      "DeletedBy": 1,
      "DeletedDate": "2025-08-29T20:22:20.4520125+00:00",
      "QuestionHelp": "sample string 11",
      "YesComment": "sample string 12",
      "NoComment": "sample string 13",
      "NAComment": "sample string 14",
      "CheckComment": "sample string 15",
      "IsAnswered": true,
      "RegulationSequence": 17,
      "InspectionTypeId": 18,
      "InspectionTypeCreatedBy": 19,
      "RegulationAnswer": {
        "Id": 1,
        "RegulationQuestionId": 2,
        "Answer": "sample string 3",
        "InspectionId": 4,
        "Comment": "sample string 5",
        "CreatedBy": 6,
        "CreatedDate": "2025-08-29T20:22:20.4520125+00:00",
        "LastModifiedBy": 8,
        "LastModifiedDate": "2025-08-29T20:22:20.4520125+00:00",
        "DeletedBy": 1,
        "DeletedDate": "2025-08-29T20:22:20.4520125+00:00",
        "LocalId": 10,
        "InspectionLocalId": 11,
        "Sequence": 12,
        "RegulationId": 13,
        "LoginUserId": 14,
        "LoginUserRoleId": 15,
        "LoginUserCustomerType": 1,
        "InspectionByInspectorId": 16,
        "InspectionByCustomerId": 17,
        "InspectionIsCompleted": true,
        "RegulationQuestionIds": [
          1,
          2
        ],
        "RegulationQuestion_QuestionHelp": "sample string 18",
        "RegulationQuestion_YesComment": "sample string 19",
        "RegulationQuestion_NoComment": "sample string 20",
        "RegulationQuestion_NAComment": "sample string 21",
        "RegulationQuestion_CheckComment": "sample string 22",
        "RegulationQuestionPhotos": [
          {
            "Id": 1,
            "InspectionId": 2,
            "RegulationQuestionId": 3,
            "ImagePath": "sample string 4",
            "CreatedBy": 5,
            "CreatedDate": "2025-08-29T20:22:20.4520125+00:00",
            "LastModifiedBy": 7,
            "LastModifiedDate": "2025-08-29T20:22:20.4520125+00:00",
            "DeletedBy": 1,
            "DeletedDate": "2025-08-29T20:22:20.4520125+00:00",
            "ImageBase64": "sample string 9",
            "Images": [
              "sample string 1",
              "sample string 2"
            ],
            "LocalId": 10,
            "InspectionLocalId": 11,
            "TempRegulationQuestionPhotos": [
              {
                "TempId": 1,
                "TempImagePath": "sample string 2",
                "TempImagePathStr": "sample string 3"
              },
              {
                "TempId": 1,
                "TempImagePath": "sample string 2",
                "TempImagePathStr": "sample string 3"
              }
            ]
          },
          {
            "Id": 1,
            "InspectionId": 2,
            "RegulationQuestionId": 3,
            "ImagePath": "sample string 4",
            "CreatedBy": 5,
            "CreatedDate": "2025-08-29T20:22:20.4520125+00:00",
            "LastModifiedBy": 7,
            "LastModifiedDate": "2025-08-29T20:22:20.4520125+00:00",
            "DeletedBy": 1,
            "DeletedDate": "2025-08-29T20:22:20.4520125+00:00",
            "ImageBase64": "sample string 9",
            "Images": [
              "sample string 1",
              "sample string 2"
            ],
            "LocalId": 10,
            "InspectionLocalId": 11,
            "TempRegulationQuestionPhotos": [
              {
                "TempId": 1,
                "TempImagePath": "sample string 2",
                "TempImagePathStr": "sample string 3"
              },
              {
                "TempId": 1,
                "TempImagePath": "sample string 2",
                "TempImagePathStr": "sample string 3"
              }
            ]
          }
        ]
      },
      "RegulationQuestionPhotos": [
        {
          "Id": 1,
          "InspectionId": 2,
          "RegulationQuestionId": 3,
          "ImagePath": "sample string 4",
          "CreatedBy": 5,
          "CreatedDate": "2025-08-29T20:22:20.4520125+00:00",
          "LastModifiedBy": 7,
          "LastModifiedDate": "2025-08-29T20:22:20.4520125+00:00",
          "DeletedBy": 1,
          "DeletedDate": "2025-08-29T20:22:20.4520125+00:00",
          "ImageBase64": "sample string 9",
          "Images": [
            "sample string 1",
            "sample string 2"
          ],
          "LocalId": 10,
          "InspectionLocalId": 11,
          "TempRegulationQuestionPhotos": [
            {
              "TempId": 1,
              "TempImagePath": "sample string 2",
              "TempImagePathStr": "sample string 3"
            },
            {
              "TempId": 1,
              "TempImagePath": "sample string 2",
              "TempImagePathStr": "sample string 3"
            }
          ]
        },
        {
          "Id": 1,
          "InspectionId": 2,
          "RegulationQuestionId": 3,
          "ImagePath": "sample string 4",
          "CreatedBy": 5,
          "CreatedDate": "2025-08-29T20:22:20.4520125+00:00",
          "LastModifiedBy": 7,
          "LastModifiedDate": "2025-08-29T20:22:20.4520125+00:00",
          "DeletedBy": 1,
          "DeletedDate": "2025-08-29T20:22:20.4520125+00:00",
          "ImageBase64": "sample string 9",
          "Images": [
            "sample string 1",
            "sample string 2"
          ],
          "LocalId": 10,
          "InspectionLocalId": 11,
          "TempRegulationQuestionPhotos": [
            {
              "TempId": 1,
              "TempImagePath": "sample string 2",
              "TempImagePathStr": "sample string 3"
            },
            {
              "TempId": 1,
              "TempImagePath": "sample string 2",
              "TempImagePathStr": "sample string 3"
            }
          ]
        }
      ],
      "Inspection_InternalNo": 20
    }
  ],
  "IsAnswered": true,
  "MultipleTitleCountOption": 13,
  "RegulationTitles": [
    {
      "Id": 1,
      "RegulationId": 2,
      "Title": "sample string 3",
      "CreatedBy": 4,
      "CreatedDate": "2025-08-29T20:22:20.4520125+00:00",
      "LastModifiedBy": 6,
      "LastModifiedDate": "2025-08-29T20:22:20.4520125+00:00",
      "DeletedBy": 1,
      "DeletedDate": "2025-08-29T20:22:20.4520125+00:00"
    },
    {
      "Id": 1,
      "RegulationId": 2,
      "Title": "sample string 3",
      "CreatedBy": 4,
      "CreatedDate": "2025-08-29T20:22:20.4520125+00:00",
      "LastModifiedBy": 6,
      "LastModifiedDate": "2025-08-29T20:22:20.4520125+00:00",
      "DeletedBy": 1,
      "DeletedDate": "2025-08-29T20:22:20.4520125+00:00"
    }
  ],
  "InspectionInternalNo": 14
}

application/xml, text/xml

Sample:
<Regulation xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MSCWebAPI.Domain">
  <CreatedBy>8</CreatedBy>
  <CreatedDate>2025-08-29T20:22:20.4520125+00:00</CreatedDate>
  <DeletedBy>1</DeletedBy>
  <DeletedDate>2025-08-29T20:22:20.4520125+00:00</DeletedDate>
  <Id>1</Id>
  <InspectionInternalNo>14</InspectionInternalNo>
  <InspectionTypeId>4</InspectionTypeId>
  <IsAnswered>true</IsAnswered>
  <IsHide>true</IsHide>
  <IsTitle>true</IsTitle>
  <LastModifiedBy>10</LastModifiedBy>
  <LastModifiedDate>2025-08-29T20:22:20.4520125+00:00</LastModifiedDate>
  <MultipleTitleCountOption>13</MultipleTitleCountOption>
  <Name>sample string 2</Name>
  <Questions>
    <RegulationQuestion>
      <CheckComment>sample string 15</CheckComment>
      <CreatedBy>7</CreatedBy>
      <CreatedDate>2025-08-29T20:22:20.4520125+00:00</CreatedDate>
      <DeletedBy>1</DeletedBy>
      <DeletedDate>2025-08-29T20:22:20.4520125+00:00</DeletedDate>
      <Id>1</Id>
      <InspectionTypeCreatedBy>19</InspectionTypeCreatedBy>
      <InspectionTypeId>18</InspectionTypeId>
      <Inspection_InternalNo>20</Inspection_InternalNo>
      <IsAnswered>true</IsAnswered>
      <IsHide>true</IsHide>
      <LastModifiedBy>9</LastModifiedBy>
      <LastModifiedDate>2025-08-29T20:22:20.4520125+00:00</LastModifiedDate>
      <NAComment>sample string 14</NAComment>
      <NoComment>sample string 13</NoComment>
      <Question>sample string 3</Question>
      <QuestionHelp>sample string 11</QuestionHelp>
      <QuestionNumber>sample string 2</QuestionNumber>
      <RegulationAnswer>
        <Answer>sample string 3</Answer>
        <Comment>sample string 5</Comment>
        <CreatedBy>6</CreatedBy>
        <CreatedDate>2025-08-29T20:22:20.4520125+00:00</CreatedDate>
        <DeletedBy>1</DeletedBy>
        <DeletedDate>2025-08-29T20:22:20.4520125+00:00</DeletedDate>
        <Id>1</Id>
        <InspectionByCustomerId>17</InspectionByCustomerId>
        <InspectionByInspectorId>16</InspectionByInspectorId>
        <InspectionId>4</InspectionId>
        <InspectionIsCompleted>true</InspectionIsCompleted>
        <InspectionLocalId>11</InspectionLocalId>
        <LastModifiedBy>8</LastModifiedBy>
        <LastModifiedDate>2025-08-29T20:22:20.4520125+00:00</LastModifiedDate>
        <LocalId>10</LocalId>
        <LoginUserCustomerType>1</LoginUserCustomerType>
        <LoginUserId>14</LoginUserId>
        <LoginUserRoleId>15</LoginUserRoleId>
        <RegulationId>13</RegulationId>
        <RegulationQuestionId>2</RegulationQuestionId>
        <RegulationQuestionIds xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:int>1</d5p1:int>
          <d5p1:int>2</d5p1:int>
        </RegulationQuestionIds>
        <RegulationQuestionPhotos>
          <RegulationQuestionPhoto>
            <CreatedBy>5</CreatedBy>
            <CreatedDate>2025-08-29T20:22:20.4520125+00:00</CreatedDate>
            <DeletedBy>1</DeletedBy>
            <DeletedDate>2025-08-29T20:22:20.4520125+00:00</DeletedDate>
            <Id>1</Id>
            <ImageBase64>sample string 9</ImageBase64>
            <ImagePath>sample string 4</ImagePath>
            <Images xmlns:d7p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
              <d7p1:string>sample string 1</d7p1:string>
              <d7p1:string>sample string 2</d7p1:string>
            </Images>
            <InspectionId>2</InspectionId>
            <InspectionLocalId>11</InspectionLocalId>
            <LastModifiedBy>7</LastModifiedBy>
            <LastModifiedDate>2025-08-29T20:22:20.4520125+00:00</LastModifiedDate>
            <LocalId>10</LocalId>
            <RegulationQuestionId>3</RegulationQuestionId>
            <TempRegulationQuestionPhotos>
              <TempRegulationQuestionPhoto>
                <TempId>1</TempId>
                <TempImagePath>sample string 2</TempImagePath>
                <TempImagePathStr>sample string 3</TempImagePathStr>
              </TempRegulationQuestionPhoto>
              <TempRegulationQuestionPhoto>
                <TempId>1</TempId>
                <TempImagePath>sample string 2</TempImagePath>
                <TempImagePathStr>sample string 3</TempImagePathStr>
              </TempRegulationQuestionPhoto>
            </TempRegulationQuestionPhotos>
          </RegulationQuestionPhoto>
          <RegulationQuestionPhoto>
            <CreatedBy>5</CreatedBy>
            <CreatedDate>2025-08-29T20:22:20.4520125+00:00</CreatedDate>
            <DeletedBy>1</DeletedBy>
            <DeletedDate>2025-08-29T20:22:20.4520125+00:00</DeletedDate>
            <Id>1</Id>
            <ImageBase64>sample string 9</ImageBase64>
            <ImagePath>sample string 4</ImagePath>
            <Images xmlns:d7p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
              <d7p1:string>sample string 1</d7p1:string>
              <d7p1:string>sample string 2</d7p1:string>
            </Images>
            <InspectionId>2</InspectionId>
            <InspectionLocalId>11</InspectionLocalId>
            <LastModifiedBy>7</LastModifiedBy>
            <LastModifiedDate>2025-08-29T20:22:20.4520125+00:00</LastModifiedDate>
            <LocalId>10</LocalId>
            <RegulationQuestionId>3</RegulationQuestionId>
            <TempRegulationQuestionPhotos>
              <TempRegulationQuestionPhoto>
                <TempId>1</TempId>
                <TempImagePath>sample string 2</TempImagePath>
                <TempImagePathStr>sample string 3</TempImagePathStr>
              </TempRegulationQuestionPhoto>
              <TempRegulationQuestionPhoto>
                <TempId>1</TempId>
                <TempImagePath>sample string 2</TempImagePath>
                <TempImagePathStr>sample string 3</TempImagePathStr>
              </TempRegulationQuestionPhoto>
            </TempRegulationQuestionPhotos>
          </RegulationQuestionPhoto>
        </RegulationQuestionPhotos>
        <RegulationQuestion_CheckComment>sample string 22</RegulationQuestion_CheckComment>
        <RegulationQuestion_NAComment>sample string 21</RegulationQuestion_NAComment>
        <RegulationQuestion_NoComment>sample string 20</RegulationQuestion_NoComment>
        <RegulationQuestion_QuestionHelp>sample string 18</RegulationQuestion_QuestionHelp>
        <RegulationQuestion_YesComment>sample string 19</RegulationQuestion_YesComment>
        <Sequence>12</Sequence>
      </RegulationAnswer>
      <RegulationId>5</RegulationId>
      <RegulationQuestionPhotos>
        <RegulationQuestionPhoto>
          <CreatedBy>5</CreatedBy>
          <CreatedDate>2025-08-29T20:22:20.4520125+00:00</CreatedDate>
          <DeletedBy>1</DeletedBy>
          <DeletedDate>2025-08-29T20:22:20.4520125+00:00</DeletedDate>
          <Id>1</Id>
          <ImageBase64>sample string 9</ImageBase64>
          <ImagePath>sample string 4</ImagePath>
          <Images xmlns:d6p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
            <d6p1:string>sample string 1</d6p1:string>
            <d6p1:string>sample string 2</d6p1:string>
          </Images>
          <InspectionId>2</InspectionId>
          <InspectionLocalId>11</InspectionLocalId>
          <LastModifiedBy>7</LastModifiedBy>
          <LastModifiedDate>2025-08-29T20:22:20.4520125+00:00</LastModifiedDate>
          <LocalId>10</LocalId>
          <RegulationQuestionId>3</RegulationQuestionId>
          <TempRegulationQuestionPhotos>
            <TempRegulationQuestionPhoto>
              <TempId>1</TempId>
              <TempImagePath>sample string 2</TempImagePath>
              <TempImagePathStr>sample string 3</TempImagePathStr>
            </TempRegulationQuestionPhoto>
            <TempRegulationQuestionPhoto>
              <TempId>1</TempId>
              <TempImagePath>sample string 2</TempImagePath>
              <TempImagePathStr>sample string 3</TempImagePathStr>
            </TempRegulationQuestionPhoto>
          </TempRegulationQuestionPhotos>
        </RegulationQuestionPhoto>
        <RegulationQuestionPhoto>
          <CreatedBy>5</CreatedBy>
          <CreatedDate>2025-08-29T20:22:20.4520125+00:00</CreatedDate>
          <DeletedBy>1</DeletedBy>
          <DeletedDate>2025-08-29T20:22:20.4520125+00:00</DeletedDate>
          <Id>1</Id>
          <ImageBase64>sample string 9</ImageBase64>
          <ImagePath>sample string 4</ImagePath>
          <Images xmlns:d6p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
            <d6p1:string>sample string 1</d6p1:string>
            <d6p1:string>sample string 2</d6p1:string>
          </Images>
          <InspectionId>2</InspectionId>
          <InspectionLocalId>11</InspectionLocalId>
          <LastModifiedBy>7</LastModifiedBy>
          <LastModifiedDate>2025-08-29T20:22:20.4520125+00:00</LastModifiedDate>
          <LocalId>10</LocalId>
          <RegulationQuestionId>3</RegulationQuestionId>
          <TempRegulationQuestionPhotos>
            <TempRegulationQuestionPhoto>
              <TempId>1</TempId>
              <TempImagePath>sample string 2</TempImagePath>
              <TempImagePathStr>sample string 3</TempImagePathStr>
            </TempRegulationQuestionPhoto>
            <TempRegulationQuestionPhoto>
              <TempId>1</TempId>
              <TempImagePath>sample string 2</TempImagePath>
              <TempImagePathStr>sample string 3</TempImagePathStr>
            </TempRegulationQuestionPhoto>
          </TempRegulationQuestionPhotos>
        </RegulationQuestionPhoto>
      </RegulationQuestionPhotos>
      <RegulationSequence>17</RegulationSequence>
      <Sequence>4</Sequence>
      <YesComment>sample string 12</YesComment>
    </RegulationQuestion>
    <RegulationQuestion>
      <CheckComment>sample string 15</CheckComment>
      <CreatedBy>7</CreatedBy>
      <CreatedDate>2025-08-29T20:22:20.4520125+00:00</CreatedDate>
      <DeletedBy>1</DeletedBy>
      <DeletedDate>2025-08-29T20:22:20.4520125+00:00</DeletedDate>
      <Id>1</Id>
      <InspectionTypeCreatedBy>19</InspectionTypeCreatedBy>
      <InspectionTypeId>18</InspectionTypeId>
      <Inspection_InternalNo>20</Inspection_InternalNo>
      <IsAnswered>true</IsAnswered>
      <IsHide>true</IsHide>
      <LastModifiedBy>9</LastModifiedBy>
      <LastModifiedDate>2025-08-29T20:22:20.4520125+00:00</LastModifiedDate>
      <NAComment>sample string 14</NAComment>
      <NoComment>sample string 13</NoComment>
      <Question>sample string 3</Question>
      <QuestionHelp>sample string 11</QuestionHelp>
      <QuestionNumber>sample string 2</QuestionNumber>
      <RegulationAnswer>
        <Answer>sample string 3</Answer>
        <Comment>sample string 5</Comment>
        <CreatedBy>6</CreatedBy>
        <CreatedDate>2025-08-29T20:22:20.4520125+00:00</CreatedDate>
        <DeletedBy>1</DeletedBy>
        <DeletedDate>2025-08-29T20:22:20.4520125+00:00</DeletedDate>
        <Id>1</Id>
        <InspectionByCustomerId>17</InspectionByCustomerId>
        <InspectionByInspectorId>16</InspectionByInspectorId>
        <InspectionId>4</InspectionId>
        <InspectionIsCompleted>true</InspectionIsCompleted>
        <InspectionLocalId>11</InspectionLocalId>
        <LastModifiedBy>8</LastModifiedBy>
        <LastModifiedDate>2025-08-29T20:22:20.4520125+00:00</LastModifiedDate>
        <LocalId>10</LocalId>
        <LoginUserCustomerType>1</LoginUserCustomerType>
        <LoginUserId>14</LoginUserId>
        <LoginUserRoleId>15</LoginUserRoleId>
        <RegulationId>13</RegulationId>
        <RegulationQuestionId>2</RegulationQuestionId>
        <RegulationQuestionIds xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:int>1</d5p1:int>
          <d5p1:int>2</d5p1:int>
        </RegulationQuestionIds>
        <RegulationQuestionPhotos>
          <RegulationQuestionPhoto>
            <CreatedBy>5</CreatedBy>
            <CreatedDate>2025-08-29T20:22:20.4520125+00:00</CreatedDate>
            <DeletedBy>1</DeletedBy>
            <DeletedDate>2025-08-29T20:22:20.4520125+00:00</DeletedDate>
            <Id>1</Id>
            <ImageBase64>sample string 9</ImageBase64>
            <ImagePath>sample string 4</ImagePath>
            <Images xmlns:d7p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
              <d7p1:string>sample string 1</d7p1:string>
              <d7p1:string>sample string 2</d7p1:string>
            </Images>
            <InspectionId>2</InspectionId>
            <InspectionLocalId>11</InspectionLocalId>
            <LastModifiedBy>7</LastModifiedBy>
            <LastModifiedDate>2025-08-29T20:22:20.4520125+00:00</LastModifiedDate>
            <LocalId>10</LocalId>
            <RegulationQuestionId>3</RegulationQuestionId>
            <TempRegulationQuestionPhotos>
              <TempRegulationQuestionPhoto>
                <TempId>1</TempId>
                <TempImagePath>sample string 2</TempImagePath>
                <TempImagePathStr>sample string 3</TempImagePathStr>
              </TempRegulationQuestionPhoto>
              <TempRegulationQuestionPhoto>
                <TempId>1</TempId>
                <TempImagePath>sample string 2</TempImagePath>
                <TempImagePathStr>sample string 3</TempImagePathStr>
              </TempRegulationQuestionPhoto>
            </TempRegulationQuestionPhotos>
          </RegulationQuestionPhoto>
          <RegulationQuestionPhoto>
            <CreatedBy>5</CreatedBy>
            <CreatedDate>2025-08-29T20:22:20.4520125+00:00</CreatedDate>
            <DeletedBy>1</DeletedBy>
            <DeletedDate>2025-08-29T20:22:20.4520125+00:00</DeletedDate>
            <Id>1</Id>
            <ImageBase64>sample string 9</ImageBase64>
            <ImagePath>sample string 4</ImagePath>
            <Images xmlns:d7p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
              <d7p1:string>sample string 1</d7p1:string>
              <d7p1:string>sample string 2</d7p1:string>
            </Images>
            <InspectionId>2</InspectionId>
            <InspectionLocalId>11</InspectionLocalId>
            <LastModifiedBy>7</LastModifiedBy>
            <LastModifiedDate>2025-08-29T20:22:20.4520125+00:00</LastModifiedDate>
            <LocalId>10</LocalId>
            <RegulationQuestionId>3</RegulationQuestionId>
            <TempRegulationQuestionPhotos>
              <TempRegulationQuestionPhoto>
                <TempId>1</TempId>
                <TempImagePath>sample string 2</TempImagePath>
                <TempImagePathStr>sample string 3</TempImagePathStr>
              </TempRegulationQuestionPhoto>
              <TempRegulationQuestionPhoto>
                <TempId>1</TempId>
                <TempImagePath>sample string 2</TempImagePath>
                <TempImagePathStr>sample string 3</TempImagePathStr>
              </TempRegulationQuestionPhoto>
            </TempRegulationQuestionPhotos>
          </RegulationQuestionPhoto>
        </RegulationQuestionPhotos>
        <RegulationQuestion_CheckComment>sample string 22</RegulationQuestion_CheckComment>
        <RegulationQuestion_NAComment>sample string 21</RegulationQuestion_NAComment>
        <RegulationQuestion_NoComment>sample string 20</RegulationQuestion_NoComment>
        <RegulationQuestion_QuestionHelp>sample string 18</RegulationQuestion_QuestionHelp>
        <RegulationQuestion_YesComment>sample string 19</RegulationQuestion_YesComment>
        <Sequence>12</Sequence>
      </RegulationAnswer>
      <RegulationId>5</RegulationId>
      <RegulationQuestionPhotos>
        <RegulationQuestionPhoto>
          <CreatedBy>5</CreatedBy>
          <CreatedDate>2025-08-29T20:22:20.4520125+00:00</CreatedDate>
          <DeletedBy>1</DeletedBy>
          <DeletedDate>2025-08-29T20:22:20.4520125+00:00</DeletedDate>
          <Id>1</Id>
          <ImageBase64>sample string 9</ImageBase64>
          <ImagePath>sample string 4</ImagePath>
          <Images xmlns:d6p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
            <d6p1:string>sample string 1</d6p1:string>
            <d6p1:string>sample string 2</d6p1:string>
          </Images>
          <InspectionId>2</InspectionId>
          <InspectionLocalId>11</InspectionLocalId>
          <LastModifiedBy>7</LastModifiedBy>
          <LastModifiedDate>2025-08-29T20:22:20.4520125+00:00</LastModifiedDate>
          <LocalId>10</LocalId>
          <RegulationQuestionId>3</RegulationQuestionId>
          <TempRegulationQuestionPhotos>
            <TempRegulationQuestionPhoto>
              <TempId>1</TempId>
              <TempImagePath>sample string 2</TempImagePath>
              <TempImagePathStr>sample string 3</TempImagePathStr>
            </TempRegulationQuestionPhoto>
            <TempRegulationQuestionPhoto>
              <TempId>1</TempId>
              <TempImagePath>sample string 2</TempImagePath>
              <TempImagePathStr>sample string 3</TempImagePathStr>
            </TempRegulationQuestionPhoto>
          </TempRegulationQuestionPhotos>
        </RegulationQuestionPhoto>
        <RegulationQuestionPhoto>
          <CreatedBy>5</CreatedBy>
          <CreatedDate>2025-08-29T20:22:20.4520125+00:00</CreatedDate>
          <DeletedBy>1</DeletedBy>
          <DeletedDate>2025-08-29T20:22:20.4520125+00:00</DeletedDate>
          <Id>1</Id>
          <ImageBase64>sample string 9</ImageBase64>
          <ImagePath>sample string 4</ImagePath>
          <Images xmlns:d6p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
            <d6p1:string>sample string 1</d6p1:string>
            <d6p1:string>sample string 2</d6p1:string>
          </Images>
          <InspectionId>2</InspectionId>
          <InspectionLocalId>11</InspectionLocalId>
          <LastModifiedBy>7</LastModifiedBy>
          <LastModifiedDate>2025-08-29T20:22:20.4520125+00:00</LastModifiedDate>
          <LocalId>10</LocalId>
          <RegulationQuestionId>3</RegulationQuestionId>
          <TempRegulationQuestionPhotos>
            <TempRegulationQuestionPhoto>
              <TempId>1</TempId>
              <TempImagePath>sample string 2</TempImagePath>
              <TempImagePathStr>sample string 3</TempImagePathStr>
            </TempRegulationQuestionPhoto>
            <TempRegulationQuestionPhoto>
              <TempId>1</TempId>
              <TempImagePath>sample string 2</TempImagePath>
              <TempImagePathStr>sample string 3</TempImagePathStr>
            </TempRegulationQuestionPhoto>
          </TempRegulationQuestionPhotos>
        </RegulationQuestionPhoto>
      </RegulationQuestionPhotos>
      <RegulationSequence>17</RegulationSequence>
      <Sequence>4</Sequence>
      <YesComment>sample string 12</YesComment>
    </RegulationQuestion>
  </Questions>
  <RegulationTitles>
    <RegulationTitle>
      <CreatedBy>4</CreatedBy>
      <CreatedDate>2025-08-29T20:22:20.4520125+00:00</CreatedDate>
      <DeletedBy>1</DeletedBy>
      <DeletedDate>2025-08-29T20:22:20.4520125+00:00</DeletedDate>
      <Id>1</Id>
      <LastModifiedBy>6</LastModifiedBy>
      <LastModifiedDate>2025-08-29T20:22:20.4520125+00:00</LastModifiedDate>
      <RegulationId>2</RegulationId>
      <Title>sample string 3</Title>
    </RegulationTitle>
    <RegulationTitle>
      <CreatedBy>4</CreatedBy>
      <CreatedDate>2025-08-29T20:22:20.4520125+00:00</CreatedDate>
      <DeletedBy>1</DeletedBy>
      <DeletedDate>2025-08-29T20:22:20.4520125+00:00</DeletedDate>
      <Id>1</Id>
      <LastModifiedBy>6</LastModifiedBy>
      <LastModifiedDate>2025-08-29T20:22:20.4520125+00:00</LastModifiedDate>
      <RegulationId>2</RegulationId>
      <Title>sample string 3</Title>
    </RegulationTitle>
  </RegulationTitles>
  <RegulationType>sample string 3</RegulationType>
  <Sequence>5</Sequence>
</Regulation>

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.