ltsecurityinc安防产品在线商城代码

This commit is contained in:
2026-09-14 17:47:10 +08:00
parent 57d8444c15
commit 6a3c9c5bd8
14539 changed files with 1775310 additions and 0 deletions
+72
View File
@@ -0,0 +1,72 @@
@host = https://magento.local
@url = {{host}}/rest/V1/report-adapter
@email = magento_integration@ltsecurityinc.com
@secret = TestingIntegration!
###
POST {{url}}/internalaccounts HTTP/1.1
content-type: application/json
{
"email":"{{email}}",
"secret":"{{secret}}"
}
###
POST {{url}}/disableaccounts HTTP/1.1
content-type: application/json
{
"email":"{{email}}",
"secret":"{{secret}}",
"ids":"[1,2]"
}
###
POST {{url}}/setoffice HTTP/1.1
content-type: application/json
{
"email":"{{email}}",
"secret":"{{secret}}",
"id":"2",
"office":"LA"
}
###
POST {{url}}/setsales HTTP/1.1
content-type: application/json
{
"email":"{{email}}",
"secret":"{{secret}}",
"id":"2",
"sales_rep": "Test Sales Rep"
}
###
POST {{url}}/confirm HTTP/1.1
content-type: application/json
{
"email":"{{email}}",
"secret":"{{secret}}",
"id":"2",
"sales_rep": "Test Sales Rep"
}
###
POST {{url}}/deny HTTP/1.1
content-type: application/json
{
"email":"{{email}}",
"secret":"{{secret}}",
"id":"2",
"customer_group": "Enduser"
}