VismaBouwsoftAPICalls.v1_GET_ProductStock Method
v1_GET_ProductStock() as String

This API call is used to get fields of a(n) ProductStock(s)

HTTP method API version
GET v1

Don’t forget to put the Authorization field in the header

API Path: /ProductStock/
or
API Path: /ProductStock/{id}
or
API Path: /ProductStock/FieldInfo/

You can make this API call:
* without the key field id to get a list of ProductStock
* with the key field id as the path parameter (the specific id of the ProductStock you want to get)
* to request the FieldInfo for this call

Fields

The following fields are available:

Field Name Type Name Length Required Writeable Force Write Link
list tpString 50 No No No
group tpString 50 No No No
nr1 tpString 100 No No No
nr2 tpString 100 No No No
brand tpString 150 No No No
description tpString 0 No No No
stock_location tpString 100 No No No
stock_locationid tpLong 0 No No No
barcode tpString 50 No No No
lotprice_unit tpCurrencyHD 0 No No No
lotprice_total tpCurrencyHD 0 No No No
quantity tpDouble 0 No No No
quantity_available tpDouble 0 No No No
unit tpString 10 No No No
purchase_price tpCurrencyHD 0 No No No
product_id tpLong 0 No No No

/ProductStock/

API Path: /ProductStock/

If everything succeeds the HTTP response status is 200
(200 OK)

If there is something wrong with the request, the response status and code is 400
(400 Bad Request)

If you forget to send the Authorization, the response status is 401
(401 Unauthorized)

If what you sent can’t be processed, the response status is 500
(500 Internal Server Error)

For an explanation of all possible errors, please consult our section on possible answers to API calls here

Examples:

https://ra.bouwsoft.be/api/v1/ProductStock

with the following parameters :

Header Parameters :
ParameterName: Clientnr, ParameterValue: 115
ParameterName: AccessToken, ParameterValue: PrDfWxfDkfzSfOjtAfzRqtrmfOmVfGrmfDbkzrUVOjUGtrtDII

Query Parameters :
ParameterName: filter, ParameterValue: nr1 eq ‘H.018’
ParameterName: limit, ParameterValue: 1
ParameterName: sort, ParameterValue: id

Success gives statuscode 200 And the following result

{ “Content-Range”:“0–0/3”, “Records”: [
  {
    "id": 90,
    "list": "HOUT",
    "group": "",
    "nr1": "H.018",
    "nr2": "",
    "brand": "",
    "description": "Panlat gedrenkt 24x38 Lengte 4,20Lm",
    "lot_id": "69",
    "lot_nr": "2789553–69",
    "lot_description": "",
    "lot_stocklocationid": 90,
    "stock_location": "Magazijn",
    "stock_locationid": 1,
    "barcode": "",
    "lotprice_unit": 0.32,
    "lotprice_total": 1344.0,
    "quantity": 4200,
    "quantity_reserved": 0,
    "quantity_available": 4200,
    "unit": "lm",
    "purchase_price": 0.32,
    "purchase_unit": "pallet",
    "product_id": 2789553
  }
]
}

https://ra.bouwsoft.be/api/v1/ProductStock

with the following parameters :

Header Parameters :
ParameterName: Clientnr, ParameterValue: 115
ParameterName: AccessToken, ParameterValue: PrDfWxfDkfzSfOjtAfzRqtrmfOmVfGrmfDbkzrUVOjUGtrtDII

Query Parameters :
ParameterName: filter, ParameterValue: nr1 eq ‘H.018’
ParameterName: limit, ParameterValue: 1
ParameterName: offset, ParameterValue:
ParameterName: sort, ParameterValue: -id

Success gives statuscode 200 And the following result

{ “Content-Range”:“0–0/3”, “Records”: [
  {
    "id": 92,
    "list": "HOUT",
    "group": "",
    "nr1": "H.018",
    "nr2": "",
    "brand": "",
    "description": "Panlat gedrenkt 24x38 Lengte 4,20Lm",
    "lot_id": "69",
    "lot_nr": "2789553–69",
    "lot_description": "",
    "lot_stocklocationid": 92,
    "stock_location": "Depot 2",
    "stock_locationid": 5,
    "barcode": "",
    "lotprice_unit": 0.32,
    "lotprice_total": 134.400000000000006,
    "quantity": 420,
    "quantity_reserved": 0,
    "quantity_available": 420,
    "unit": "lm",
    "purchase_price": 0.32,
    "purchase_unit": "pallet",
    "product_id": 2789553
  }
]
}

