DELETE api/v1/product/voorraadlocatie/delete
Requires authentication
Verwijderen van een ProductVoorraadLocatie
Parameter | Type | Status | Description |
---|---|---|---|
ProductVoorraadLocatieID | integer | required |
curl -X DELETE "/api/v1/product/voorraadlocatie/delete" \
-H "Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjE3ZjRkN2Y4YjI1NWVmMWFmMWY5MDFiOTcyODY1MDkyOTdlZjhmOGE4ZGJlZTNmZWFkYmRiODM0YjZkN2NhZjQ4YzZlODk4ZDE5YWFlNjdmIn0.eyJhdWQiOiIxIiwianRpIjoiMTdmNGQ3ZjhiMjU1ZWYxYWYxZjkwMWI5NzI4NjUwOTI5N2VmOGY4YThkYmVlM2ZlYWRiZGI4MzRiNmQ3Y2FmNDhjNmU4OThkMTlhYWU2N2YiLCJpYXQiOjE2NzA0OTY2NTUsIm5iZiI6MTY3MDQ5NjY1NSwiZXhwIjoxNzAyMDMyNjU1LCJzdWIiOiIyIiwic2NvcGVzIjpbXX0.Nz6o13kbkhxqTwiE_7sXqC34tEXLDPubMCV19Fqhe38yAdue38dYe3TcASionN6bletxN0cPfxwjF7Pn4dWx8F-6b-NO8SWCJTMzyZDpLf8mITwzrFFvCNquk1JJ-haMay81pUUlcSHaOZNHjP0JCOE-gr35dvx9-BpaLUulwkMqSiDXuiw2ex0prA8UIt1IKJw54baI9mHb5ThU5Eonzdyyk2BLqEXoIuXmkWGrh2GTagVg-SE1r-uS1xHpsJYCtRnAc5sbqQDl8gnYb4gSwuiik6vpFOL7SOiluPj-mDl6okBgNBdoU5KiBjgF4RcOWBKFHMKl0IHidy4ewbJad47riWHIseNdeIod0VPFB7D4vJCzbbZHHb6soY57kLIHwmaf-ugr_QGUT7XqvFY-OPhu5PbfVwR-O6yItnYhW4NGERgVMKVwo1UYpOkhLrWJzE6X9vSLj8yOPUILyrkgzBRCcjE98Wah25bA5ERWP-Ocu2zVSXQ3t7clgcNUae-K-4-Z7YQ8ef8CpdcLdT65b4ZpFpDYSJ-WoHux5HH6hVWa_ZJfphZr-I4PiUvA210Lzqk81DiKD8Qby5_JsCPJLV1dNSLSbZGKsZDThXmw9E7vHoteMKSCoOIo2BoQX8rNEz0lFSbqdr3GgEvS20A546leNGtwGBnIRlsPAvT1J9I" \
-H "Content-Type: application/json" \
-d '{"ProductVoorraadLocatieID":20}'
Example response (200):
{
"id": 571,
"succes": true
}
POST api/v1/product/voorraadlocatie/update
Requires authentication
Aanpassen van een product voorraadlocatie
Parameter | Type | Status | Description |
---|---|---|---|
ProductVoorraadLocatieID | integer | required | |
ProductID | integer | required | endpoint: api/v1/product/detail/{id} |
VoorraadLocatieID | integer | required | api/v1/product/voorraadlocatie/all/{id} |
StellingID | integer | optional | |
SchapID | integer | optional | |
Standaard | boolean | optional |
curl -X POST "/api/v1/product/voorraadlocatie/update" \
-H "Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjE3ZjRkN2Y4YjI1NWVmMWFmMWY5MDFiOTcyODY1MDkyOTdlZjhmOGE4ZGJlZTNmZWFkYmRiODM0YjZkN2NhZjQ4YzZlODk4ZDE5YWFlNjdmIn0.eyJhdWQiOiIxIiwianRpIjoiMTdmNGQ3ZjhiMjU1ZWYxYWYxZjkwMWI5NzI4NjUwOTI5N2VmOGY4YThkYmVlM2ZlYWRiZGI4MzRiNmQ3Y2FmNDhjNmU4OThkMTlhYWU2N2YiLCJpYXQiOjE2NzA0OTY2NTUsIm5iZiI6MTY3MDQ5NjY1NSwiZXhwIjoxNzAyMDMyNjU1LCJzdWIiOiIyIiwic2NvcGVzIjpbXX0.Nz6o13kbkhxqTwiE_7sXqC34tEXLDPubMCV19Fqhe38yAdue38dYe3TcASionN6bletxN0cPfxwjF7Pn4dWx8F-6b-NO8SWCJTMzyZDpLf8mITwzrFFvCNquk1JJ-haMay81pUUlcSHaOZNHjP0JCOE-gr35dvx9-BpaLUulwkMqSiDXuiw2ex0prA8UIt1IKJw54baI9mHb5ThU5Eonzdyyk2BLqEXoIuXmkWGrh2GTagVg-SE1r-uS1xHpsJYCtRnAc5sbqQDl8gnYb4gSwuiik6vpFOL7SOiluPj-mDl6okBgNBdoU5KiBjgF4RcOWBKFHMKl0IHidy4ewbJad47riWHIseNdeIod0VPFB7D4vJCzbbZHHb6soY57kLIHwmaf-ugr_QGUT7XqvFY-OPhu5PbfVwR-O6yItnYhW4NGERgVMKVwo1UYpOkhLrWJzE6X9vSLj8yOPUILyrkgzBRCcjE98Wah25bA5ERWP-Ocu2zVSXQ3t7clgcNUae-K-4-Z7YQ8ef8CpdcLdT65b4ZpFpDYSJ-WoHux5HH6hVWa_ZJfphZr-I4PiUvA210Lzqk81DiKD8Qby5_JsCPJLV1dNSLSbZGKsZDThXmw9E7vHoteMKSCoOIo2BoQX8rNEz0lFSbqdr3GgEvS20A546leNGtwGBnIRlsPAvT1J9I" \
-H "Content-Type: application/json" \
-d '{"ProductVoorraadLocatieID":5,"ProductID":5,"VoorraadLocatieID":12,"StellingID":2,"SchapID":13,"Standaard":true}'
Example response (200):
{
"id": 12292,
"success": true
}
PUT api/v1/product/voorraadlocatie/create
Requires authentication
Aanmaken van een product voorraadlocatie
Parameter | Type | Status | Description |
---|---|---|---|
ProductID | integer | required | endpoint: api/v1/product/detail/{id} |
VoorraadLocatieID | integer | required | api/v1/product/voorraadlocatie/all/{id} |
StellingID | integer | optional | |
SchapID | integer | optional | |
Standaard | boolean | optional |
curl -X PUT "/api/v1/product/voorraadlocatie/create" \
-H "Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjE3ZjRkN2Y4YjI1NWVmMWFmMWY5MDFiOTcyODY1MDkyOTdlZjhmOGE4ZGJlZTNmZWFkYmRiODM0YjZkN2NhZjQ4YzZlODk4ZDE5YWFlNjdmIn0.eyJhdWQiOiIxIiwianRpIjoiMTdmNGQ3ZjhiMjU1ZWYxYWYxZjkwMWI5NzI4NjUwOTI5N2VmOGY4YThkYmVlM2ZlYWRiZGI4MzRiNmQ3Y2FmNDhjNmU4OThkMTlhYWU2N2YiLCJpYXQiOjE2NzA0OTY2NTUsIm5iZiI6MTY3MDQ5NjY1NSwiZXhwIjoxNzAyMDMyNjU1LCJzdWIiOiIyIiwic2NvcGVzIjpbXX0.Nz6o13kbkhxqTwiE_7sXqC34tEXLDPubMCV19Fqhe38yAdue38dYe3TcASionN6bletxN0cPfxwjF7Pn4dWx8F-6b-NO8SWCJTMzyZDpLf8mITwzrFFvCNquk1JJ-haMay81pUUlcSHaOZNHjP0JCOE-gr35dvx9-BpaLUulwkMqSiDXuiw2ex0prA8UIt1IKJw54baI9mHb5ThU5Eonzdyyk2BLqEXoIuXmkWGrh2GTagVg-SE1r-uS1xHpsJYCtRnAc5sbqQDl8gnYb4gSwuiik6vpFOL7SOiluPj-mDl6okBgNBdoU5KiBjgF4RcOWBKFHMKl0IHidy4ewbJad47riWHIseNdeIod0VPFB7D4vJCzbbZHHb6soY57kLIHwmaf-ugr_QGUT7XqvFY-OPhu5PbfVwR-O6yItnYhW4NGERgVMKVwo1UYpOkhLrWJzE6X9vSLj8yOPUILyrkgzBRCcjE98Wah25bA5ERWP-Ocu2zVSXQ3t7clgcNUae-K-4-Z7YQ8ef8CpdcLdT65b4ZpFpDYSJ-WoHux5HH6hVWa_ZJfphZr-I4PiUvA210Lzqk81DiKD8Qby5_JsCPJLV1dNSLSbZGKsZDThXmw9E7vHoteMKSCoOIo2BoQX8rNEz0lFSbqdr3GgEvS20A546leNGtwGBnIRlsPAvT1J9I" \
-H "Content-Type: application/json" \
-d '{"ProductID":7,"VoorraadLocatieID":6,"StellingID":20,"SchapID":19,"Standaard":true}'
Example response (200):
{
"id": 12292,
"success": true
}
GET api/v1/product/voorraadlocatie/all/{ID}
Requires authentication
Omschrijving:
Ophalen van de product voorraad locatie objecten
curl -X GET -G "/api/v1/product/voorraadlocatie/all/1" \
-H "Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSU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raadLocatieID": 230,
"ProductID": 741,
"VoorraadLocatieID": 2,
"StellingID": 61,
"SchapID": null,
"Standaard": true
},
{
"ProductVoorraadLocatieID": 231,
"ProductID": 742,
"VoorraadLocatieID": 1,
"StellingID": 67,
"SchapID": null,
"Standaard": false
}
]