| Required role: | Customer |
| GET | /customers/forms/{TenantsId} |
|---|
import 'package:servicestack/servicestack.dart';
import 'dart:collection';
class GetCustomerCustomForms implements IConvertible
{
int? TenantsId;
GetCustomerCustomForms({this.TenantsId});
GetCustomerCustomForms.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
TenantsId = json['TenantsId'];
return this;
}
Map<String, dynamic> toJson() => {
'TenantsId': TenantsId
};
getTypeName() => "GetCustomerCustomForms";
TypeContext? context = _ctx;
}
TypeContext _ctx = TypeContext(library: 'duengageapi.uat.scadsoftware.com', types: <String, TypeInfo> {
'GetCustomerCustomForms': TypeInfo(TypeOf.Class, create:() => GetCustomerCustomForms()),
});
Dart GetCustomerCustomForms DTOs
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/forms/{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>