POST api/{corp}/Consumes

Request Information

URI Parameters

NameDescriptionTypeAdditional information
corp

string

Required

Body Parameters

Collection of customConsume
NameDescriptionTypeAdditional information
id

integer

None.

item_id

integer

None.

code

string

None.

sourcelocation_id

integer

None.

sourcelocation_name

string

None.

location_id

integer

None.

location_name

string

None.

user_name

string

None.

num

integer

None.

time

decimal number

None.

longitude

decimal number

None.

latitude

decimal number

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "id": 1,
    "item_id": 1,
    "code": "sample string 2",
    "sourcelocation_id": 3,
    "sourcelocation_name": "sample string 4",
    "location_id": 5,
    "location_name": "sample string 6",
    "user_name": "sample string 7",
    "num": 8,
    "time": 9.1,
    "longitude": 1.0,
    "latitude": 1.0
  },
  {
    "id": 1,
    "item_id": 1,
    "code": "sample string 2",
    "sourcelocation_id": 3,
    "sourcelocation_name": "sample string 4",
    "location_id": 5,
    "location_name": "sample string 6",
    "user_name": "sample string 7",
    "num": 8,
    "time": 9.1,
    "longitude": 1.0,
    "latitude": 1.0
  }
]

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

consumeResult
NameDescriptionTypeAdditional information
result

boolean

None.

details

Collection of consumeDetailResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.