https://ra.bouwsoft.be/api/v1/ProductStock

with the following parameters :

Header Parameters :
ParameterName: Clientnr, ParameterValue: 115
ParameterName: AccessToken, ParameterValue: OtlfWxftVPzSfPDlIfzRqPkOfPmrfGrlfIVkzjtOfflGbVAUAb

Query Parameters :
ParameterName: filter, ParameterValue: quantity_reserved ne 0
ParameterName: limit, ParameterValue:

Success gives statuscode 200 And the following result

{ “Content-Range”:“0–5/6”, “Records”: [
  {
    "id": 134,
    "list": "TEGELS",
    "group": "",
    "nr1": "ch001",
    "nr2": "",
    "brand": "Coca-Cola",
    "description": "Chaudfontaine Stil (plat water)",
    "lot_id": "104",
    "lot_nr": "2777933–104",
    "lot_description": "",
    "lot_stocklocationid": 134,
    "stock_location": "Magazijn",
    "stock_locationid": 1,
    "barcode": "",
    "lotprice_unit": 0.9925,
    "lotprice_total": 150.860000000000014,
    "quantity": 152,
    "quantity_reserved": 100,
    "quantity_available": 52,
    "unit": "Fles",
    "purchase_price": 0.9925,
    "purchase_unit": "pak",
    "product_id": 2777933
  },
  {
    "id": 129,
    "list": "TEGELS",
    "group": "",
    "nr1": "TE.001",
    "nr2": "TE.001–2",
    "brand": "",
    "description": "Tegels Antraciet 41x41cm",
    "lot_id": "102",
    "lot_nr": "5653–102",
    "lot_description": "",
    "lot_stocklocationid": 129,
    "stock_location": "Magazijn",
    "stock_locationid": 1,
    "barcode": "",
    "lotprice_unit": 1.4912,
    "lotprice_total": 149.120000000000005,
    "quantity": 100,
    "quantity_reserved": 55.5,
    "quantity_available": 44.5,
    "unit": "st.",
    "purchase_price": 1.4912,
    "purchase_unit": "doos",
    "product_id": 5653
  }
,

]
}

https://ra.bouwsoft.be/api/v1/ProductStock

with the following parameters :

Header Parameters :
ParameterName: Clientnr, ParameterValue: 115
ParameterName: AccessToken, ParameterValue: trkfWxfbfkzSfmIPAfzRqjjGfrflfGAjfPPkzmPmOGVGAbDlkO

Query Parameters :
ParameterName: filter, ParameterValue: nr1 eq ‘H.018’
ParameterName: offset, ParameterValue:
ParameterName: sort, ParameterValue: stock_locationid

Success gives statuscode 200 And the following result

{ “Content-Range”:“0–2/3”, “Records”: [
  {
    "id": 90,
    "list": "HOUT",
    "group": "",
    "nr1": "H.018",
    "nr2": "",
    "brand": "",
    "description": "Panlat gedrenkt 24x38 Lengte 4,20Lm",
    "lot_id": "69",
    "lot_nr": "2789553–69",
    "lot_description": "",
    "lot_stocklocationid": 90,
    "stock_location": "Magazijn",
    "stock_locationid": 1,
    "barcode": "",
    "lotprice_unit": 0.32,
    "lotprice_total": 1343.3599999999999,
    "quantity": 4198,
    "quantity_reserved": 0,
    "quantity_available": 4198,
    "unit": "lm",
    "purchase_price": 0.32,
    "purchase_unit": "pallet",
    "product_id": 2789553
  },
  {
    "id": 91,
    "list": "HOUT",
    "group": "",
    "nr1": "H.018",
    "nr2": "",
    "brand": "",
    "description": "Panlat gedrenkt 24x38 Lengte 4,20Lm",
    "lot_id": "69",
    "lot_nr": "2789553–69",
    "lot_description": "",
    "lot_stocklocationid": 91,
    "stock_location": "Depot 1",
    "stock_locationid": 4,
    "barcode": "",
    "lotprice_unit": 0.32,
    "lotprice_total": 26.239999999999998,
    "quantity": 82,
    "quantity_reserved": 0,
    "quantity_available": 82,
    "unit": "lm",
    "purchase_price": 0.32,
    "purchase_unit": "pallet",
    "product_id": 2789553
  }
,

]
}

