POST api/usage/ins_usage_data

Request Information

URI Parameters

None.

Body Parameters

C_Usage
NameDescriptionTypeAdditional information
C_Info_Usage

c_info_usage

None.

C_Info_Usage_Detail

Collection of c_info_usage_detail

None.

Request Formats

application/json, text/json

Sample:
{
  "C_Info_Usage": {
    "USAGE_ID": "sample string 1",
    "DEVICE_KEY": "sample string 2",
    "SITE_ID": "sample string 3",
    "SITE_NAME": "sample string 4",
    "USER_POSITION_1": "sample string 5",
    "USER_POSITION_2": "sample string 6",
    "USER_POSITION_3": "sample string 7",
    "USER_POSITION_4": "sample string 8",
    "USAGE_TIME_START": "sample string 9",
    "USAGE_TIME_END": "sample string 10",
    "USAGE_COUNT": 11
  },
  "C_Info_Usage_Detail": [
    {
      "USAGE_ID": "sample string 1",
      "TIME_START": "sample string 2",
      "TIME_END": "sample string 3"
    },
    {
      "USAGE_ID": "sample string 1",
      "TIME_START": "sample string 2",
      "TIME_END": "sample string 3"
    }
  ]
}

application/xml, text/xml

Sample:
<C_Usage xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HappyTable_WebAPI.Models">
  <C_Info_Usage>
    <DEVICE_KEY>sample string 2</DEVICE_KEY>
    <SITE_ID>sample string 3</SITE_ID>
    <SITE_NAME>sample string 4</SITE_NAME>
    <USAGE_COUNT>11</USAGE_COUNT>
    <USAGE_ID>sample string 1</USAGE_ID>
    <USAGE_TIME_END>sample string 10</USAGE_TIME_END>
    <USAGE_TIME_START>sample string 9</USAGE_TIME_START>
    <USER_POSITION_1>sample string 5</USER_POSITION_1>
    <USER_POSITION_2>sample string 6</USER_POSITION_2>
    <USER_POSITION_3>sample string 7</USER_POSITION_3>
    <USER_POSITION_4>sample string 8</USER_POSITION_4>
  </C_Info_Usage>
  <C_Info_Usage_Detail>
    <C_Usage.c_info_usage_detail>
      <TIME_END>sample string 3</TIME_END>
      <TIME_START>sample string 2</TIME_START>
      <USAGE_ID>sample string 1</USAGE_ID>
    </C_Usage.c_info_usage_detail>
    <C_Usage.c_info_usage_detail>
      <TIME_END>sample string 3</TIME_END>
      <TIME_START>sample string 2</TIME_START>
      <USAGE_ID>sample string 1</USAGE_ID>
    </C_Usage.c_info_usage_detail>
  </C_Info_Usage_Detail>
</C_Usage>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

string

Response Formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>