POST Equipment/Edit

Request Information

URI Parameters

None.

Body Parameters

Lib_Base_Equipment
NameDescriptionTypeAdditional information
iid

integer

None.

equipment_no

string

None.

equipment_name

string

None.

model

string

None.

manufacturer

string

None.

direc_supplier

string

None.

status

integer

None.

equipment_description

string

None.

maker

string

None.

make_date

date

None.

modifier

string

None.

mod_date

date

None.

remark

string

None.

EquCkf

Collection of byte

None.

EquUpKf

Collection of byte

None.

EquOthf

Collection of byte

None.

MAC_ID

string

None.

IP

string

None.

use_status

string

None.

refresh_time

date

None.

connect_user

string

None.

Company_Name

string

None.

Request Formats

application/json, text/json

Sample:
{
  "iid": 1,
  "equipment_no": "sample string 2",
  "equipment_name": "sample string 3",
  "model": "sample string 4",
  "manufacturer": "sample string 5",
  "direc_supplier": "sample string 6",
  "status": 1,
  "equipment_description": "sample string 7",
  "maker": "sample string 8",
  "make_date": "2024-11-28 14:30:00",
  "modifier": "sample string 9",
  "mod_date": "2024-11-28 14:30:00",
  "remark": "sample string 10",
  "EquCkf": "QEA=",
  "EquUpKf": "QEA=",
  "EquOthf": "QEA=",
  "MAC_ID": "sample string 11",
  "IP": "sample string 12",
  "use_status": "sample string 13",
  "refresh_time": "2024-11-28 14:30:00",
  "connect_user": "sample string 14",
  "Company_Name": "sample string 15"
}

application/xml, text/xml

Sample:
<Lib_Base_Equipment xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WeldingAPI.Models.EF">
  <Company_Name>sample string 15</Company_Name>
  <EquCkf>QEA=</EquCkf>
  <EquOthf>QEA=</EquOthf>
  <EquUpKf>QEA=</EquUpKf>
  <IP>sample string 12</IP>
  <MAC_ID>sample string 11</MAC_ID>
  <connect_user>sample string 14</connect_user>
  <direc_supplier>sample string 6</direc_supplier>
  <equipment_description>sample string 7</equipment_description>
  <equipment_name>sample string 3</equipment_name>
  <equipment_no>sample string 2</equipment_no>
  <iid>1</iid>
  <make_date>2024-11-28T14:30:00.2549259+08:00</make_date>
  <maker>sample string 8</maker>
  <manufacturer>sample string 5</manufacturer>
  <mod_date>2024-11-28T14:30:00.2549259+08:00</mod_date>
  <model>sample string 4</model>
  <modifier>sample string 9</modifier>
  <refresh_time>2024-11-28T14:30:00.2549259+08:00</refresh_time>
  <remark>sample string 10</remark>
  <status>1</status>
  <use_status>sample string 13</use_status>
</Lib_Base_Equipment>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

BaseResult
NameDescriptionTypeAdditional information
Success

integer

None.

Msg

string

None.

Token

string

None.

Key

string

None.

FileName

string

None.

FilePageCount

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "Success": 1,
  "Msg": "sample string 2",
  "Token": "sample string 3",
  "Key": "sample string 4",
  "FileName": "sample string 5",
  "FilePageCount": 6
}

application/xml, text/xml

Sample:
<BaseResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WeldingAPI.Models">
  <FileName>sample string 5</FileName>
  <FilePageCount>6</FilePageCount>
  <Key>sample string 4</Key>
  <Msg>sample string 2</Msg>
  <Success>1</Success>
  <Token>sample string 3</Token>
</BaseResult>