POST staff/vehicle_accessary_custom/create

Request Information

URI Parameters

None.

Body Parameters

Request_Vehicle_Accessary_Custom_CU
NameDescriptionTypeAdditional information
id

integer

Required

id_warehouse

integer

Required

warehouse_name

string

Required

id_accessary

integer

Required

accessary_name

string

Required

qr_code

string

Required

capital_price_BQGQ

decimal number

Required

quantity

decimal number

Required

amount

decimal number

Required

id_vehicle

integer

Required

token

string

Required

secret_key

string

Required

id_staff_action

integer

Required

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "id_warehouse": 2,
  "warehouse_name": "sample string 3",
  "id_accessary": 4,
  "accessary_name": "sample string 5",
  "qr_code": "sample string 6",
  "capital_price_BQGQ": 7.0,
  "quantity": 8.0,
  "amount": 9.0,
  "id_vehicle": 10,
  "token": "sample string 11",
  "secret_key": "sample string 12",
  "id_staff_action": 13
}

application/xml, text/xml

Sample:
<Request_Vehicle_Accessary_Custom_CU xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/be_motosoft.Areas.Code.Directory.Models.Vehicle.Request">
  <id_staff_action xmlns="http://schemas.datacontract.org/2004/07/be_motosoft.Areas.Code">13</id_staff_action>
  <secret_key xmlns="http://schemas.datacontract.org/2004/07/be_motosoft.Areas.Code">sample string 12</secret_key>
  <token xmlns="http://schemas.datacontract.org/2004/07/be_motosoft.Areas.Code">sample string 11</token>
  <accessary_name>sample string 5</accessary_name>
  <amount>9</amount>
  <capital_price_BQGQ>7</capital_price_BQGQ>
  <id>1</id>
  <id_accessary>4</id_accessary>
  <id_vehicle>10</id_vehicle>
  <id_warehouse>2</id_warehouse>
  <qr_code>sample string 6</qr_code>
  <quantity>8</quantity>
  <warehouse_name>sample string 3</warehouse_name>
</Request_Vehicle_Accessary_Custom_CU>

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 'Request_Vehicle_Accessary_Custom_CU'.

Response Information

Resource Description

Result
NameDescriptionTypeAdditional 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>