51 lines
826 B
HTTP
51 lines
826 B
HTTP
@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)
|