| GET | /api/client/mappings/type/{typeDesc}/target/{target} |
|---|
export class ClientMap
{
public ClientMapID?: number;
public TheirVal?: string;
public OurVal?: string;
public KeyTypeID?: number;
public KeyTypeDesc?: string;
public TypeID?: number;
public TypeDesc?: string;
public KeyValue?: number;
public MapTarget?: string;
public constructor(init?: Partial<ClientMap>) { (Object as any).assign(this, init); }
}
export class ClientMappingsRs implements IApiResponse
{
public ClientMappings?: ClientMap[];
public constructor(init?: Partial<ClientMappingsRs>) { (Object as any).assign(this, init); }
}
export class ClientMappingsByTypeAndTargetRq implements IApiRequest
{
public TypeDesc?: string;
public Target?: string;
public constructor(init?: Partial<ClientMappingsByTypeAndTargetRq>) { (Object as any).assign(this, init); }
}
TypeScript ClientMappingsByTypeAndTargetRq 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
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /api/client/mappings/type/{typeDesc}/target/{target} HTTP/1.1
Host: devapi.billhighway.com
Accept: application/json
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length
{"ClientMappings":[{"ClientMapID":0,"TheirVal":"String","OurVal":"String","KeyTypeID":0,"KeyTypeDesc":"String","TypeID":0,"TypeDesc":"String","KeyValue":0,"MapTarget":"String"}]}