POST api/Values?equip_no={equip_no}&device_id={device_id}&adder={adder}&updater={updater}&da_add={da_add}&da_update={da_update}&company_id={company_id}&remark={remark}&equip_time={equip_time}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
equip_no

string

Required

device_id

integer

Required

adder

integer

Required

updater

integer

Required

da_add

date

Required

da_update

date

Required

company_id

integer

Required

remark

string

Required

equip_time

date

Required

Body Parameters

Collection of equip
NameDescriptionTypeAdditional information
equip_id

integer

None.

hd_model_id

integer

None.

remark

string

None.

company_id

integer

None.

device_amount

decimal number

None.

equip_ware_id

integer

None.

equip_time

date

None.

adder

integer

None.

updater

integer

None.

da_update

date

None.

da_add

date

None.

device_parm

string

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "equip_id": 1,
    "hd_model_id": 2,
    "remark": "sample string 3",
    "company_id": 4,
    "device_amount": 5.1,
    "equip_ware_id": 6,
    "equip_time": "2022-08-17T03:22:31.8856897+08:00",
    "adder": 8,
    "updater": 9,
    "da_update": "2022-08-17T03:22:31.8856897+08:00",
    "da_add": "2022-08-17T03:22:31.8856897+08:00",
    "device_parm": "sample string 12"
  },
  {
    "equip_id": 1,
    "hd_model_id": 2,
    "remark": "sample string 3",
    "company_id": 4,
    "device_amount": 5.1,
    "equip_ware_id": 6,
    "equip_time": "2022-08-17T03:22:31.8856897+08:00",
    "adder": 8,
    "updater": 9,
    "da_update": "2022-08-17T03:22:31.8856897+08:00",
    "da_add": "2022-08-17T03:22:31.8856897+08:00",
    "device_parm": "sample string 12"
  }
]

application/xml, text/xml

Sample:
<ArrayOfequip xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/mysqldemo.Models">
  <equip>
    <adder>8</adder>
    <company_id>4</company_id>
    <da_add>2022-08-17T03:22:31.8856897+08:00</da_add>
    <da_update>2022-08-17T03:22:31.8856897+08:00</da_update>
    <device_amount>5.1</device_amount>
    <device_parm>sample string 12</device_parm>
    <equip_id>1</equip_id>
    <equip_time>2022-08-17T03:22:31.8856897+08:00</equip_time>
    <equip_ware_id>6</equip_ware_id>
    <hd_model_id>2</hd_model_id>
    <remark>sample string 3</remark>
    <updater>9</updater>
  </equip>
  <equip>
    <adder>8</adder>
    <company_id>4</company_id>
    <da_add>2022-08-17T03:22:31.8856897+08:00</da_add>
    <da_update>2022-08-17T03:22:31.8856897+08:00</da_update>
    <device_amount>5.1</device_amount>
    <device_parm>sample string 12</device_parm>
    <equip_id>1</equip_id>
    <equip_time>2022-08-17T03:22:31.8856897+08:00</equip_time>
    <equip_ware_id>6</equip_ware_id>
    <hd_model_id>2</hd_model_id>
    <remark>sample string 3</remark>
    <updater>9</updater>
  </equip>
</ArrayOfequip>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Object

None.

Response Formats

application/json, text/json

Sample:
{}

application/xml, text/xml

Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />