Required role: | VeoliaAdmin |
POST | /tender/{tenderid}/tenderround/{tenderroundid}/xlsx |
---|
import 'package:servicestack/servicestack.dart';
class GenerateAllComplianceXlsx implements IPost, IConvertible
{
int? TenderId;
int? TenderRoundId;
GenerateAllComplianceXlsx({this.TenderId,this.TenderRoundId});
GenerateAllComplianceXlsx.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
TenderId = json['TenderId'];
TenderRoundId = json['TenderRoundId'];
return this;
}
Map<String, dynamic> toJson() => {
'TenderId': TenderId,
'TenderRoundId': TenderRoundId
};
getTypeName() => "GenerateAllComplianceXlsx";
TypeContext? context = _ctx;
}
TypeContext _ctx = TypeContext(library: 'szallitoiportal_be.veolia.hu', types: <String, TypeInfo> {
'GenerateAllComplianceXlsx': TypeInfo(TypeOf.Class, create:() => GenerateAllComplianceXlsx()),
});
Dart GenerateAllComplianceXlsx DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /tender/{tenderid}/tenderround/{tenderroundid}/xlsx HTTP/1.1
Host: szallitoiportal-be.veolia.hu
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
TenderId: 0,
TenderRoundId: 0
}