PUT api/ReportsCrm/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

ReturnReportsCrmWithWorkHours
NameDescriptionTypeAdditional information
id

integer

None.

devSn

string

String length: inclusive between 0 and 20

inspectorId

string

String length: inclusive between 0 and 100

customerId

integer

None.

customerName

string

String length: inclusive between 0 and 50

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.

location

string

String length: inclusive between 0 and 100

avgRadon

integer

None.

duration

integer

None.

closed

byte

None.

comment

string

String length: inclusive between 0 and 100

imageUrl

string

String length: inclusive between 0 and 200

imageUrl2

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

commentUrl2

string

String length: inclusive between 0 and 200

building_type

string

None.

building_year

string

None.

room_type

string

None.

floor

string

None.

work_hours

WorkHour

None.

radon_reading_avg

string

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "devSn": "sample string 2",
  "inspectorId": "sample string 3",
  "customerId": 1,
  "customerName": "sample string 4",
  "expId": "sample string 5",
  "documentNo": "sample string 6",
  "generatedDate": "2024-11-15T13:52:58.9509473+00:00",
  "logStartTime": "2024-11-15T13:52:58.9509473+00:00",
  "logEndTime": "2024-11-15T13:52:58.9509473+00:00",
  "location": "sample string 7",
  "avgRadon": 1,
  "duration": 1,
  "closed": 64,
  "comment": "sample string 8",
  "imageUrl": "sample string 9",
  "imageUrl2": "sample string 10",
  "logoUrl": "sample string 11",
  "commentUrl": "sample string 12",
  "commentUrl2": "sample string 13",
  "building_type": "sample string 14",
  "building_year": "sample string 15",
  "room_type": "sample string 16",
  "floor": "sample string 17",
  "work_hours": {
    "index": 64,
    "custom": {
      "sunday_enable": 64,
      "sunday_start_time": "sample string 2",
      "sunday_end_time": "sample string 3",
      "monday_enable": 64,
      "monday_start_time": "sample string 5",
      "monday_end_time": "sample string 6",
      "tuesday_enable": 64,
      "tuesday_start_time": "sample string 8",
      "tuesday_end_time": "sample string 9",
      "wednesday_enable": 64,
      "wednesday_start_time": "sample string 11",
      "wednesday_end_time": "sample string 12",
      "thursday_enable": 64,
      "thursday_start_time": "sample string 14",
      "thursday_end_time": "sample string 15",
      "friday_enable": 64,
      "friday_start_time": "sample string 17",
      "friday_end_time": "sample string 18",
      "saturday_enable": 64,
      "saturday_start_time": "sample string 20",
      "saturday_end_time": "sample string 21"
    }
  },
  "radon_reading_avg": "sample string 18"
}

application/xml, text/xml

Sample:
<ReturnReportsCrmWithWorkHours xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RMnS_Pro_API.Models">
  <avgRadon>1</avgRadon>
  <building_type>sample string 14</building_type>
  <building_year>sample string 15</building_year>
  <closed>64</closed>
  <comment>sample string 8</comment>
  <commentUrl>sample string 12</commentUrl>
  <commentUrl2>sample string 13</commentUrl2>
  <customerId>1</customerId>
  <customerName>sample string 4</customerName>
  <devSn>sample string 2</devSn>
  <documentNo>sample string 6</documentNo>
  <duration>1</duration>
  <expId>sample string 5</expId>
  <floor>sample string 17</floor>
  <generatedDate>2024-11-15T13:52:58.9509473+00:00</generatedDate>
  <id>1</id>
  <imageUrl>sample string 9</imageUrl>
  <imageUrl2>sample string 10</imageUrl2>
  <inspectorId>sample string 3</inspectorId>
  <location>sample string 7</location>
  <logEndTime>2024-11-15T13:52:58.9509473+00:00</logEndTime>
  <logStartTime>2024-11-15T13:52:58.9509473+00:00</logStartTime>
  <logoUrl>sample string 11</logoUrl>
  <radon_reading_avg>sample string 18</radon_reading_avg>
  <room_type>sample string 16</room_type>
  <work_hours>
    <custom>
      <friday_enable>64</friday_enable>
      <friday_end_time>sample string 18</friday_end_time>
      <friday_start_time>sample string 17</friday_start_time>
      <monday_enable>64</monday_enable>
      <monday_end_time>sample string 6</monday_end_time>
      <monday_start_time>sample string 5</monday_start_time>
      <saturday_enable>64</saturday_enable>
      <saturday_end_time>sample string 21</saturday_end_time>
      <saturday_start_time>sample string 20</saturday_start_time>
      <sunday_enable>64</sunday_enable>
      <sunday_end_time>sample string 3</sunday_end_time>
      <sunday_start_time>sample string 2</sunday_start_time>
      <thursday_enable>64</thursday_enable>
      <thursday_end_time>sample string 15</thursday_end_time>
      <thursday_start_time>sample string 14</thursday_start_time>
      <tuesday_enable>64</tuesday_enable>
      <tuesday_end_time>sample string 9</tuesday_end_time>
      <tuesday_start_time>sample string 8</tuesday_start_time>
      <wednesday_enable>64</wednesday_enable>
      <wednesday_end_time>sample string 12</wednesday_end_time>
      <wednesday_start_time>sample string 11</wednesday_start_time>
    </custom>
    <index>64</index>
  </work_hours>
</ReturnReportsCrmWithWorkHours>

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.