POST staff/accessary/edit
Request Information
URI Parameters
None.
Body Parameters
Request_Accessary_CU| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
|
| qr_code | string |
Required |
|
| accessary_name | string |
Required |
|
| vehicle_life | string |
Required |
|
| accessary_type_name | string |
Required |
|
| unit_name | string |
Required |
|
| warehouse_name | string |
Required |
|
| id_accessary_type | integer |
Required |
|
| id_unit | integer |
Required |
|
| id_warehouse | integer |
Required |
|
| min_inventory | integer |
Required |
|
| max_inventory | integer |
Required |
|
| vat | decimal number |
Required |
|
| token | string |
Required |
|
| secret_key | string |
Required |
|
| id_staff_action | integer |
Required |
Request Formats
application/json, text/json
Sample:
{
"id": 1,
"qr_code": "sample string 2",
"accessary_name": "sample string 3",
"vehicle_life": "sample string 4",
"accessary_type_name": "sample string 5",
"unit_name": "sample string 6",
"warehouse_name": "sample string 7",
"id_accessary_type": 8,
"id_unit": 9,
"id_warehouse": 10,
"min_inventory": 11,
"max_inventory": 12,
"vat": 13.0,
"token": "sample string 14",
"secret_key": "sample string 15",
"id_staff_action": 16
}
application/xml, text/xml
Sample:
<Request_Accessary_CU xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/be_motosoft.Areas.Code.Directory.Models.Accessary.Request"> <id_staff_action xmlns="http://schemas.datacontract.org/2004/07/be_motosoft.Areas.Code">16</id_staff_action> <secret_key xmlns="http://schemas.datacontract.org/2004/07/be_motosoft.Areas.Code">sample string 15</secret_key> <token xmlns="http://schemas.datacontract.org/2004/07/be_motosoft.Areas.Code">sample string 14</token> <accessary_name>sample string 3</accessary_name> <accessary_type_name>sample string 5</accessary_type_name> <id>1</id> <id_accessary_type>8</id_accessary_type> <id_unit>9</id_unit> <id_warehouse>10</id_warehouse> <max_inventory>12</max_inventory> <min_inventory>11</min_inventory> <qr_code>sample string 2</qr_code> <unit_name>sample string 6</unit_name> <vat>13</vat> <vehicle_life>sample string 4</vehicle_life> <warehouse_name>sample string 7</warehouse_name> </Request_Accessary_CU>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
Result| Name | Description | Type | Additional information |
|---|---|---|---|
| status | integer |
None. |
|
| error_code | string |
None. |
|
| content | Object |
None. |
Response Formats
application/json, text/json
Sample:
{
"status": 1,
"error_code": "sample string 2",
"content": {}
}
application/xml, text/xml
Sample:
<Result xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/be_motosoft.Areas.Code"> <content /> <error_code>sample string 2</error_code> <status>1</status> </Result>