Files

51 lines
1.1 KiB
HTTP
Raw Permalink Normal View History

2026-09-16 08:30:45 -05:00
@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
}
]
}