diff --git a/suppliers/.env b/suppliers/.env new file mode 100644 index 00000000..616dd8d0 --- /dev/null +++ b/suppliers/.env @@ -0,0 +1,2 @@ +cds.requires.messaging.kind = file-based-messaging +PORT = 4006 \ No newline at end of file diff --git a/suppliers/requests.http b/suppliers/requests.http index 423e1d7c..8913944c 100644 --- a/suppliers/requests.http +++ b/suppliers/requests.http @@ -33,3 +33,17 @@ Content-Type: application/json GET {{server}}/admin/Books?$top=11&$expand=supplier {{authAlice}} + +@S4bupa = http://localhost:4006/api-business-partner + +################################################# +# +# Suppliers Service (-> S/4) +# + +PATCH {{S4bupa}}/A_BusinessPartner('ACME') +Content-Type: application/json + +{ "FirstName":"ACME" } + +###