POST v1/console-v1/update-config-keypad-sync

Request Information

URI Parameters

None.

Body Parameters

LabCare.Data.WebApi.Models.SmartBoxDataPostModel_v2
NameDescriptionTypeAdditional information
sb_sr_no

string

None.

sb_id

integer

None.

post_time

date

None.

inc_data

Collection of LabCare.Data.WebApi.Models.GatewayDataValueModel

None.

ae

Collection of LabCare.Data.WebApi.Models.AlarmEventModel

None.

gw_status

Collection of LabCare.Data.WebApi.Models.GatewayStatus

None.

doors

Collection of LabCare.Data.WebApi.Models.DoorPostModel

None.

tph_data

Collection of LabCare.Data.WebApi.Models.TPhPostModel

None.

dev_hw_info

Collection of LabCare.Data.WebApi.Models.HWDeviceConfig

None.

sb_keypad_status

LabCare.Data.WebApi.Models.DeviceStatusConfig2

None.

gw_config

Collection of LabCare.Data.WebApi.Models.GatewayConfigPostData

None.

Request Formats

application/json, text/json

Sample:
{
  "sb_sr_no": "sample string 1",
  "sb_id": 2,
  "post_time": "2026-06-16T18:57:12.3682584+00:00",
  "inc_data": null,
  "ae": null,
  "gw_status": [
    {
      "sb_id": 1,
      "gw_id": 2,
      "lastpost_time": "2026-06-16T18:57:12.4059988+00:00",
      "is_alive": 0,
      "is_incalive": 0
    },
    {
      "sb_id": 1,
      "gw_id": 2,
      "lastpost_time": "2026-06-16T18:57:12.4059988+00:00",
      "is_alive": 0,
      "is_incalive": 0
    }
  ],
  "doors": null,
  "tph_data": null,
  "dev_hw_info": [
    {
      "hw_t": 0,
      "lic_status": 1516,
      "nw_detail": {
        "IPAddress": "sample string 1",
        "MACAddress": "sample string 2"
      },
      "hw_id": 1,
      "sw_id": 2,
      "serial": "sample string 3",
      "fw": "sample string 4",
      "hw": "sample string 5"
    },
    {
      "hw_t": 0,
      "lic_status": 1516,
      "nw_detail": {
        "IPAddress": "sample string 1",
        "MACAddress": "sample string 2"
      },
      "hw_id": 1,
      "sw_id": 2,
      "serial": "sample string 3",
      "fw": "sample string 4",
      "hw": "sample string 5"
    }
  ],
  "sb_keypad_status": {
    "v_sb_id": 1,
    "call": true,
    "sms": true,
    "voice": true,
    "email": true,
    "sync_rev": "sample string 6",
    "updated_at": "2026-06-16T18:57:12.4059988+00:00"
  },
  "gw_config": [
    {
      "gw_id": 1,
      "u_t": "2026-06-16T18:57:12.4059988+00:00",
      "p_sp": [
        {
          "gw_p_id": 1,
          "sp": 2.1
        },
        {
          "gw_p_id": 1,
          "sp": 2.1
        }
      ]
    },
    {
      "gw_id": 1,
      "u_t": "2026-06-16T18:57:12.4059988+00:00",
      "p_sp": [
        {
          "gw_p_id": 1,
          "sp": 2.1
        },
        {
          "gw_p_id": 1,
          "sp": 2.1
        }
      ]
    }
  ]
}

application/xml, text/xml

