PUT api/Reports/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

Reports
NameDescriptionTypeAdditional information
id

integer

Required

devSn

string

String length: inclusive between 0 and 20

inspectorId

string

String length: inclusive between 0 and 100

customerId

integer

None.

expId

string

String length: inclusive between 0 and 30

documentNo

string

String length: inclusive between 0 and 30

generatedDate

date

None.

logStartTime

date

None.

logEndTime

date

None.

season

byte

None.

weather

byte

None.

homeType

byte

None.

baseType

byte

None.

baseFloor

byte

None.

baseAccess

byte

None.

location

string

String length: inclusive between 0 and 1000

avgRadon

integer

None.

duration

byte

None.

closed

byte

None.

comment

string

String length: inclusive between 0 and 1000

imageUrl

string

String length: inclusive between 0 and 200

logoUrl

string

String length: inclusive between 0 and 200

commentUrl

string

String length: inclusive between 0 and 200

imageUrl2

string

String length: inclusive between 0 and 200

commentUrl2

string

String length: inclusive between 0 and 200

building_type

string

String length: inclusive between 0 and 50

room_type

string

String length: inclusive between 0 and 50

floor

string

String length: inclusive between 0 and 50

building_year

integer

None.

epa_onoff

integer

None.

aarst_id

integer

None.

test_purpose

string

String length: inclusive between 0 and 50

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "devSn": "sample string 2",
  "inspectorId": "sample string 3",
  "customerId": 1,
  "expId": "sample string 4",
  "documentNo": "sample string 5",
  "generatedDate": "2024-11-17T06:17:36.8926354+00:00",
  "logStartTime": "2024-11-17T06:17:36.8926354+00:00",
  "logEndTime": "2024-11-17T06:17:36.8926354+00:00",
  "season": 64,
  "weather": 64,
  "homeType": 64,
  "baseType": 64,
  "baseFloor": 64,
  "baseAccess": 64,
  "location": "sample string 6",
  "avgRadon": 1,
  "duration": 64,
  "closed": 64,
  "comment": "sample string 7",
  "imageUrl": "sample string 8",
  "logoUrl": "sample string 9",
  "commentUrl": "sample string 10",
  "imageUrl2": "sample string 11",
  "commentUrl2": "sample string 12",
  "building_type": "sample string 13",
  "room_type": "sample string 14",
  "floor": "sample string 15",
  "building_year": 1,
  "epa_onoff": 1,
  "aarst_id": 1,
  "test_purpose": "sample string 16"
}

application/xml, text/xml

Sample:
<Reports xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RMnS_Pro_API.Models">
  <aarst_id>1</aarst_id>
  <avgRadon>1</avgRadon>
  <baseAccess>64</baseAccess>
  <baseFloor>64</baseFloor>
  <baseType>64</baseType>
  <building_type>sample string 13</building_type>
  <building_year>1</building_year>
  <closed>64</closed>
  <comment>sample string 7</comment>
  <commentUrl>sample string 10</commentUrl>
  <commentUrl2>sample string 12</commentUrl2>
  <customerId>1</customerId>
  <devSn>sample string 2</devSn>
  <documentNo>sample string 5</documentNo>
  <duration>64</duration>
  <epa_onoff>1</epa_onoff>
  <expId>sample string 4</expId>
  <floor>sample string 15</floor>
  <generatedDate>2024-11-17T06:17:36.8926354+00:00</generatedDate>
  <homeType>64</homeType>
  <id>1</id>
  <imageUrl>sample string 8</imageUrl>
  <imageUrl2>sample string 11</imageUrl2>
  <inspectorId>sample string 3</inspectorId>
  <location>sample string 6</location>
  <logEndTime>2024-11-17T06:17:36.8926354+00:00</logEndTime>
  <logStartTime>2024-11-17T06:17:36.8926354+00:00</logStartTime>
  <logoUrl>sample string 9</logoUrl>
  <room_type>sample string 14</room_type>
  <season>64</season>
  <test_purpose>sample string 16</test_purpose>
  <weather>64</weather>
</Reports>

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.