Order
Find related objects
Changed onGet related objects of a specified order
get/Order/{orderId}/getRelatedObjects
Request
- Base URLhttps://my.sevdesk.de/api/v1
- AuthAPI key in header Authorization
Path parameters
orderIdinteger required
ID of order to return the positions
Query parameters
includeItselfboolean
Define if the related objects include the order itself
sortByTypeboolean
Define if you want the related objects sorted by type
embedstring[]
Get some additional information. Embed can handle multiple values, they must be separated by comma.
Response
Successful operation
Example response
{
"objects": [
{
"id": "0",
"objectName": "OrderPos",
"create": "01.01.2020",
"update": "01.01.2020",
"order": {
"id": "0",
"objectName": "Order"
},
"part": {
"id": "0",
"objectName": "Part"
},
"quantity": "1",
"price": "100",
"priceNet": "100",
"priceTax": "19",
"priceGross": "119",
"name": "Dragonglass",
"unity": {
"id": "0",
"objectName": "Unity"
},
"sevClient": {
"id": "0"
},
"positionNumber": "1",
"taxRate": "19"
}
]
}Changes
- info
the endpoint scheme security
api_keywas added to the API
- info