WS-RESTRICTED_API Host [RESTRICTED_API] : D5290-staging

<back to all web services

api_metadatas

Requires Authentication
The following routes are available for this service:
GET/api_metadata/{record_class}
GET/api_metadata/{record_class}/{record_group_id}

export class api_metadata
{
    public am_operation_type: string;
    public am_operation_timestamp?: string;
    public am_record_class: string;
    public am_record_group_id?: number;
    public am_record_id: string;
    public am_record_json: string;

    public constructor(init?: Partial<api_metadata>) { (Object as any).assign(this, init); }
}

export class api_metadatasResponse extends Array<api_metadata>
{

    public constructor(init?: Partial<api_metadatasResponse>) { super(); (Object as any).assign(this, init); }
}

export class api_metadatas
{
    public record_class: string;
    public record_group_id?: number;

    public constructor(init?: Partial<api_metadatas>) { (Object as any).assign(this, init); }
}

TypeScript api_metadatas DTOs

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

HTTP + JSON

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

GET /api_metadata/{record_class} HTTP/1.1 
Host: milliet.io 
Accept: application/json
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

[]