-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathEngineering API.json
113 lines (113 loc) · 4.93 KB
/
Engineering API.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
{
"openapi": "3.0.0",
"info": {
"title": "Enginnering API",
"description": "Functions to access the engineering definitions.\n<br><br>\nAll content that comes between {{}} keys must be replaced with the correct data before performing the request.\n<br><br>\nCommon parameters that must be changed in most QUADFLOOR requests\n<br>\n{{accountName}} => Store account name\n<br>\n{{environment}} => The environment that will be called. Change for vtexcommercestable or vtexcommmercebeta\n<br>\n{{X-QUADFLOOR-API-AppKey}} => Located in the headers of the requests, user authentication key\n<br>\n{{X-QUADFLOOR-API-AppToken}} => Located in the headers of the requests, authentication password",
"contact": {},
"version": "1.0"
},
"servers": [
{
"url": "https://{accountName}.quadfloor.com.br",
"description": "Quadfloor server url"
}
],
"paths": {
"/api/engineering/locals/GetLocal": {
"get": {
"tags": ["Local"],
"summary": "Get Locals",
"description": "Retrieves one locals defined in the system.",
"operationId": "GetLocal",
"parameters": [
{
"name": "id",
"in": "query",
"description": "Fill this variable with the ID that you need retrieve.",
"required": true,
"style": "form",
"explode": true,
"schema": {
"type": "string",
"format": "string"
}
}
],
"responses": {
"200": {
"description": "OK",
"headers": {},
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"data": {
"type": "object",
"description": "Object compose by local item.",
"properties": {
"id": {
"type": "string",
"description": "Object Id.",
}
}
}
}
}
}
}
}
}
}
}
},
"/api/engineering/locals/GetLocals": {
"get": {
"tags": ["Local"],
"summary": "Get Locals",
"description": "Retrieves all the locals defined in the system.",
"operationId": "GetLocals",
"parameters": [
{
"name": "id",
"in": "query",
"description": "Fill this variable with the ID that you need retrieve.",
"required": true,
"style": "form",
"explode": true,
"schema": {
"type": "string",
"format": "string"
}
}
],
"responses": {
"200": {
"description": "OK",
"headers": {},
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"data": {
"type": "object",
"description": "Object compose by local item.",
"properties": {
"id": {
"type": "string",
"description": "Object Id.",
}
}
}
}
}
}
}
}
}
}
}
}
}
}