https://ra.bouwsoft.be/api/v1/ProductStock

with the following parameters :

Header Parameters :
ParameterName: Clientnr, ParameterValue: 115
ParameterName: AccessToken, ParameterValue: trkfWxfbfkzSfmIPAfzRqjjGfrflfGAjfPPkzmPmOGVGAbDlkO

Query Parameters :
ParameterName: filter, ParameterValue: nr1 eq ‘H.018’
ParameterName: sort, ParameterValue: stock_locationid

Success gives statuscode 200 And the following result

{ “Content-Range”:“0–2/3”, “Records”: [
  {
    "id": 90,
    "list": "HOUT",
    "group": "",
    "nr1": "H.018",
    "nr2": "",
    "brand": "",
    "description": "Panlat gedrenkt 24x38 Lengte 4,20Lm",
    "lot_id": "69",
    "lot_nr": "2789553–69",
    "lot_description": "",
    "lot_stocklocationid": 90,
    "stock_location": "Magazijn",
    "stock_locationid": 1,
    "barcode": "",
    "lotprice_unit": 0.32,
    "lotprice_total": 1343.3599999999999,
    "quantity": 4198,
    "quantity_reserved": 0,
    "quantity_available": 4198,
    "unit": "lm",
    "purchase_price": 0.32,
    "purchase_unit": "pallet",
    "product_id": 2789553
  },
  {
    "id": 91,
    "list": "HOUT",
    "group": "",
    "nr1": "H.018",
    "nr2": "",
    "brand": "",
    "description": "Panlat gedrenkt 24x38 Lengte 4,20Lm",
    "lot_id": "69",
    "lot_nr": "2789553–69",
    "lot_description": "",
    "lot_stocklocationid": 91,
    "stock_location": "Depot 1",
    "stock_locationid": 4,
    "barcode": "",
    "lotprice_unit": 0.32,
    "lotprice_total": 26.239999999999998,
    "quantity": 82,
    "quantity_reserved": 0,
    "quantity_available": 82,
    "unit": "lm",
    "purchase_price": 0.32,
    "purchase_unit": "pallet",
    "product_id": 2789553
  }
,

]
}

https://ra.bouwsoft.be/api/v1/ProductStock

with the following parameters :

Header Parameters :
ParameterName: Clientnr, ParameterValue: 115
ParameterName: AccessToken, ParameterValue: trkfWxfbfkzSfmIPAfzRqjjGfrflfGAjfPPkzmPmOGVGAbDlkO

Query Parameters :
ParameterName: filter, ParameterValue: nr1 eq ‘H.018’
ParameterName: sort, ParameterValue: stock_locationid

Success gives statuscode 200 And the following result

{ “Content-Range”:“0–2/3”, “Records”: [
  {
    "id": 90,
    "list": "HOUT",
    "group": "",
    "nr1": "H.018",
    "nr2": "",
    "brand": "",
    "description": "Panlat gedrenkt 24x38 Lengte 4,20Lm",
    "lot_id": "69",
    "lot_nr": "2789553–69",
    "lot_description": "",
    "lot_stocklocationid": 90,
    "stock_location": "Magazijn",
    "stock_locationid": 1,
    "barcode": "",
    "lotprice_unit": 0.32,
    "lotprice_total": 1344.0,
    "quantity": 4200,
    "quantity_reserved": 0,
    "quantity_available": 4200,
    "unit": "lm",
    "purchase_price": 0.32,
    "purchase_unit": "pallet",
    "product_id": 2789553
  },
  {
    "id": 91,
    "list": "HOUT",
    "group": "",
    "nr1": "H.018",
    "nr2": "",
    "brand": "",
    "description": "Panlat gedrenkt 24x38 Lengte 4,20Lm",
    "lot_id": "69",
    "lot_nr": "2789553–69",
    "lot_description": "",
    "lot_stocklocationid": 91,
    "stock_location": "Depot 1",
    "stock_locationid": 4,
    "barcode": "",
    "lotprice_unit": 0.32,
    "lotprice_total": 26.239999999999998,
    "quantity": 82,
    "quantity_reserved": 0,
    "quantity_available": 82,
    "unit": "lm",
    "purchase_price": 0.32,
    "purchase_unit": "pallet",
    "product_id": 2789553
  }
,

]
}

https://ra.bouwsoft.be/api/v1/ProductStock

