| GET | /v2/map/cid/sourceId/{SourcePropertyId} | ||
|---|---|---|---|
| GET | /v2/map/cid/name/{PropertyName} |
import 'package:servicestack/servicestack.dart';
class GetCendynPropertyId implements IConvertible
{
String? sourcePropertyId;
String? propertyName;
GetCendynPropertyId({this.sourcePropertyId,this.propertyName});
GetCendynPropertyId.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
sourcePropertyId = json['sourcePropertyId'];
propertyName = json['propertyName'];
return this;
}
Map<String, dynamic> toJson() => {
'sourcePropertyId': sourcePropertyId,
'propertyName': propertyName
};
getTypeName() => "GetCendynPropertyId";
TypeContext? context = _ctx;
}
TypeContext _ctx = TypeContext(library: 'cert.cendyn.com', types: <String, TypeInfo> {
'GetCendynPropertyId': TypeInfo(TypeOf.Class, create:() => GetCendynPropertyId()),
});
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /v2/map/cid/sourceId/{SourcePropertyId} HTTP/1.1
Host: cert.cendyn.com
Accept: application/json
HTTP/1.1 200 OK Content-Type: application/json Content-Length: length (string)