Skip to content

Commit be969e1

Browse files
author
Thomas Lundström
committed
changed yaml
1 parent 71a4d76 commit be969e1

File tree

1 file changed

+51
-1
lines changed

1 file changed

+51
-1
lines changed

WxSAPIntegration/resources/wxsapintegration-openapi.yaml

Lines changed: 51 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ paths:
6363
"0000001400"
6464

6565
/customers/search:
66-
post:
66+
post:
6767
tags:
6868
- customers
6969
summary: Search customers
@@ -109,6 +109,31 @@ paths:
109109
type: object
110110
message:
111111
type: string
112+
/customers/batch:
113+
get:
114+
tags:
115+
- customers
116+
summary: Get details of customer in batches of 10 customers at a time
117+
description: Uses behind the scenes BAPI_CUSTOMER_GETLIST to get ID and BAPI_CUSTOMER_GETDETAIL2 to get details
118+
responses:
119+
"200":
120+
description: Customer details
121+
content:
122+
"application/json":
123+
schema:
124+
type: object
125+
properties:
126+
response:
127+
type: object
128+
message:
129+
type: string
130+
parameters:
131+
- name: batchNo
132+
in: query
133+
description: batch number
134+
required: true
135+
example:
136+
"1"
112137

113138
/equipments:
114139
get:
@@ -245,6 +270,31 @@ paths:
245270
type: object
246271
message:
247272
type: string
273+
/salesorders/batch
274+
get:
275+
tags:
276+
- salesorders
277+
summary: Get details of salesorders in batches from 10 customers at a time
278+
description: Uses behind the scenes BAPI_CUSTOMER_GETLIST to get ID and BAPI_SALESORDER_GETLIST to get salesorder details
279+
responses:
280+
"200":
281+
description: Salesorder details
282+
content:
283+
"application/json":
284+
schema:
285+
type: object
286+
properties:
287+
response:
288+
type: object
289+
message:
290+
type: string
291+
parameters:
292+
- name: batchNo
293+
in: query
294+
description: batch number
295+
required: true
296+
example:
297+
"1"
248298
/salesorders:
249299
post:
250300
tags:

0 commit comments

Comments
 (0)