-
Notifications
You must be signed in to change notification settings - Fork 0
/
customer.yaml
163 lines (163 loc) · 5.2 KB
/
customer.yaml
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
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
openapi: 3.0.1
info:
title: CustomerAccountManagementService
version: "4"
x-ibm-name: customeraccountmanagementservice
servers:
- url: https://cpd-tap-project.apps.boomkin.cp.fyre.ibm.com/baw-instance1/automationservices/rest/CAMM/CustomerAccountManagementService
security:
- basic_auth: []
paths:
"/retrieveAnnualRevenue":
post:
operationId: retrieveAnnualRevenue
requestBody:
content:
application/json:
schema:
"$ref": "#/components/schemas/retrieveAnnualRevenue_input"
required: true
responses:
"200":
description: OK
content:
application/json:
schema:
"$ref": "#/components/schemas/retrieveAnnualRevenue_output"
"400":
description: The request contains invalid parameters, or they are missing.
content:
application/json:
schema:
"$ref": "#/components/schemas/CustomerAccountManagementServiceException"
"404":
description: The requested resource does not exist.
content:
application/json:
schema:
"$ref": "#/components/schemas/CustomerAccountManagementServiceException"
"409":
description:
The request cannot be processed because of one or more conflicts
in the request.
content:
application/json:
schema:
"$ref": "#/components/schemas/CustomerAccountManagementServiceException"
"500":
description: Internal server error.
content:
application/json:
schema:
"$ref": "#/components/schemas/CustomerAccountManagementServiceException"
"/retrieveCustomerDetails":
post:
operationId: retrieveCustomerDetails
requestBody:
content:
application/json:
schema:
"$ref": "#/components/schemas/retrieveCustomerDetails_input"
required: true
responses:
"200":
description: OK
content:
application/json:
schema:
"$ref": "#/components/schemas/retrieveCustomerDetails_output"
"400":
description: The request contains invalid parameters, or they are missing.
content:
application/json:
schema:
"$ref": "#/components/schemas/CustomerAccountManagementServiceException"
"404":
description: The requested resource does not exist.
content:
application/json:
schema:
"$ref": "#/components/schemas/CustomerAccountManagementServiceException"
"409":
description:
The request cannot be processed because of one or more conflicts
in the request.
content:
application/json:
schema:
"$ref": "#/components/schemas/CustomerAccountManagementServiceException"
"500":
description: Internal server error.
content:
application/json:
schema:
"$ref": "#/components/schemas/CustomerAccountManagementServiceException"
components:
schemas:
Customer:
type: object
properties:
name:
type: string
emailAddress:
type: string
CustomerAccountManagementServiceException:
title: Exception
required:
- message
type: object
properties:
code:
type: string
description: Exception code or Message ID of the exception.
message:
type: string
description: Message text of the exception.
message_parameters:
type: array
description: Message text parameters of the exception.
items:
type: string
description:
An array of parameter strings that were inserted into the
error message.
cause:
"$ref": "#/components/schemas/CustomerAccountManagementServiceException"
description: Exception object describing error details.
retrieveAnnualRevenue_input:
type: object
properties:
emailAddress:
type: string
description: Input schema for the operation retrieveAnnualRevenue
x-dba-parameter-wrapper: true
retrieveAnnualRevenue_output:
type: object
properties:
annualRevenue:
type: string
description: Response schema of operation retrieveAnnualRevenue
x-dba-parameter-wrapper: true
retrieveCustomerDetails_input:
type: object
properties:
emailAddress:
type: string
description: Input schema for the operation retrieveCustomerDetails
x-dba-parameter-wrapper: true
retrieveCustomerDetails_output:
type: object
properties:
customer:
"$ref": "#/components/schemas/Customer"
description: Response schema of operation retrieveCustomerDetails
x-dba-parameter-wrapper: true
securitySchemes:
basic_auth:
type: http
scheme: basic
x-ibm-configuration:
platformnamespace: cammworkflow
enforced: false
categories:
- default