Sample:
<SmartBoxDataPostModel_v2 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LabCare.Data.WebApi.Models">
  <Alarms i:nil="true" />
  <DeviceHardwareInfo>
    <HWDeviceConfig>
      <FirmwareVersion>sample string 4</FirmwareVersion>
      <HWType>None</HWType>
      <HardwareID>1</HardwareID>
      <HardwareVersion>sample string 5</HardwareVersion>
      <LicenseStatus>Expired</LicenseStatus>
      <NetworkDetails>
        <IPAddress>sample string 1</IPAddress>
        <MACAddress>sample string 2</MACAddress>
      </NetworkDetails>
      <Serial>sample string 3</Serial>
      <SoftHardwareID>2</SoftHardwareID>
    </HWDeviceConfig>
    <HWDeviceConfig>
      <FirmwareVersion>sample string 4</FirmwareVersion>
      <HWType>None</HWType>
      <HardwareID>1</HardwareID>
      <HardwareVersion>sample string 5</HardwareVersion>
      <LicenseStatus>Expired</LicenseStatus>
      <NetworkDetails>
        <IPAddress>sample string 1</IPAddress>
        <MACAddress>sample string 2</MACAddress>
      </NetworkDetails>
      <Serial>sample string 3</Serial>
      <SoftHardwareID>2</SoftHardwareID>
    </HWDeviceConfig>
  </DeviceHardwareInfo>
  <DoorData i:nil="true" />
  <GatewayConfigData>
    <GatewayConfigPostData>
      <GatewayId>1</GatewayId>
      <ParameterSetPoints>
        <GatewayParameterSetPoint>
          <GW_ParameterId>1</GW_ParameterId>
          <SetPoint>2.1</SetPoint>
        </GatewayParameterSetPoint>
        <GatewayParameterSetPoint>
          <GW_ParameterId>1</GW_ParameterId>
          <SetPoint>2.1</SetPoint>
        </GatewayParameterSetPoint>
      </ParameterSetPoints>
      <UpdateTime>2026-06-16T18:57:12.4059988+00:00</UpdateTime>
    </GatewayConfigPostData>
    <GatewayConfigPostData>
      <GatewayId>1</GatewayId>
      <ParameterSetPoints>
        <GatewayParameterSetPoint>
          <GW_ParameterId>1</GW_ParameterId>
          <SetPoint>2.1</SetPoint>
        </GatewayParameterSetPoint>
        <GatewayParameterSetPoint>
          <GW_ParameterId>1</GW_ParameterId>
          <SetPoint>2.1</SetPoint>
        </GatewayParameterSetPoint>
      </ParameterSetPoints>
      <UpdateTime>2026-06-16T18:57:12.4059988+00:00</UpdateTime>
    </GatewayConfigPostData>
  </GatewayConfigData>
  <GatewayStatus>
    <GatewayStatus>
      <IsAlive>None</IsAlive>
      <IsIncubatorAlive>None</IsIncubatorAlive>
      <LastPostTime>2026-06-16T18:57:12.4059988+00:00</LastPostTime>
      <VirtualGatewayId>2</VirtualGatewayId>
      <VirtualSmartBoxId>1</VirtualSmartBoxId>
    </GatewayStatus>
    <GatewayStatus>
      <IsAlive>None</IsAlive>
      <IsIncubatorAlive>None</IsIncubatorAlive>
      <LastPostTime>2026-06-16T18:57:12.4059988+00:00</LastPostTime>
      <VirtualGatewayId>2</VirtualGatewayId>
      <VirtualSmartBoxId>1</VirtualSmartBoxId>
    </GatewayStatus>
  </GatewayStatus>
  <IncubatorData i:nil="true" />
  <PostTime>2026-06-16T18:57:12.3682584+00:00</PostTime>
  <SmartBoxKeyPadStatus>
    <CallStatus>true</CallStatus>
    <EmailStatus>true</EmailStatus>
    <SMSStatus>true</SMSStatus>
    <SmartBoxId>1</SmartBoxId>
    <SyncRevision>sample string 6</SyncRevision>
    <SyncRevisionDate>2026-06-16T18:57:12.4059988+00:00</SyncRevisionDate>
    <VoiceStatus>true</VoiceStatus>
  </SmartBoxKeyPadStatus>
  <SmartBoxSerialNo>sample string 1</SmartBoxSerialNo>
  <TpHData i:nil="true" />
  <VirtualSmartBoxId>2</VirtualSmartBoxId>
</SmartBoxDataPostModel_v2>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'SmartBoxDataPostModel_v2'.

Response Information

Resource Description

System.Net.Http.HttpResponseMessage
NameDescriptionTypeAdditional information
Version

System.Version

None.

Content

System.Net.Http.HttpContent

None.

StatusCode

System.Net.HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

System.Net.Http.HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.