| GET | /document/Subject-Type-statistics |
|---|
import 'package:servicestack/servicestack.dart';
class SubjectTypeStatisticsRequest implements IConvertible
{
SubjectTypeStatisticsRequest();
SubjectTypeStatisticsRequest.fromJson(Map<String, dynamic> json) : super();
fromMap(Map<String, dynamic> json) {
return this;
}
Map<String, dynamic> toJson() => {};
getTypeName() => "SubjectTypeStatisticsRequest";
TypeContext? context = _ctx;
}
TypeContext _ctx = TypeContext(library: 'etc_api.vsmlab.vn', types: <String, TypeInfo> {
'SubjectTypeStatisticsRequest': TypeInfo(TypeOf.Class, create:() => SubjectTypeStatisticsRequest()),
});
Dart SubjectTypeStatisticsRequest 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 /document/Subject-Type-statistics HTTP/1.1 Host: etc-api.vsmlab.vn Accept: application/xml
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<ArrayOfSubjectTypeStatistics xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/tvpl.data.Models">
<SubjectTypeStatistics>
<Count>0</Count>
<SubjectId>0</SubjectId>
<TypeId>0</TypeId>
<TypeName>String</TypeName>
</SubjectTypeStatistics>
</ArrayOfSubjectTypeStatistics>