| Required role: | Customer |
| GET | /customers/comms/{TenantsId} |
|---|
import 'package:servicestack/servicestack.dart';
import 'dart:collection';
class GetCustomerComms implements IConvertible
{
int? TenantsId;
GetCustomerComms({this.TenantsId});
GetCustomerComms.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
TenantsId = json['TenantsId'];
return this;
}
Map<String, dynamic> toJson() => {
'TenantsId': TenantsId
};
getTypeName() => "GetCustomerComms";
TypeContext? context = _ctx;
}
TypeContext _ctx = TypeContext(library: 'duengageapi.uat.scadsoftware.com', types: <String, TypeInfo> {
'GetCustomerComms': TypeInfo(TypeOf.Class, create:() => GetCustomerComms()),
});
To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /customers/comms/{TenantsId} HTTP/1.1
Host: duengageapi.uat.scadsoftware.com
Accept: application/xml
HTTP/1.1 200 OK Content-Type: application/xml Content-Length: length <ArrayOfanyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <anyType /> </ArrayOfanyType>