with the following parameters :

Header Parameters :
ParameterName: AccessToken, ParameterValue: rPGfWxfVkGzSfIGUDtzRqkbbfGPkIOAAjVItztOADtrGDfrPPD
ParameterName: Clientnr, ParameterValue: 115

Query Parameters :
ParameterName: filter, ParameterValue:
ParameterName: sort, ParameterValue:

Success gives statuscode 200 And the following result

{ “Content-Range”:“0–33/34”, “Records”: [
  {
    "id": 136,
    "list": "SANICOMFORT",
    "group": "",
    "nr1": "00105571",
    "nr2": "10010000",
    "brand": "HANSGROHE",
    "description": "H.GR. AXOR STARCK WASTAFELMENGKRAAN CHROOM (10010000)",
    "lot_id": "105",
    "lot_nr": "2798708–105",
    "lot_description": "",
    "lot_stocklocationid": 136,
    "stock_location": "Magazijn",
    "stock_locationid": 1,
    "barcode": "",
    "lotprice_unit": 386.120000000000005,
    "lotprice_total": 6564.039999999999964,
    "quantity": 17,
    "quantity_reserved": 0,
    "quantity_available": 17,
    "unit": "st.",
    "purchase_price": 386.120000000000005,
    "purchase_unit": "st.",
    "product_id": 2798708
  },
  {
    "id": 94,
    "list": "TESTDIRK",
    "group": "",
    "nr1": "01.0001",
    "nr2": "",
    "brand": "",
    "description": "MANITOU MAN’GO 12 Categorie: kniktelescopische-hoogwerkers MANITOU MAN’GO 12, Diesel - Dagprijs: € 165, vanaf 2tot4 dagen: € 130, weekprijs: € 490, maandprijs: € 400 /week Accessoires : Operator - CAT 1, Werftank (mazout) 1100 l Vlarem II met tankpistool, Nummerplaat,",
    "lot_id": "71",
    "lot_nr": "2237653–71",
    "lot_description": "",
    "lot_stocklocationid": 94,
    "stock_location": "Magazijn",
    "stock_locationid": 1,
    "barcode": "",
    "lotprice_unit": 15.0,
    "lotprice_total": 150.0,
    "quantity": 10,
    "quantity_reserved": 0,
    "quantity_available": 10,
    "unit": "st.",
    "purchase_price": 15.0,
    "purchase_unit": "st.",
    "product_id": 2237653
  }
,

]
}

https://ra.bouwsoft.be/api/v1/ProductStock

with the following parameters :

Header Parameters :
ParameterName: AccessToken, ParameterValue: jPrfWxfOOmzSftOIktzRqbjOfDUOIOUfjVttzmfkOrjGmOkrAI
ParameterName: Clientnr, ParameterValue: 115

Success gives statuscode 200 And the following result

{ “Content-Range”:“0–33/34”, “Records”: [
  {
    "id": 136,
    "list": "SANICOMFORT",
    "group": "",
    "nr1": "00105571",
    "nr2": "10010000",
    "brand": "HANSGROHE",
    "description": "H.GR. AXOR STARCK WASTAFELMENGKRAAN CHROOM (10010000)",
    "lot_id": "105",
    "lot_nr": "2798708–105",
    "lot_description": "",
    "lot_stocklocationid": 136,
    "stock_location": "Magazijn",
    "stock_locationid": 1,
    "barcode": "",
    "lotprice_unit": 386.120000000000005,
    "lotprice_total": 6564.039999999999964,
    "quantity": 17,
    "quantity_reserved": 0,
    "quantity_available": 17,
    "unit": "st.",
    "purchase_price": 386.120000000000005,
    "purchase_unit": "st.",
    "product_id": 2798708
  },
  {
    "id": 94,
    "list": "TESTDIRK",
    "group": "",
    "nr1": "01.0001",
    "nr2": "",
    "brand": "",
    "description": "MANITOU MAN’GO 12 Categorie: kniktelescopische-hoogwerkers MANITOU MAN’GO 12, Diesel - Dagprijs: € 165, vanaf 2tot4 dagen: € 130, weekprijs: € 490, maandprijs: € 400 /week Accessoires : Operator - CAT 1, Werftank (mazout) 1100 l Vlarem II met tankpistool, Nummerplaat,",
    "lot_id": "71",
    "lot_nr": "2237653–71",
    "lot_description": "",
    "lot_stocklocationid": 94,
    "stock_location": "Magazijn",
    "stock_locationid": 1,
    "barcode": "",
    "lotprice_unit": 15.0,
    "lotprice_total": 150.0,
    "quantity": 10,
    "quantity_reserved": 0,
    "quantity_available": 10,
    "unit": "st.",
    "purchase_price": 15.0,
    "purchase_unit": "st.",
    "product_id": 2237653
  }
,

]
}

