-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathCustomerFactoryAPI.swagger.json
More file actions
48 lines (48 loc) · 1.61 KB
/
CustomerFactoryAPI.swagger.json
File metadata and controls
48 lines (48 loc) · 1.61 KB
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
{
"swagger": "2.0",
"info": {
"title": "CustomerFactoryApi",
"description": "Sample custom connector providing sample customer data",
"version": "1.0"
},
"host": "cptlabs.azurewebsites.net",
"basePath": "/api/",
"schemes": [ "https" ],
"consumes": [],
"produces": [],
"paths": {
"/NextCustomer": {
"get": {
"responses": {
"default": {
"description": "default",
"schema": {
"type": "object",
"properties": { "firstName": { "type": "string", "description": "firstName" },
"lastName": { "type": "string", "description": "lastName" },
"company": { "type": "string", "description": "company" },
"emailAddress": { "type": "string", "description": "emailAddress" },
"workPhone": { "type": "string", "description": "workPhone" },
"homePhone": { "type": "string", "description": "homePhone" },
"address": { "type": "string", "description": "address" },
"city": { "type": "string", "description": "city" },
"state": { "type": "string", "description": "state" },
"zipcode": { "type": "string", "description": "zipcode" }
}
}
}
},
"summary": "Get Next Customer",
"description": "Operation to get customer data from random set of customers",
"operationId": "NextCustomer",
"parameters": []
}
}
},
"definitions": {},
"parameters": {},
"responses": {},
"securityDefinitions": {},
"security": [],
"tags": []
}