Initial commit: sap-legacy-webhook-emulator
Reconstruye el Webhook Messenger nativo de SAP B1 (FP2605) para clientes que aun no estan en esa version: captura eventos via SBO_SP_PostTransactionNotice, provisiona UserTables OEVC/EVC1/OEVN/EVN1 y despacha CloudEvents al mismo endpoint que el messenger real. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
commit
e1c8ee9015
42 files changed
+4042
No files matched your search
@@ -0,0 +1,51 @@
|
||||
@url=https://hw-cloud-su2.dot-solutions.cloud:50000/b1s/v1
|
||||
|
||||
|
||||
###
|
||||
# @no-reject-unauthorized
|
||||
POST {{url}}/Login
|
||||
Content-Type: application/json
|
||||
|
||||
{
|
||||
"CompanyDB": "SBOTSTLIBROS",
|
||||
"UserName": "dot-solutions\\dot.zmarcano",
|
||||
"Password": "<SL_PASSWORD>"
|
||||
}
|
||||
|
||||
###
|
||||
# @no-reject-unauthorized
|
||||
|
||||
GET {{url}}/PurchaseDeliveryNotes?$select=DocEntry,DocNum,DocCurrency,DocDate,CardCode,CardName,&$filter=CardCode eq '93250000-0P'and DocumentStatus eq 'bost_Open' and DocType eq 'dDocument_Items'
|
||||
|
||||
###
|
||||
# @no-reject-unauthorized
|
||||
|
||||
GET {{url}}/PurchaseDeliveryNotes(4020)
|
||||
|
||||
###
|
||||
# @no-reject-unauthorized
|
||||
|
||||
POST {{url}}/PurchaseReturns
|
||||
Content-Type: application/json
|
||||
|
||||
{
|
||||
"DocType": "dDocument_Items",
|
||||
"CardCode": "93250000-0P",
|
||||
"DocDate": "2026-09-09T00:00:00Z",
|
||||
"DocCurrency": "CLP",
|
||||
"DocumentLines":[
|
||||
{
|
||||
"BaseType":20,
|
||||
"BaseEntry":477,
|
||||
"BaseLine":0,
|
||||
"Quantity":1
|
||||
},
|
||||
{
|
||||
"BaseType":20,
|
||||
"BaseEntry":4020,
|
||||
"BaseLine":0,
|
||||
"Quantity":2
|
||||
}
|
||||
]
|
||||
|
||||
}
|
||||
@@ -0,0 +1,51 @@
|
||||
@url=https://hw-cloud-su2.dot-solutions.cloud:50000/b1s/v1
|
||||
|
||||
|
||||
###
|
||||
# @no-reject-unauthorized
|
||||
POST {{url}}/Login
|
||||
Content-Type: application/json
|
||||
|
||||
{
|
||||
"CompanyDB": "SBOTSTLIBROS",
|
||||
"UserName": "dot-solutions\\dot.zmarcano",
|
||||
"Password": "<SL_PASSWORD>"
|
||||
}
|
||||
|
||||
###
|
||||
# @no-reject-unauthorized
|
||||
|
||||
GET {{url}}/Items('8435174921233F')
|
||||
|
||||
|
||||
###
|
||||
# @no-reject-unauthorized
|
||||
|
||||
PATCH {{url}}/Items('8435174921233F')
|
||||
Content-Type: application/json
|
||||
|
||||
{
|
||||
"ForeignName":"MONSTRUO DE COLORES - SL6",
|
||||
"BarCode": "8435174921233"
|
||||
}
|
||||
|
||||
###
|
||||
# @no-reject-unauthorized
|
||||
|
||||
GET {{url}}/BusinessPartners('76039758-KP')
|
||||
|
||||
###
|
||||
# @no-reject-unauthorized
|
||||
|
||||
PATCH {{url}}/BusinessPartners('76039758-KP')
|
||||
Content-Type: application/json
|
||||
|
||||
{
|
||||
"Notes":"ACTUALIZADO POR SL",
|
||||
"MailAddress": "correo@corre.cl"
|
||||
}
|
||||
|
||||
###
|
||||
# @no-reject-unauthorized
|
||||
|
||||
GET {{url}}/Orders(8)
|
||||
Reference in new issue
Block a user