| DELETE | /procurement/batch/{BatchId}/assignees/{UserId} |
|---|
import 'package:servicestack/servicestack.dart';
class RemoveProcurementAssigneeRequest implements IConvertible
{
int? batchId;
int? userId;
RemoveProcurementAssigneeRequest({this.batchId,this.userId});
RemoveProcurementAssigneeRequest.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
batchId = json['batchId'];
userId = json['userId'];
return this;
}
Map<String, dynamic> toJson() => {
'batchId': batchId,
'userId': userId
};
getTypeName() => "RemoveProcurementAssigneeRequest";
TypeContext? context = _ctx;
}
TypeContext _ctx = TypeContext(library: 'etc_api.vsmlab.vn', types: <String, TypeInfo> {
'RemoveProcurementAssigneeRequest': TypeInfo(TypeOf.Class, create:() => RemoveProcurementAssigneeRequest()),
});
Dart RemoveProcurementAssigneeRequest 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.
DELETE /procurement/batch/{BatchId}/assignees/{UserId} HTTP/1.1
Host: etc-api.vsmlab.vn
Accept: text/jsv
HTTP/1.1 200 OK Content-Type: text/jsv Content-Length: length False