- Code: Select all
POST /Inventory/{InventoryID}/Documents
and can't figure out how to set the DocumentType via the query parameters.
I have tried two different values for DocumentType, but neither of them work:
1. a complete DocumentType object as returned from the API: GET /Inventory/DocumentTypes/{DocumentTypeID}. This saves the document in Jiwa but sets its type to "Default Type"
2. an existing DocumentTypeID. This results in an error: 400 Bad Request
Would appreciate any ideas on how to solve this problem.