SMS Gateway API

<back to all web services

CheckCommStatus

Returns status of the specified communication entity , or NONE if no communication status is found

Requires Authentication
The following routes are available for this service:
GET/api/status/checkcomm
import 'package:servicestack/servicestack.dart';

/**
* Returns status of the specified communication entity , or NONE if no communication status is found
*/
// @Api(Description="Returns status of the specified communication entity , or NONE if no communication status is found")
class CheckCommStatus implements IConvertible
{
    String? EntityId;

    CheckCommStatus({this.EntityId});
    CheckCommStatus.fromJson(Map<String, dynamic> json) { fromMap(json); }

    fromMap(Map<String, dynamic> json) {
        EntityId = json['EntityId'];
        return this;
    }

    Map<String, dynamic> toJson() => {
        'EntityId': EntityId
    };

    getTypeName() => "CheckCommStatus";
    TypeContext? context = _ctx;
}

TypeContext _ctx = TypeContext(library: 'production_eros_gateway_api_sms_wa.azurewebsites.net', types: <String, TypeInfo> {
    'CheckCommStatus': TypeInfo(TypeOf.Class, create:() => CheckCommStatus()),
});

Dart CheckCommStatus DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other

HTTP + OTHER

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

GET /api/status/checkcomm HTTP/1.1 
Host: production-eros-gateway-api-sms-wa.azurewebsites.net 
Accept: text/jsonl
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length

(string)