POST api/Panel
Request Information
URI Parameters
None.
Body Parameters
PanelRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
None. |
|
| Description | string |
None. |
|
| Serial | string |
None. |
|
| BuildingID | integer |
None. |
|
| SiteID | integer |
None. |
|
| PanelChecklistID | integer |
None. |
|
| InspectionChecklistID | integer |
None. |
|
| RatingChecklistID | integer |
None. |
|
| ShowGreetings | boolean |
None. |
|
| ShowServiceBy | boolean |
None. |
|
| ServiceBySchedule | boolean |
None. |
|
| ShowGabkotechLogo | boolean |
None. |
|
| ShowBuildingOwnerLogo | boolean |
None. |
|
| ShowContractorLogo | boolean |
None. |
|
| ShowManagingAgentLogo | boolean |
None. |
|
| ShowSensorData | boolean |
None. |
|
| ShowRatingIconTitle | boolean |
None. |
|
| ShowFeedbackQrCode | boolean |
None. |
|
| SubmitBy | integer |
None. |
|
| Token | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"ID": 1,
"Description": "sample string 2",
"Serial": "sample string 3",
"BuildingID": 4,
"SiteID": 5,
"PanelChecklistID": 6,
"InspectionChecklistID": 1,
"RatingChecklistID": 7,
"ShowGreetings": true,
"ShowServiceBy": true,
"ServiceBySchedule": true,
"ShowGabkotechLogo": true,
"ShowBuildingOwnerLogo": true,
"ShowContractorLogo": true,
"ShowManagingAgentLogo": true,
"ShowSensorData": true,
"ShowRatingIconTitle": true,
"ShowFeedbackQrCode": true,
"SubmitBy": 18,
"Token": "sample string 19"
}
application/xml, text/xml
Sample:
<PanelRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/M2senseWebApiProject.Models"> <BuildingID>4</BuildingID> <Description>sample string 2</Description> <ID>1</ID> <InspectionChecklistID>1</InspectionChecklistID> <PanelChecklistID>6</PanelChecklistID> <RatingChecklistID>7</RatingChecklistID> <Serial>sample string 3</Serial> <ServiceBySchedule>true</ServiceBySchedule> <ShowBuildingOwnerLogo>true</ShowBuildingOwnerLogo> <ShowContractorLogo>true</ShowContractorLogo> <ShowFeedbackQrCode>true</ShowFeedbackQrCode> <ShowGabkotechLogo>true</ShowGabkotechLogo> <ShowGreetings>true</ShowGreetings> <ShowManagingAgentLogo>true</ShowManagingAgentLogo> <ShowRatingIconTitle>true</ShowRatingIconTitle> <ShowSensorData>true</ShowSensorData> <ShowServiceBy>true</ShowServiceBy> <SiteID>5</SiteID> <SubmitBy>18</SubmitBy> <Token>sample string 19</Token> </PanelRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |