Update genres.http

This commit is contained in:
Daniel Hutzel
2024-07-15 18:30:12 +02:00
parent 82c633ce01
commit b8d389a40a

View File

@@ -3,15 +3,15 @@
# Genres # Genres
# #
GET http://localhost:4004/test/Genres? GET http://localhost:4004/odata/v4/test/Genres?
### ###
GET http://localhost:4004/test/Genres? GET http://localhost:4004/odata/v4/test/Genres?
&$filter=parent_ID eq null&$select=name &$filter=parent_ID eq null&$select=name
&$expand=children($select=name) &$expand=children($select=name)
### ###
POST http://localhost:4004/test/Genres? POST http://localhost:4004/odata/v4/test/Genres?
Content-Type: application/json Content-Type: application/json
{ "ID":100, "name":"Some Sample Genres...", "children":[ { "ID":100, "name":"Some Sample Genres...", "children":[
@@ -26,13 +26,13 @@ Content-Type: application/json
]} ]}
### ###
GET http://localhost:4004/test/Genres(100)? GET http://localhost:4004/odata/v4/test/Genres(100)?
# &$expand=children # &$expand=children
# &$expand=children($expand=children($expand=children($expand=children))) # &$expand=children($expand=children($expand=children($expand=children)))
### ###
DELETE http://localhost:4004/test/Genres(103) DELETE http://localhost:4004/odata/v4/test/Genres(103)
### ###
DELETE http://localhost:4004/test/Genres(100) DELETE http://localhost:4004/odata/v4/test/Genres(100)
### ###