https://ra.bouwsoft.be/api/v1/ProductStock

with the following parameters :

Header Parameters :
ParameterName: AccessToken, ParameterValue: jllfWxfOVAzSfDrUbtzRqtjPfltrIOjjjmItzVfrDjlGrtfmOP
ParameterName: Clientnr, ParameterValue: 115

Query Parameters :
ParameterName: filter, ParameterValue: quantity_reserved ne 0
ParameterName: limit, ParameterValue:

Success gives statuscode 200 And the following result

{ “Content-Range”:“0–5/6”, “Records”: [
  {
    "id": 134,
    "list": "TEGELS",
    "group": "",
    "nr1": "ch001",
    "nr2": "",
    "brand": "Coca-Cola",
    "description": "Chaudfontaine Stil (plat water)",
    "lot_id": "104",
    "lot_nr": "2777933–104",
    "lot_description": "",
    "lot_stocklocationid": 134,
    "stock_location": "Magazijn",
    "stock_locationid": 1,
    "barcode": "",
    "lotprice_unit": 0.9925,
    "lotprice_total": 150.860000000000014,
    "quantity": 152,
    "quantity_reserved": 100,
    "quantity_available": 52,
    "unit": "Fles",
    "purchase_price": 0.9925,
    "purchase_unit": "pak",
    "product_id": 2777933
  },
  {
    "id": 129,
    "list": "TEGELS",
    "group": "",
    "nr1": "TE.001",
    "nr2": "TE.001–2",
    "brand": "",
    "description": "Tegels Antraciet 41x41cm",
    "lot_id": "102",
    "lot_nr": "5653–102",
    "lot_description": "",
    "lot_stocklocationid": 129,
    "stock_location": "Magazijn",
    "stock_locationid": 1,
    "barcode": "",
    "lotprice_unit": 1.4912,
    "lotprice_total": 149.120000000000005,
    "quantity": 100,
    "quantity_reserved": 55.5,
    "quantity_available": 44.5,
    "unit": "st.",
    "purchase_price": 1.4912,
    "purchase_unit": "doos",
    "product_id": 5653
  }
,

]
}

https://ra.bouwsoft.be/api/v1/ProductStock

with the following parameters :

Header Parameters :
ParameterName: AccessToken, ParameterValue: jllfWxfOVAzSfDrUbtzRqtjPfltrIOjjjmItzVfrDjlGrtfmOP
ParameterName: Clientnr, ParameterValue: 115

Query Parameters :
ParameterName: filter, ParameterValue: nr1 eq ‘H.018’
ParameterName: limit, ParameterValue: 1
ParameterName: sort, ParameterValue: id

Success gives statuscode 200 And the following result

{ “Content-Range”:“0–0/3”, “Records”: [
  {
    "id": 90,
    "list": "HOUT",
    "group": "",
    "nr1": "H.018",
    "nr2": "",
    "brand": "",
    "description": "Panlat gedrenkt 24x38 Lengte 4,20Lm",
    "lot_id": "69",
    "lot_nr": "2789553–69",
    "lot_description": "",
    "lot_stocklocationid": 90,
    "stock_location": "Magazijn",
    "stock_locationid": 1,
    "barcode": "",
    "lotprice_unit": 0.32,
    "lotprice_total": 1344.0,
    "quantity": 4200,
    "quantity_reserved": 0,
    "quantity_available": 4200,
    "unit": "lm",
    "purchase_price": 0.32,
    "purchase_unit": "pallet",
    "product_id": 2789553
  }
]
}

https://ra.bouwsoft.be/api/v1/ProductStock

with the following parameters :

Header Parameters :
ParameterName: AccessToken, ParameterValue: jllfWxfOVAzSfDrUbtzRqtjPfltrIOjjjmItzVfrDjlGrtfmOP
ParameterName: Clientnr, ParameterValue: 115

