Skip to content

Commit 99bafe6

Browse files
committed
Operator connect API review
1 parent bcec16b commit 99bafe6

9 files changed

Lines changed: 929 additions & 0 deletions

File tree

custom-words.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2505,4 +2505,5 @@ Vuln
25052505
IAASVM
25062506
Quickbase
25072507
Smartsheet
2508+
operatorconnect
25082509
Qualys
Lines changed: 98 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,98 @@
1+
{
2+
"parameters": {
3+
"api-version": "2022-04-03-preview",
4+
"endpoint": "https://resourcename.communication.azure.com/",
5+
"operatorId": "dee34eed-b610-4b8b-9130-0f9a0de97a20",
6+
"body": {
7+
"status": "Suspended",
8+
"consentedBy": {
9+
"fullName": "John Doe",
10+
"email": "admin@contoso.net",
11+
"phoneNumber": "+12345678901"
12+
},
13+
"lastModifiedBy": {
14+
"fullName": "John Doe",
15+
"email": "admin@contoso.net",
16+
"phoneNumber": "+12345678901"
17+
},
18+
"consentedCountries": [
19+
"US",
20+
"AU"
21+
],
22+
"contacts": [
23+
{
24+
"fullName": "Jane Doe",
25+
"email": "name1@contoso.net",
26+
"phoneNumber": "+12345678901"
27+
}
28+
],
29+
"companyName": "Contoso"
30+
}
31+
},
32+
"responses": {
33+
"200": {
34+
"headers": {},
35+
"body": {
36+
"operatorId": "e6716961-215e-4da7-9584-1797db3addb1",
37+
"status": "Active",
38+
"consentedBy": {
39+
"fullName": "John Doe",
40+
"email": "admin@contoso.net"
41+
},
42+
"consentedOn": "2021-04-07T23:57:17.1589393+00:00",
43+
"lastModifiedBy": {
44+
"fullName": "John Doe",
45+
"email": "admin@contoso.net"
46+
},
47+
"lastModifiedOn": "2022-02-15T09:18:17.1169748+00:00",
48+
"consentedCountries": [
49+
"KK",
50+
"CA",
51+
"US",
52+
"AU",
53+
"GB"
54+
],
55+
"companyName": "Contoso",
56+
"contacts": [
57+
{
58+
"fullName": "John Q. Customer",
59+
"email": "sometestname1@contoso.net",
60+
"phoneNumber": "+12345678901"
61+
}
62+
]
63+
}
64+
},
65+
"201": {
66+
"headers": {},
67+
"body": {
68+
"operatorId": "e6716961-215e-4da7-9584-1797db3addb1",
69+
"status": "Active",
70+
"consentedBy": {
71+
"fullName": "John Doe",
72+
"email": "admin@contoso.net"
73+
},
74+
"consentedOn": "2021-04-07T23:57:17.1589393+00:00",
75+
"lastModifiedBy": {
76+
"fullName": "John Doe",
77+
"email": "admin@contoso.net"
78+
},
79+
"lastModifiedOn": "2022-02-15T09:18:17.1169748+00:00",
80+
"consentedCountries": [
81+
"KK",
82+
"CA",
83+
"US",
84+
"AU",
85+
"GB"
86+
],
87+
"companyName": "Contoso",
88+
"contacts": [
89+
{
90+
"fullName": "John Q. Customer",
91+
"email": "sometestname1@contoso.net",
92+
"phoneNumber": "+12345678901"
93+
}
94+
]
95+
}
96+
}
97+
}
98+
}
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
{
2+
"parameters": {
3+
"api-version": "2022-04-03-preview",
4+
"endpoint": "https://resourcename.communication.azure.com/",
5+
"operatorId": "dee34eed-b610-4b8b-9130-0f9a0de97a20"
6+
},
7+
"responses": {
8+
"200": {
9+
"headers": {},
10+
"body": {
11+
"operatorId": "e6716961-215e-4da7-9584-1797db3addb1",
12+
"status": "Suspended",
13+
"consentedBy": {
14+
"fullName": "John Doe",
15+
"email": "admin@contoso.net"
16+
},
17+
"consentedOn": "2021-04-07T23:57:17.1589393+00:00",
18+
"lastModifiedBy": {
19+
"fullName": "John Doe",
20+
"email": "admin@contoso.net"
21+
},
22+
"lastModifiedOn": "2022-02-15T09:18:17.1169748+00:00",
23+
"consentedCountries": [
24+
"KK",
25+
"CA",
26+
"US",
27+
"AU",
28+
"GB"
29+
],
30+
"companyName": "Contoso",
31+
"contacts": [
32+
{
33+
"fullName": "John Q. Customer",
34+
"email": "sometestname1@contoso.net",
35+
"phoneNumber": "+12345678901"
36+
}
37+
]
38+
}
39+
}
40+
}
41+
}
Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
{
2+
"parameters": {
3+
"api-version": "2022-04-03-preview",
4+
"endpoint": "https://resourcename.communication.azure.com/"
5+
},
6+
"responses": {
7+
"200": {
8+
"headers": {},
9+
"body": {
10+
"value": [
11+
{
12+
"operatorId": "e6716961-215e-4da7-9584-1797db3addb1",
13+
"status": "Suspended",
14+
"consentedBy": {
15+
"fullName": "John Doe",
16+
"email": "admin@contoso.net"
17+
},
18+
"consentedOn": "2021-04-07T23:57:17.1589393+00:00",
19+
"lastModifiedBy": {
20+
"fullName": "John Doe",
21+
"email": "admin@contoso.net"
22+
},
23+
"lastModifiedOn": "2022-02-15T09:18:17.1169748+00:00",
24+
"consentedCountries": [
25+
"KK",
26+
"CA",
27+
"US",
28+
"AU",
29+
"GB"
30+
],
31+
"companyName": "Contoso",
32+
"contacts": [
33+
{
34+
"fullName": "John Q. Customer",
35+
"email": "sometestname1@contoso.net",
36+
"phoneNumber": "+12345678901"
37+
}
38+
]
39+
},
40+
{
41+
"operatorId": "e6716961-215e-4da7-9584-1797db3addb2",
42+
"status": "Active",
43+
"consentedBy": {
44+
"fullName": "Jane Doe",
45+
"email": "admin2@contoso.net"
46+
},
47+
"consentedOn": "2021-04-07T23:57:17.1589393+00:00",
48+
"lastModifiedBy": {
49+
"fullName": "Jane Doe",
50+
"email": "admin2@contoso.net"
51+
},
52+
"lastModifiedOn": "2022-02-15T09:18:17.1169748+00:00",
53+
"consentedCountries": [
54+
"KK",
55+
"CA",
56+
"US",
57+
"AU",
58+
"GB"
59+
],
60+
"companyName": "Contoso",
61+
"contacts": [
62+
{
63+
"fullName": "Jane Q. Customer",
64+
"email": "sometestname2@contoso.net",
65+
"phoneNumber": ""
66+
}
67+
]
68+
}
69+
]
70+
}
71+
}
72+
}
73+
}
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
{
2+
"parameters": {
3+
"api-version": "2022-04-03-preview",
4+
"endpoint": "https://resourcename.communication.azure.com/"
5+
},
6+
"responses": {
7+
"200": {
8+
"headers": {},
9+
"body": {
10+
"value": [
11+
{
12+
"operatorId": "e6716961-215e-4da7-9584-1797db3addb1",
13+
"friendlyName": "Operator Inc.",
14+
"landingPage": "https://www.operatorhomepage1.net/sample-landing-page",
15+
"logoUri": "https://www.operatorhomepage1.net/sample-logo.png",
16+
"logoThumbnailUri": null,
17+
"acquiredNumbersCount": 1,
18+
"offerings": [
19+
{
20+
"offerType": "Calling",
21+
"availableCountries": [
22+
"US",
23+
"EE"
24+
]
25+
}
26+
]
27+
},
28+
{
29+
"operatorId": "e6716961-215e-4da7-9584-1797db3addb2",
30+
"friendlyName": "Mobile LLC",
31+
"landingPage": "https://www.operatorhomepage2.net/sample-landing-page",
32+
"logoUri": "https://www.operatorhomepage2.net/sample-logo.png",
33+
"logoThumbnailUri": null,
34+
"acquiredNumbersCount": 0,
35+
"offerings": [
36+
{
37+
"offerType": "Calling",
38+
"availableCountries": [
39+
"US",
40+
"CA"
41+
]
42+
}
43+
]
44+
}
45+
]
46+
}
47+
}
48+
}
49+
}
Lines changed: 98 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,98 @@
1+
{
2+
"parameters": {
3+
"api-version": "2022-04-03-preview",
4+
"endpoint": "https://resourcename.communication.azure.com/",
5+
"operatorId": "dee34eed-b610-4b8b-9130-0f9a0de97a20",
6+
"body": {
7+
"status": "Suspended",
8+
"consentedBy": {
9+
"fullName": "John Doe",
10+
"email": "admin@contoso.net",
11+
"phoneNumber": "+12345678901"
12+
},
13+
"lastModifiedBy": {
14+
"fullName": "John Doe",
15+
"email": "admin@contoso.net",
16+
"phoneNumber": "+12345678901"
17+
},
18+
"consentedCountries": [
19+
"US",
20+
"AU"
21+
],
22+
"contacts": [
23+
{
24+
"fullName": "Jane Doe",
25+
"email": "name1@contoso.net",
26+
"phoneNumber": "+12345678901"
27+
}
28+
],
29+
"companyName": "Contoso"
30+
}
31+
},
32+
"responses": {
33+
"200": {
34+
"headers": {},
35+
"body": {
36+
"operatorId": "e6716961-215e-4da7-9584-1797db3addb1",
37+
"status": "Active",
38+
"consentedBy": {
39+
"fullName": "John Doe",
40+
"email": "admin@contoso.net"
41+
},
42+
"consentedOn": "2021-04-07T23:57:17.1589393+00:00",
43+
"lastModifiedBy": {
44+
"fullName": "John Doe",
45+
"email": "admin@contoso.net"
46+
},
47+
"lastModifiedOn": "2022-02-15T09:18:17.1169748+00:00",
48+
"consentedCountries": [
49+
"KK",
50+
"CA",
51+
"US",
52+
"AU",
53+
"GB"
54+
],
55+
"companyName": "Contoso",
56+
"contacts": [
57+
{
58+
"fullName": "John Q. Customer",
59+
"email": "sometestname1@contoso.net",
60+
"phoneNumber": "+12345678901"
61+
}
62+
]
63+
}
64+
},
65+
"201": {
66+
"headers": {},
67+
"body": {
68+
"operatorId": "e6716961-215e-4da7-9584-1797db3addb1",
69+
"status": "Active",
70+
"consentedBy": {
71+
"fullName": "John Doe",
72+
"email": "admin@contoso.net"
73+
},
74+
"consentedOn": "2021-04-07T23:57:17.1589393+00:00",
75+
"lastModifiedBy": {
76+
"fullName": "John Doe",
77+
"email": "admin@contoso.net"
78+
},
79+
"lastModifiedOn": "2022-02-15T09:18:17.1169748+00:00",
80+
"consentedCountries": [
81+
"KK",
82+
"CA",
83+
"US",
84+
"AU",
85+
"GB"
86+
],
87+
"companyName": "Contoso",
88+
"contacts": [
89+
{
90+
"fullName": "John Q. Customer",
91+
"email": "sometestname1@contoso.net",
92+
"phoneNumber": "+12345678901"
93+
}
94+
]
95+
}
96+
}
97+
}
98+
}

0 commit comments

Comments
 (0)