CenResService

<back to all web services

GetCendynPropertyId

The following routes are available for this service:
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()),
});

Dart GetCendynPropertyId DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml

HTTP + XML

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/xml
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

(string)