All Verbs | /Recon/Missing/SerialNumber/{CompanyId} | ||
---|---|---|---|
All Verbs | /Recon/Missing/SerialNumber | ||
All Verbs | /Recon/Missing/SerialNumber/{CompanyId}/{DeveloperId} |
import 'package:servicestack/servicestack.dart';
class MissingSerialNumberRequest implements IConvertible
{
int? CompanyId;
int? DeveloperId;
String? ModifiedBy;
MissingSerialNumberRequest({this.CompanyId,this.DeveloperId,this.ModifiedBy});
MissingSerialNumberRequest.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
CompanyId = json['CompanyId'];
DeveloperId = json['DeveloperId'];
ModifiedBy = json['ModifiedBy'];
return this;
}
Map<String, dynamic> toJson() => {
'CompanyId': CompanyId,
'DeveloperId': DeveloperId,
'ModifiedBy': ModifiedBy
};
getTypeName() => "MissingSerialNumberRequest";
TypeContext? context = _ctx;
}
TypeContext _ctx = TypeContext(library: 'cip_reporting.chargeitpro.com', types: <String, TypeInfo> {
'MissingSerialNumberRequest': TypeInfo(TypeOf.Class, create:() => MissingSerialNumberRequest()),
});
Dart MissingSerialNumberRequest 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 /Recon/Missing/SerialNumber/{CompanyId} HTTP/1.1
Host: cip-reporting.chargeitpro.com
Accept: application/xml
Content-Type: application/xml
Content-Length: length
<MissingSerialNumberRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ReportingService.Services.Rest">
<CompanyId>0</CompanyId>
<DeveloperId>0</DeveloperId>
<ModifiedBy>String</ModifiedBy>
</MissingSerialNumberRequest>