forked from Azure/azure-rest-api-specs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Operator connect API review (Azure#18265)
- Loading branch information
1 parent
200ea2b
commit f506bc6
Showing
9 changed files
with
945 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2529,6 +2529,7 @@ Quickbase | |
Smartsheet | ||
businessmetadata | ||
Qualys | ||
operatorconnect | ||
servermetrics | ||
Dataworld | ||
Asana | ||
|
98 changes: 98 additions & 0 deletions
98
...ication/data-plane/OperatorConnect/preview/2022-06-01-preview/examples/CreateConsent.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,98 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2022-06-01-preview", | ||
"endpoint": "https://resourcename.communication.azure.com/", | ||
"operatorId": "dee34eed-b610-4b8b-9130-0f9a0de97a20", | ||
"body": { | ||
"status": "Suspended", | ||
"consentedBy": { | ||
"fullName": "John Doe", | ||
"email": "[email protected]", | ||
"phoneNumber": "+12345678901" | ||
}, | ||
"lastModifiedBy": { | ||
"fullName": "John Doe", | ||
"email": "[email protected]", | ||
"phoneNumber": "+12345678901" | ||
}, | ||
"consentedCountries": [ | ||
"US", | ||
"AU" | ||
], | ||
"contacts": [ | ||
{ | ||
"fullName": "Jane Doe", | ||
"email": "[email protected]", | ||
"phoneNumber": "+12345678901" | ||
} | ||
], | ||
"companyName": "Contoso" | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"headers": {}, | ||
"body": { | ||
"operatorId": "e6716961-215e-4da7-9584-1797db3addb1", | ||
"status": "Active", | ||
"consentedBy": { | ||
"fullName": "John Doe", | ||
"email": "[email protected]" | ||
}, | ||
"consentedOn": "2021-04-07T23:57:17.1589393+00:00", | ||
"lastModifiedBy": { | ||
"fullName": "John Doe", | ||
"email": "[email protected]" | ||
}, | ||
"lastModifiedOn": "2022-02-15T09:18:17.1169748+00:00", | ||
"consentedCountries": [ | ||
"KK", | ||
"CA", | ||
"US", | ||
"AU", | ||
"GB" | ||
], | ||
"companyName": "Contoso", | ||
"contacts": [ | ||
{ | ||
"fullName": "John Q. Customer", | ||
"email": "[email protected]", | ||
"phoneNumber": "+12345678901" | ||
} | ||
] | ||
} | ||
}, | ||
"201": { | ||
"headers": {}, | ||
"body": { | ||
"operatorId": "e6716961-215e-4da7-9584-1797db3addb1", | ||
"status": "Active", | ||
"consentedBy": { | ||
"fullName": "John Doe", | ||
"email": "[email protected]" | ||
}, | ||
"consentedOn": "2021-04-07T23:57:17.1589393+00:00", | ||
"lastModifiedBy": { | ||
"fullName": "John Doe", | ||
"email": "[email protected]" | ||
}, | ||
"lastModifiedOn": "2022-02-15T09:18:17.1169748+00:00", | ||
"consentedCountries": [ | ||
"KK", | ||
"CA", | ||
"US", | ||
"AU", | ||
"GB" | ||
], | ||
"companyName": "Contoso", | ||
"contacts": [ | ||
{ | ||
"fullName": "John Q. Customer", | ||
"email": "[email protected]", | ||
"phoneNumber": "+12345678901" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
41 changes: 41 additions & 0 deletions
41
...munication/data-plane/OperatorConnect/preview/2022-06-01-preview/examples/GetConsent.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2022-06-01-preview", | ||
"endpoint": "https://resourcename.communication.azure.com/", | ||
"operatorId": "dee34eed-b610-4b8b-9130-0f9a0de97a20" | ||
}, | ||
"responses": { | ||
"200": { | ||
"headers": {}, | ||
"body": { | ||
"operatorId": "e6716961-215e-4da7-9584-1797db3addb1", | ||
"status": "Suspended", | ||
"consentedBy": { | ||
"fullName": "John Doe", | ||
"email": "[email protected]" | ||
}, | ||
"consentedOn": "2021-04-07T23:57:17.1589393+00:00", | ||
"lastModifiedBy": { | ||
"fullName": "John Doe", | ||
"email": "[email protected]" | ||
}, | ||
"lastModifiedOn": "2022-02-15T09:18:17.1169748+00:00", | ||
"consentedCountries": [ | ||
"KK", | ||
"CA", | ||
"US", | ||
"AU", | ||
"GB" | ||
], | ||
"companyName": "Contoso", | ||
"contacts": [ | ||
{ | ||
"fullName": "John Q. Customer", | ||
"email": "[email protected]", | ||
"phoneNumber": "+12345678901" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
73 changes: 73 additions & 0 deletions
73
...unication/data-plane/OperatorConnect/preview/2022-06-01-preview/examples/GetConsents.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2022-06-01-preview", | ||
"endpoint": "https://resourcename.communication.azure.com/" | ||
}, | ||
"responses": { | ||
"200": { | ||
"headers": {}, | ||
"body": { | ||
"value": [ | ||
{ | ||
"operatorId": "e6716961-215e-4da7-9584-1797db3addb1", | ||
"status": "Suspended", | ||
"consentedBy": { | ||
"fullName": "John Doe", | ||
"email": "[email protected]" | ||
}, | ||
"consentedOn": "2021-04-07T23:57:17.1589393+00:00", | ||
"lastModifiedBy": { | ||
"fullName": "John Doe", | ||
"email": "[email protected]" | ||
}, | ||
"lastModifiedOn": "2022-02-15T09:18:17.1169748+00:00", | ||
"consentedCountries": [ | ||
"KK", | ||
"CA", | ||
"US", | ||
"AU", | ||
"GB" | ||
], | ||
"companyName": "Contoso", | ||
"contacts": [ | ||
{ | ||
"fullName": "John Q. Customer", | ||
"email": "[email protected]", | ||
"phoneNumber": "+12345678901" | ||
} | ||
] | ||
}, | ||
{ | ||
"operatorId": "e6716961-215e-4da7-9584-1797db3addb2", | ||
"status": "Active", | ||
"consentedBy": { | ||
"fullName": "Jane Doe", | ||
"email": "[email protected]" | ||
}, | ||
"consentedOn": "2021-04-07T23:57:17.1589393+00:00", | ||
"lastModifiedBy": { | ||
"fullName": "Jane Doe", | ||
"email": "[email protected]" | ||
}, | ||
"lastModifiedOn": "2022-02-15T09:18:17.1169748+00:00", | ||
"consentedCountries": [ | ||
"KK", | ||
"CA", | ||
"US", | ||
"AU", | ||
"GB" | ||
], | ||
"companyName": "Contoso", | ||
"contacts": [ | ||
{ | ||
"fullName": "Jane Q. Customer", | ||
"email": "[email protected]", | ||
"phoneNumber": "" | ||
} | ||
] | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
49 changes: 49 additions & 0 deletions
49
...nication/data-plane/OperatorConnect/preview/2022-06-01-preview/examples/GetOperators.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2022-06-01-preview", | ||
"endpoint": "https://resourcename.communication.azure.com/" | ||
}, | ||
"responses": { | ||
"200": { | ||
"headers": {}, | ||
"body": { | ||
"value": [ | ||
{ | ||
"operatorId": "e6716961-215e-4da7-9584-1797db3addb1", | ||
"friendlyName": "Operator Inc.", | ||
"landingPage": "https://www.operatorhomepage1.net/sample-landing-page", | ||
"logoUri": "https://www.operatorhomepage1.net/sample-logo.png", | ||
"logoThumbnailUri": null, | ||
"acquiredNumbersCount": 1, | ||
"offerings": [ | ||
{ | ||
"offerType": "Calling", | ||
"availableCountries": [ | ||
"US", | ||
"EE" | ||
] | ||
} | ||
] | ||
}, | ||
{ | ||
"operatorId": "e6716961-215e-4da7-9584-1797db3addb2", | ||
"friendlyName": "Mobile LLC", | ||
"landingPage": "https://www.operatorhomepage2.net/sample-landing-page", | ||
"logoUri": "https://www.operatorhomepage2.net/sample-logo.png", | ||
"logoThumbnailUri": null, | ||
"acquiredNumbersCount": 0, | ||
"offerings": [ | ||
{ | ||
"offerType": "Calling", | ||
"availableCountries": [ | ||
"US", | ||
"CA" | ||
] | ||
} | ||
] | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
98 changes: 98 additions & 0 deletions
98
...ication/data-plane/OperatorConnect/preview/2022-06-01-preview/examples/UpdateConsent.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,98 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2022-06-01-preview", | ||
"endpoint": "https://resourcename.communication.azure.com/", | ||
"operatorId": "dee34eed-b610-4b8b-9130-0f9a0de97a20", | ||
"body": { | ||
"status": "Suspended", | ||
"consentedBy": { | ||
"fullName": "John Doe", | ||
"email": "[email protected]", | ||
"phoneNumber": "+12345678901" | ||
}, | ||
"lastModifiedBy": { | ||
"fullName": "John Doe", | ||
"email": "[email protected]", | ||
"phoneNumber": "+12345678901" | ||
}, | ||
"consentedCountries": [ | ||
"US", | ||
"AU" | ||
], | ||
"contacts": [ | ||
{ | ||
"fullName": "Jane Doe", | ||
"email": "[email protected]", | ||
"phoneNumber": "+12345678901" | ||
} | ||
], | ||
"companyName": "Contoso" | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"headers": {}, | ||
"body": { | ||
"operatorId": "e6716961-215e-4da7-9584-1797db3addb1", | ||
"status": "Active", | ||
"consentedBy": { | ||
"fullName": "John Doe", | ||
"email": "[email protected]" | ||
}, | ||
"consentedOn": "2021-04-07T23:57:17.1589393+00:00", | ||
"lastModifiedBy": { | ||
"fullName": "John Doe", | ||
"email": "[email protected]" | ||
}, | ||
"lastModifiedOn": "2022-02-15T09:18:17.1169748+00:00", | ||
"consentedCountries": [ | ||
"KK", | ||
"CA", | ||
"US", | ||
"AU", | ||
"GB" | ||
], | ||
"companyName": "Contoso", | ||
"contacts": [ | ||
{ | ||
"fullName": "John Q. Customer", | ||
"email": "[email protected]", | ||
"phoneNumber": "+12345678901" | ||
} | ||
] | ||
} | ||
}, | ||
"201": { | ||
"headers": {}, | ||
"body": { | ||
"operatorId": "e6716961-215e-4da7-9584-1797db3addb1", | ||
"status": "Active", | ||
"consentedBy": { | ||
"fullName": "John Doe", | ||
"email": "[email protected]" | ||
}, | ||
"consentedOn": "2021-04-07T23:57:17.1589393+00:00", | ||
"lastModifiedBy": { | ||
"fullName": "John Doe", | ||
"email": "[email protected]" | ||
}, | ||
"lastModifiedOn": "2022-02-15T09:18:17.1169748+00:00", | ||
"consentedCountries": [ | ||
"KK", | ||
"CA", | ||
"US", | ||
"AU", | ||
"GB" | ||
], | ||
"companyName": "Contoso", | ||
"contacts": [ | ||
{ | ||
"fullName": "John Q. Customer", | ||
"email": "[email protected]", | ||
"phoneNumber": "+12345678901" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.