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 .xml suffix or ?format=xml
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: application/xml
Content-Type: application/xml
Content-Length: length
<GenerateAllComplianceXlsx xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Portal.ServiceDto">
<TenderId>0</TenderId>
<TenderRoundId>0</TenderRoundId>
</GenerateAllComplianceXlsx>