src/app/modules/shared/interfaces/serverResponse.ts
server response
Properties |
headers |
headers:
|
Type : any
|
Optional |
id |
id:
|
Type : string
|
api id |
params |
params:
|
Type : Params
|
response param |
responseCode |
responseCode:
|
Type : string
|
response code |
result |
result:
|
Type : any
|
server result |
ts |
ts:
|
Type : string
|
time stamp |
ver |
ver:
|
Type : string
|
api version |
export interface ServerResponse {
/**
* api id
*/
id: string;
/**
* response param
*/
params: Params;
/**
* response code
*/
responseCode: string;
/**
* server result
*/
result: any;
/**
* time stamp
*/
ts: string;
/**
* api version
*/
ver: string;
headers?: any;
}
export interface Params {
resmsgid: string;
msgid?: any;
err?: any;
status: string;
errmsg?: any;
}