Query Parameters :
ParameterName: filter, ParameterValue: nr1 eq ‘H.018’
ParameterName: offset, ParameterValue:
ParameterName: sort, ParameterValue: stock_locationid

Success gives statuscode 200 And the following result

{ “Content-Range”:“0–2/3”, “Records”: [
  {
    "id": 90,
    "list": "HOUT",
    "group": "",
    "nr1": "H.018",
    "nr2": "",
    "brand": "",
    "description": "Panlat gedrenkt 24x38 Lengte 4,20Lm",
    "lot_id": "69",
    "lot_nr": "2789553–69",
    "lot_description": "",
    "lot_stocklocationid": 90,
    "stock_location": "Magazijn",
    "stock_locationid": 1,
    "barcode": "",
    "lotprice_unit": 0.32,
    "lotprice_total": 1343.3599999999999,
    "quantity": 4198,
    "quantity_reserved": 0,
    "quantity_available": 4198,
    "unit": "lm",
    "purchase_price": 0.32,
    "purchase_unit": "pallet",
    "product_id": 2789553
  },
  {
    "id": 91,
    "list": "HOUT",
    "group": "",
    "nr1": "H.018",
    "nr2": "",
    "brand": "",
    "description": "Panlat gedrenkt 24x38 Lengte 4,20Lm",
    "lot_id": "69",
    "lot_nr": "2789553–69",
    "lot_description": "",
    "lot_stocklocationid": 91,
    "stock_location": "Depot 1",
    "stock_locationid": 4,
    "barcode": "",
    "lotprice_unit": 0.32,
    "lotprice_total": 26.239999999999998,
    "quantity": 82,
    "quantity_reserved": 0,
    "quantity_available": 82,
    "unit": "lm",
    "purchase_price": 0.32,
    "purchase_unit": "pallet",
    "product_id": 2789553
  }
,

]
}

https://ra.bouwsoft.be/api/v1/ProductStock

with the following parameters :

Header Parameters :
ParameterName: AccessToken, ParameterValue: jllfWxfOVAzSfDrUbtzRqtjPfltrIOjjjmItzVfrDjlGrtfmOP
ParameterName: Clientnr, ParameterValue: 115

Query Parameters :
ParameterName: filter, ParameterValue: nr1 eq ‘H.018’
ParameterName: limit, ParameterValue: 1
ParameterName: offset, ParameterValue:
ParameterName: sort, ParameterValue: -id

Success gives statuscode 200 And the following result

{ “Content-Range”:“0–0/3”, “Records”: [
  {
    "id": 92,
    "list": "HOUT",
    "group": "",
    "nr1": "H.018",
    "nr2": "",
    "brand": "",
    "description": "Panlat gedrenkt 24x38 Lengte 4,20Lm",
    "lot_id": "69",
    "lot_nr": "2789553–69",
    "lot_description": "",
    "lot_stocklocationid": 92,
    "stock_location": "Depot 2",
    "stock_locationid": 5,
    "barcode": "",
    "lotprice_unit": 0.32,
    "lotprice_total": 134.400000000000006,
    "quantity": 420,
    "quantity_reserved": 0,
    "quantity_available": 420,
    "unit": "lm",
    "purchase_price": 0.32,
    "purchase_unit": "pallet",
    "product_id": 2789553
  }
]
}

https://ra.bouwsoft.be/api/v1/ProductStock

with the following parameters :

Header Parameters :
ParameterName: AccessToken, ParameterValue: jllfWxfOVAzSfDrUbtzRqtjPfltrIOjjjmItzVfrDjlGrtfmOP
ParameterName: Clientnr, ParameterValue: 115

Query Parameters :
ParameterName: filter, ParameterValue: nr1 eq ‘H.018’
ParameterName: sort, ParameterValue: stock_locationid

Success gives statuscode 200 And the following result

