Retreive a list of project material bookings from your administration. Use offset and limit parameters to retrieve more bookings over multiple calls. It is also possible to retreive only bookings relating to a single project, warehouse or product by using the optional parameters “Project”, “SelectProjectBy”, “Warehouse” and “Product_Number”.
- Request
- Response
Parameters
CURL Example
1 |
curl -X GET -H "Content-Type: application/json" -H "ApiKey: b7d343Bnhd436f3ec3bd3504582" -H "Username: [email protected]" "https://rest-api.silvasoft.nl/rest/listprojectmaterialbookingProject=Example&SelectProjectBy=NAME&Limit=10" |
Parameters
Response JSON Example
The response order can vary from the parameter order above
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 |
[ { "Warehouse": "Magazijn Amsterdam", "Description": "test", "Shelf": "2", "Product_Name": "Test API product", "Quantity": "10.00000000", "MaterialBookings_Project": { "Description": "test project", "Number": 1, "Customer_Name": "Customer", "Customer_Number": 33, "Name": "Example project" }, "Product_SupplierName": "test Supplier", "MaterialBookings_CustomField_Product": [ { "DateTimeValue": null, "DecimalValue": "0", "BooleanValue": false, "Label": "Getal", "DataType": "String", "CreateListItem": true, "StringValue": "string", "IntValue": 0, "TypeOfRelation": null, "FieldType": "TextSmall" }, { "DateTimeValue": null, "DecimalValue": "0E-8", "BooleanValue": false, "Label": "Vrije tekst groot", "DataType": "String", "CreateListItem": true, "StringValue": "lots of text", "IntValue": 0, "TypeOfRelation": null, "FieldType": "TextLarge" } ], "Batch": "1", "EntryDate": 1700134795759, "Product_SupplierNumber": 2, "Product_Number": "1", "Product_PurchasePrice": "9.12345000" } ] |