Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions create-travel.http
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
### Create a new Travel (Admin User)
POST http://localhost:8080/odata/v4/travel/Travels
Content-Type: application/json
Authorization: Basic YWRtaW46

{
"Description": "Business Trip to Berlin",
"BeginDate": "2026-04-15",
"EndDate": "2026-04-18",
"BookingFee": 50,
"Currency_code": "EUR",
"Agency_ID": "070001",
"Customer_ID": "000001"
}


### Create a new Travel Draft using draftNew action (Admin User)
POST http://localhost:8080/odata/v4/travel/Travels/TravelService.draftNew
Content-Type: application/json
Authorization: Basic YWRtaW46

{
"ID" : 666
}

5 changes: 5 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,10 @@
"@sap/cds": "^9",
"@sap/ams": "^3"
},
"cds": {
"fiori": {
"direct_crud": "true"
}
},
"license": "Apache-2.0"
}
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

<!-- DEPENDENCIES VERSION -->
<jdk.version>21</jdk.version>
<cds.services.version>4.8.0</cds.services.version>
<cds.services.version>4.9.0</cds.services.version>
<spring.boot.version>3.5.12</spring.boot.version>
<sap.cloud.sdk.version>5.27.0</sap.cloud.sdk.version>
<sap.cloud.security.version>3.6.8</sap.cloud.security.version>
Expand Down
Loading