Bending
Get bending parameterβ
This endpoint allows you to GET all buildingsites who have set the attribute Show in banding App
URL : /bending-parameter
Method :
Auth required : Yes
Permissions required : No
Pagination : None
Query parameters : None
Success Responseβ
Code : 200 OK
Content example
{
"sLogoPath": "",
"sText1": "",
"sText2": "",
"shtMinDateDays": 0
}
Get buildingsites (multiple)β
This endpoint allows you to GET all buildingsites who have set the attribute Show in banding App
URL : /buildingsites
Method :
Auth required : Yes
Permissions required : No
Pagination : Yes
Query parameters : bFavorite (true OR false) and default filters
Success Responseβ
Condition : If buildingsites are found (in this example with Parameter bFavorite = true).
Code : 200 OK
Content example
{
"perPage": 5,
"lastPage": "1",
"currentPage": "1",
"total": 2,
"data": [
{
"bFavorite": true,
"dtEntryDate": 1301484937000,
"lngCustomerID": 10010,
"lngProjectID": 10010,
"sProjectName": "LOBOS Informatik AG"
},
{
"bFavorite": true,
"dtEntryDate": 1623152002000,
"lngCustomerID": 10010,
"lngProjectID": 2021849,
"sProjectName": "LOBOS Informatik AG"
}
]
}
or
Condition : no buildingsites are found.
Content example
{
"text": "Projekt(e) nicht gefunden."
}
Get buildingsites (single)β
This endpoint allows you to GET a buildingsite per id who have set the attribute Show in banding App
URL : /buildingsites/:id
Method :
Auth required : Yes
Permissions required : No
Pagination : No
Success Responseβ
Condition : If a buildingsite is found.
Code : 200 OK
Content example
{
"bFavorite": true,
"dtEntryDate": 1301484937000,
"lngCustomerID": 10010,
"lngProjectID": 10010,
"sProjectName": "LOBOS Informatik AG"
}
or
Condition : no buildingsites are found.
Content example
{
"text": "Projekt(e) nicht gefunden."
}
Get buildingsites-itemsβ
This endpoint allows you to GET all items of a buildingsites.
General Condition: Bendingapp-Status != Delivered OR Bendingapp-DeliveryDate >= (DayDate - (BendingappParameter[DaysShowDelivered]))
URL : /buildingsites/:id/items
Method :
Auth required : Yes
Permissions required : No
Pagination : Yes
Query parameters : default filters
Success Responseβ
Condition : If buildingsites are found.
Code : 200 OK
Content example
{
"perPage": 5,
"lastPage": "1",
"currentPage": "1",
"total": 1,
"data": [
{
"decTotalOrderNetWeight": 60.000000000,
"dtDeliveryDate": 1625270400000,
"lngOrderID": 2073581,
"sBauteil": "BAUUU",
"sOrderType": "5",
"sTrennPlanNr": "TestRB",
"shtBendingAppStatus": 2
}
]
}
or
Condition : no buildingsites are found.
Content example
{
"text": "Auftrag nicht gefunden"
}
Get buildingsites-statisticsβ
This endpoint allows you to GET a statistic over all buildingsites.
URL : /buildingsites-statistics
Method :
Auth required : Yes
Permissions required : No
Pagination : Yes
Query parameters : default filters
Success Responseβ
Condition : If buildingsites are found.
Code : 200 OK
Content example
{
"perPage": 5,
"lastPage": "1",
"currentPage": "1",
"total": 3,
"data": [
{
"decTotalWeight": 60.000000000,
"lngProjectID": 10010,
"sProjectName": "LOBOS Informatik AG"
},
{
"decTotalWeight": 0,
"lngProjectID": 2019727,
"sProjectName": "Praktikum"
},
{
"decTotalWeight": 0,
"lngProjectID": 2021849,
"sProjectName": "LOBOS Informatik AG"
}
]
}
or
Condition : no buildingsites are found.
Content example
{
"perPage": 5,
"lastPage": "1",
"currentPage": "1",
"total": 3,
"data": [
{
"decTotalWeight": 0,
"lngProjectID": 10010,
"sProjectName": "LOBOS Informatik AG"
},
{
"decTotalWeight": 0,
"lngProjectID": 2019727,
"sProjectName": "Praktikum"
},
{
"decTotalWeight": 0,
"lngProjectID": 2021849,
"sProjectName": "LOBOS Informatik AG"
}
]
}
Get buildingsites-statistics-itemsβ
This endpoint allows you to GET a statistic over a selected buildingsite.
URL : /buildingsites-statistics/:id/items
Method :
Auth required : Yes
Permissions required : No
Pagination : No
Query parameters : default filters
Success Responseβ
Condition : If items are found.
Code : 200 OK
Content example
[
{
"decWeight": 60.000000000,
"dtDatum": 1625270400000,
"lngProjectID": 10010,
"sArticleName": "PC Leser",
"sProjectName": "LOBOS Informatik AG"
},
{
"decWeight": 60.000000000,
"dtDatum": null,
"lngProjectID": 10010,
"sArticleName": "PC Leser",
"sProjectName": "LOBOS Informatik AG"
}
]
or
Condition : no items are found.
Content example
[]
Update buildingsitesβ
This endpoint allows you to update a buildingsite.
URL : /buildingsites/:id
Method :
Auth required : Yes
Permissions required : No
Body
{
"bFavorite": true,
"dtEntryDate": 1301484937000,
"lngCustomerID": 10010,
"lngProjectID": 2019727,
"sProjectName": "LOBOS Informatik AG"
}
Success Responseβ
Condition : If the buildingsite is successfully updated.
Code : 200 OK
Content example
{
"bFavorite": true,
"dtEntryDate": 1301484937000,
"lngCustomerID": 10010,
"lngProjectID": 2019727,
"sProjectName": "LOBOS Informatik AG"
}
Release buildingsitesβ
This endpoint allows you to release a buildingsite.
URL : /buildingsites/release
Method :
Auth required : Yes
Permissions required : No
Body
{
"lngOrderID": 2073581,
"sOrderType": "5",
"dtDeliveryDate": 1623628800000,
"dtNewDeliveryDate": 1625270400000,
"bCrane:": true,
"sRemark": "helloooooo",
"shtBendingAppStatus": 1
}
Success Responseβ
Condition : If the buildingsite is successfully released.
Code : 200 OK
Content example
{
"text": "Auftrag ausgelΓΆst"
}