POST api/RegulationQuestionPhoto

Request Information

URI Parameters

None.

Body Parameters

RegulationQuestionPhoto
NameDescriptionTypeAdditional information
Id

integer

None.

InspectionId

integer

None.

RegulationQuestionId

integer

None.

ImagePath

string

None.

CreatedBy

integer

None.

CreatedDate

date

None.

LastModifiedBy

integer

None.

LastModifiedDate

date

None.

DeletedBy

integer

None.

DeletedDate

date

None.

ImageBase64

string

None.

Images

Collection of string

None.

LocalId

integer

None.

InspectionLocalId

integer

None.

TempRegulationQuestionPhotos

Collection of TempRegulationQuestionPhoto

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "InspectionId": 2,
  "RegulationQuestionId": 3,
  "ImagePath": "sample string 4",
  "CreatedBy": 5,
  "CreatedDate": "2025-08-29T20:22:14.1844661+00:00",
  "LastModifiedBy": 7,
  "LastModifiedDate": "2025-08-29T20:22:14.1844661+00:00",
  "DeletedBy": 1,
  "DeletedDate": "2025-08-29T20:22:14.1844661+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"
    }
  ]
}

application/xml, text/xml

Sample:
<RegulationQuestionPhoto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MSCWebAPI.Domain">
  <CreatedBy>5</CreatedBy>
  <CreatedDate>2025-08-29T20:22:14.1844661+00:00</CreatedDate>
  <DeletedBy>1</DeletedBy>
  <DeletedDate>2025-08-29T20:22:14.1844661+00:00</DeletedDate>
  <Id>1</Id>
  <ImageBase64>sample string 9</ImageBase64>
  <ImagePath>sample string 4</ImagePath>
  <Images xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </Images>
  <InspectionId>2</InspectionId>
  <InspectionLocalId>11</InspectionLocalId>
  <LastModifiedBy>7</LastModifiedBy>
  <LastModifiedDate>2025-08-29T20:22:14.1844661+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>

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.