{ “Content-Range”:“0–2/3”, “Records”: [
  {
    "id": 90,
    "list": "HOUT",
    "group": "",
    "nr1": "H.018",
    "nr2": "",
    "brand": "",
    "description": "Panlat gedrenkt 24x38 Lengte 4,20Lm",
    "lot_id": "69",
    "lot_nr": "2789553–69",
    "lot_description": "",
    "lot_stocklocationid": 90,
    "stock_location": "Magazijn",
    "stock_locationid": 1,
    "barcode": "",
    "lotprice_unit": 0.32,
    "lotprice_total": 1343.3599999999999,
    "quantity": 4198,
    "quantity_reserved": 0,
    "quantity_available": 4198,
    "unit": "lm",
    "purchase_price": 0.32,
    "purchase_unit": "pallet",
    "product_id": 2789553
  },
  {
    "id": 91,
    "list": "HOUT",
    "group": "",
    "nr1": "H.018",
    "nr2": "",
    "brand": "",
    "description": "Panlat gedrenkt 24x38 Lengte 4,20Lm",
    "lot_id": "69",
    "lot_nr": "2789553–69",
    "lot_description": "",
    "lot_stocklocationid": 91,
    "stock_location": "Depot 1",
    "stock_locationid": 4,
    "barcode": "",
    "lotprice_unit": 0.32,
    "lotprice_total": 26.239999999999998,
    "quantity": 82,
    "quantity_reserved": 0,
    "quantity_available": 82,
    "unit": "lm",
    "purchase_price": 0.32,
    "purchase_unit": "pallet",
    "product_id": 2789553
  }
,

]
}

https://ra.bouwsoft.be/api/v1/ProductStock

with the following parameters :

Header Parameters :
ParameterName: AccessToken, ParameterValue: jllfWxfOVAzSfDrUbtzRqtjPfltrIOjjjmItzVfrDjlGrtfmOP
ParameterName: Clientnr, ParameterValue: 115

Query Parameters :
ParameterName: filter, ParameterValue: nr1 eq ‘H.018’
ParameterName: sort, ParameterValue: stock_locationid

Success gives statuscode 200 And the following result

{ “Content-Range”:“0–2/3”, “Records”: [
  {
    "id": 90,
    "list": "HOUT",
    "group": "",
    "nr1": "H.018",
    "nr2": "",
    "brand": "",
    "description": "Panlat gedrenkt 24x38 Lengte 4,20Lm",
    "lot_id": "69",
    "lot_nr": "2789553–69",
    "lot_description": "",
    "lot_stocklocationid": 90,
    "stock_location": "Magazijn",
    "stock_locationid": 1,
    "barcode": "",
    "lotprice_unit": 0.32,
    "lotprice_total": 1344.0,
    "quantity": 4200,
    "quantity_reserved": 0,
    "quantity_available": 4200,
    "unit": "lm",
    "purchase_price": 0.32,
    "purchase_unit": "pallet",
    "product_id": 2789553
  },
  {
    "id": 91,
    "list": "HOUT",
    "group": "",
    "nr1": "H.018",
    "nr2": "",
    "brand": "",
    "description": "Panlat gedrenkt 24x38 Lengte 4,20Lm",
    "lot_id": "69",
    "lot_nr": "2789553–69",
    "lot_description": "",
    "lot_stocklocationid": 91,
    "stock_location": "Depot 1",
    "stock_locationid": 4,
    "barcode": "",
    "lotprice_unit": 0.32,
    "lotprice_total": 26.239999999999998,
    "quantity": 82,
    "quantity_reserved": 0,
    "quantity_available": 82,
    "unit": "lm",
    "purchase_price": 0.32,
    "purchase_unit": "pallet",
    "product_id": 2789553
  }
,

]
}

/ProductStock/{id}

If everything succeeds the HTTP response status is 200
(200 OK)

If there is something wrong with the request, the response status and code is 400
(400 Bad Request)

If there is no record that has the requested id the HTTP response status and code is 404
(404 Not found)

If you forget to send the Authorization, the response status is 401
(401 Unauthorized)

If what you sent can’t be processed, the response status is 500
(500 Internal Server Error)

For an explanation of all possible errors, please consult our section on possible answers to API calls here

Examples:

https://ra.bouwsoft.be/api/v1/ProductStock/94

with the following parameters :

Header Parameters :
ParameterName: Clientnr, ParameterValue: 115
ParameterName: AccessToken, ParameterValue: PrDfWxfDkfzSfOjtAfzRqtrmfOmVfGrmfDbkzrUVOjUGtrtDII

Success gives statuscode 200 And the following result

