Through this EndPoint you can view the details of a warehouse movement.

To perform this query, the number of the movement to be queried must be known. This number can be known through the APIS of incoming movement query and outgoing movement query.

EndPoint

https://app.fracttal.com/api/warehouse_details_movements/

GET Method

Input Parameters

Parameter

Field type

Required

Description

id_movement

Text

Optional

Transaction ID

since

Text

Optional

Initial date of the query. Format: 'YYYY-MM-DDTHH:MM:SS-UTC' Ejemplo:'2016-07-12T20:00:00-03'. (Default 30 days before)

until

Text

Optional

End date of the query. Format: 'YYYYY-MM-DDTHH:MM:SS-UTC' Example:'2016-07-12T20:00:00-03'. (Default the current date.

type_date

Text

Optional

Type of date to query. Can be :ValueDescriptiondateDate of the transaction (Default value)date_createDate when the transaction was created.

start

Integer

Optional

Initial record number that the query will return.

limit

Integer

Optional

Final record number that the query will return.

Output parameters

Parameter

Field type

Description

id_movement

Integer

Movement ID

qty

Number

Quantity

qty_pending

Number

Pending Quantity

unit_cost

Number

Unit Cost

total_cost

Number

Total Cost.

items_description

Text

Item Description

is_serial_control

Boolean

It is controlled by serial

units_description

Text

Unit

tax_name

Text

Tax

serial_numbers

Text

Serial number

code

Text

Item code

date

Text

Date of movement

date_create

Text

Date movement was created

Example:

Example Request:

https://app.fracttal.com/api/warehouse_details_movements/?id_movement=2112

Example Response:

{ 
"success": true,
"message": "200",
"data": [
{
"id": 31310,
"id_movement": 2112,
"id_company": 133,
"id_item": 21630,
"qty": 7,
"qty_pending": 7,
"unit_cost": 29566,
"id_taxes": 2,
"total_cost": 250424,
"items_description": " HYDRAULIC OIL HY-GARD X L MMRVF4315 { MMRVF4315 }",
"is_serial_control": false,
"units_description": "LITERS",
"id_item_original": 12439,
"tax_name": "IVA 2",
"item_tax_rate": 21,
"serial_numbers": null,
"unit_cost_company": 29566,
"total_cost_company": 250424,
"code": "MMRVF4315",
"date": "2021-07-21",
"date_create": "2021-07-21T21:34:55.150866+00:00"
},
{
"id": 31309,
"id_movement": 2112,
"id_company": 133,
"id_item": 21987,
"qty": 50,
"qty_pending": 50,
"unit_cost": 0,
"id_taxes": 2,
"total_cost": 0,
"items_description": "NAIL { HERR-0001 }",
"is_serial_control": false,
"units_description": "Machine",
"id_item_original": 37611,
"tax_name": "IVA 2",
"item_tax_rate": 21,
"serial_numbers": null,
"unit_cost_company": 0,
"total_cost_company": 0,
"code": "HERR-0001",
"date": "2021-07-21",
"date_create": "2021-07-21T21:34:55.150866+00:00"
},
{
"id": 31308,
"id_movement": 2112,
"id_company": 133,
"id_item": 21988,
"qty": 30,
"qty_pending": 30,
"unit_cost": 537500,
"id_taxes": 2,
"total_cost": 19511200,
"items_description": " CABLE ARNES DE 55 A 32 PINES CAB209 B10M VOLVO { CAB209 }",
"is_serial_control": false,
"units_description": "Machine",
"id_item_original": 13835,
"tax_name": "IVA 2",
"item_tax_rate": 21,
"serial_numbers": null,
"unit_cost_company": 537500,
"total_cost_company": 19511200,
"code": "CAB209",
"date": "2021-07-21",
"date_create": "2021-07-21T21:34:55.150866+00:00"
}
],
"total": 3
}

Did this answer your question?