| Required role: | Customer |
| GET | /customers/documents/toproviders/{TenantsId} |
|---|
import 'package:servicestack/servicestack.dart';
class GetCustomerDocumentsToProvider implements IConvertible
{
int? TenantsId;
GetCustomerDocumentsToProvider({this.TenantsId});
GetCustomerDocumentsToProvider.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
TenantsId = json['TenantsId'];
return this;
}
Map<String, dynamic> toJson() => {
'TenantsId': TenantsId
};
getTypeName() => "GetCustomerDocumentsToProvider";
TypeContext? context = _ctx;
}
TypeContext _ctx = TypeContext(library: 'duengageapi.uat.scadsoftware.com', types: <String, TypeInfo> {
'GetCustomerDocumentsToProvider': TypeInfo(TypeOf.Class, create:() => GetCustomerDocumentsToProvider()),
});
Dart GetCustomerDocumentsToProvider DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /customers/documents/toproviders/{TenantsId} HTTP/1.1
Host: duengageapi.uat.scadsoftware.com
Accept: text/csv
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length
[{}]