-
Notifications
You must be signed in to change notification settings - Fork 0
messaging v1 short name.html
hwaarl edited this page Apr 15, 2016
·
3 revisions
Swisscom is required by law to inform subscribers of its mobile services about providers of SMS added services. This API complements the web resources that Swisscom publishes online.
Get provider details for a given short ID
- client_id (Id to authenticate client)
- Accept (application/json)
- shortId (Short ID for which you want to obtain provider information; part of URI)
Example:
https://api.swisscom.com/messaging/v1/shortname/shortids/50051
{
"id":1270,
"shortID":"50051",
"systemtype":"sms",
"shortidstate":"blocked",
"hotlinephone":"0800800800",
"hotlineemail":"swisscom@support.mondiamedia.de",
"hotlinetime":"Mo - Fr 08:00 - 17:00h\nSa\nSo",
"providername":"Mondia Media Group GmbH",
"provideraddress1":"Kehrwieder 8",
"provideraddress2":null,
"providerzip":"20457",
"providercity":"Hamburg",
"descriptionDE":"Für weitere Informationen bitte nur via email swisscom@support.mondiamedia.de",
"descriptionFR":"Pour plus des info, veuillez envoyer une email à swisscom@support.mondiamedia.de",
"descriptionIT":"Per oltre informazioni vi preghiamo di mandare una email : swisscom@support.mondiamedia.de",
"descriptionEN":"Please send your request only by using the emailadr. swisscom@support.mondiamedia.de"
}400, 401, 403, 404, 405, 406, 429, 500, 503
Get all short numbers of a given provider.
- client_id (Id to authenticate client)
- Accept (application/json)
- providerName (Name of the service provider to search on. Use '%' as wildcard character and be sure to url-encode it (%37); part of URI)
Example:
https://api.swisscom.com/messaging/v1/shortname/providers/Mondia%20Media%37
[
{
"name": "Mondia Media Group GmbH",
"address1": "Kehrwieder 8",
"address2": null,
"zip": "20457",
"city": "Hamburg",
"shortids":
[
"50051"
]
},
{
"name": "Mondia Media Group GmbH",
"address1": null,
"address2": null,
"zip": "",
"city": null,
"shortids":
[
"SG",
"SGR01"
]
}
]- Product Overview
- Smart SMS
- Voice Suite
- Guides
- What is REST
- Authentication
- Client Id
- OAuth 2
- Overview
- [Scopes] (./oauth-scopes.html)
- Grants
- API DOC
- OAuth2
- Messaging
- Voice