{ “Content-Range”:“0–0/1”, “Records”: [
  {
    "id": 94,
    "list": "TESTDIRK",
    "group": "",
    "nr1": "01.0001",
    "nr2": "",
    "brand": "",
    "description": "MANITOU MAN’GO 12 Categorie: kniktelescopische-hoogwerkers MANITOU MAN’GO 12, Diesel - Dagprijs: € 165, vanaf 2tot4 dagen: € 130, weekprijs: € 490, maandprijs: € 400 /week Accessoires : Operator - CAT 1, Werftank (mazout) 1100 l Vlarem II met tankpistool, Nummerplaat,",
    "lot_id": "71",
    "lot_nr": "2237653–71",
    "lot_description": "",
    "lot_stocklocationid": 94,
    "stock_location": "Magazijn",
    "stock_locationid": 1,
    "barcode": "",
    "lotprice_unit": 15.0,
    "lotprice_total": 150.0,
    "quantity": 10,
    "quantity_reserved": 0,
    "quantity_available": 10,
    "unit": "st.",
    "purchase_price": 15.0,
    "purchase_unit": "st.",
    "product_id": 2237653
  }
]
}

https://ra.bouwsoft.be/api/v1/ProductStock/94

with the following parameters :

Header Parameters :
ParameterName: AccessToken, ParameterValue: jllfWxfOVAzSfDrUbtzRqtjPfltrIOjjjmItzVfrDjlGrtfmOP
ParameterName: Clientnr, ParameterValue: 115

Success gives statuscode 200 And the following result

{ “Content-Range”:“0–0/1”, “Records”: [
  {
    "id": 94,
    "list": "TESTDIRK",
    "group": "",
    "nr1": "01.0001",
    "nr2": "",
    "brand": "",
    "description": "MANITOU MAN’GO 12 Categorie: kniktelescopische-hoogwerkers MANITOU MAN’GO 12, Diesel - Dagprijs: € 165, vanaf 2tot4 dagen: € 130, weekprijs: € 490, maandprijs: € 400 /week Accessoires : Operator - CAT 1, Werftank (mazout) 1100 l Vlarem II met tankpistool, Nummerplaat,",
    "lot_id": "71",
    "lot_nr": "2237653–71",
    "lot_description": "",
    "lot_stocklocationid": 94,
    "stock_location": "Magazijn",
    "stock_locationid": 1,
    "barcode": "",
    "lotprice_unit": 15.0,
    "lotprice_total": 150.0,
    "quantity": 10,
    "quantity_reserved": 0,
    "quantity_available": 10,
    "unit": "st.",
    "purchase_price": 15.0,
    "purchase_unit": "st.",
    "product_id": 2237653
  }
]
}

/ProductStock/FieldInfo

If everything succeeds the HTTP response status is 200
(200 OK)

If there is something wrong with the request, the response status and code is 400
(400 Bad Request)

If there is no record that has the requested id the HTTP response status and code is 404
(404 Not found)

If you forget to send the Authorization, the response status is 401
(401 Unauthorized)

If what you sent can’t be processed, the response status is 500
(500 Internal Server Error)

For an explanation of all possible errors, please consult our section on possible answers to API calls here

Examples:

https://ra.bouwsoft.be/api/v1/ProductStock/FieldInfo

with the following parameters :

Header Parameters :
ParameterName: AccessToken, ParameterValue: UOIfWxffkAzSfrUjPtzRqUUbfkrkIOlljbPtzDDlVrfGjAmtfb
ParameterName: Clientnr, ParameterValue: 115

Success gives statuscode 200 And the following result

[
  {
    "name": "list",
    "type_id": 2,
    "type_name": "tpString",
    "length": 50,
    "required": false,
    "writeable": false,
    "forcewrite": false,
    "link": ""
  },
  {
    "name": "group",
    "type_id": 2,
    "type_name": "tpString",
    "length": 50,
    "required": false,
    "writeable": false,
    "forcewrite": false,
    "link": ""
  }
,

]

https://ra.bouwsoft.be/api/v1/ProductStock/FieldInfo

with the following parameters :

Header Parameters :
ParameterName: AccessToken, ParameterValue: jPrfWxfOOmzSftOIktzRqbjOfDUOIOUfjVttzmfkOrjGmOkrAI
ParameterName: Clientnr, ParameterValue: 115

Success gives statuscode 200 And the following result

[
  {
    "name": "list",
    "type_id": 2,
    "type_name": "tpString",
    "length": 50,
    "required": false,
    "writeable": false,
    "forcewrite": false,
    "link": ""
  },
  {
    "name": "group",
    "type_id": 2,
    "type_name": "tpString",
    "length": 50,
    "required": false,
    "writeable": false,
    "forcewrite": false,
    "link": ""
  }
,

]