M
meyrick
Guest
Below is the preview and then the response: lastModified: "Fri Feb 28 14:40:39 CAT 2014" services: [{name:ElcbCrmService, address:/rest/ElcbCrmService, useRequest:true,…}] 0: {name:ElcbCrmService, address:/rest/ElcbCrmService, useRequest:true,…} address: "/rest/ElcbCrmService" name: "ElcbCrmService" resources: [{name:beCustomer, path:/beCustomer, schema:{type
bject, additionalProperties:false,…},…}] 0: {name:beCustomer, path:/beCustomer, schema:{type
bject, additionalProperties:false,…},…} name: "beCustomer" operations: [{path:, type:update, verb
ut, params:[{name:dsCustomer, type:REQUEST_BODY}]},…] 0: {path:, type:update, verb
ut, params:[{name:dsCustomer, type:REQUEST_BODY}]} params: [{name:dsCustomer, type:REQUEST_BODY}] path: "" type: "update" verb: "put" 1: {path:, type:delete, verb:delete, params:[{name:dsCustomer, type:REQUEST_BODY}]} params: [{name:dsCustomer, type:REQUEST_BODY}] path: "" type: "delete" verb: "delete" 2: {path:?filter={filter}, type:read, verb:get, params:[]} params: [] path: "?filter={filter}" type: "read" verb: "get" 3: {path:, type:create, verb
ost, params:[{name:dsCustomer, type:REQUEST_BODY}]} params: [{name:dsCustomer, type:REQUEST_BODY}] path: "" type: "create" verb: "post" path: "/beCustomer" schema: {type
bject, additionalProperties:false,…} additionalProperties: false properties: {dsCustomer:{type
bject, additionalProperties:false,…}} dsCustomer: {type
bject, additionalProperties:false,…} additionalProperties: false properties: {custSel:{type:array, items:{additionalProperties:false,…}}} custSel: {type:array, items:{additionalProperties:false,…}} items: {additionalProperties:false,…} additionalProperties: false properties: {_id:{type:string}, dm-accno:{type:string, ablType:CHARACTER, default:, title:Account Number},…} _id: {type:string} dm-accno: {type:string, ablType:CHARACTER, default:, title:Account Number} ablType: "CHARACTER" default: "" title: "Account Number" type: "string" dm-name: {type:string, ablType:CHARACTER, default:, title
ebtor Name} ablType: "CHARACTER" default: "" title: "Debtor Name" type: "string" rc-number: {type:string, ablType:CHARACTER, default:, title:Rental Contract Number} ablType: "CHARACTER" default: "" title: "Rental Contract Number" type: "string" type: "array" type: "object" type: "object" useRequest: true version: "1.0" { "version": "1.0", "lastModified": "Fri Feb 28 14:40:39 CAT 2014", "services": [{ "name": "ElcbCrmService", "address": "\/rest\/ElcbCrmService", "useRequest": true, "resources": [{ "name": "beCustomer", "path": "\/beCustomer", "schema": { "type": "object", "additionalProperties": false, "properties": {"dsCustomer": { "type": "object", "additionalProperties": false, "properties": {"custSel": { "type": "array", "items": { "additionalProperties": false, "properties": { "_id": {"type": "string"}, "dm-accno": { "type": "string", "ablType": "CHARACTER", "default": "", "title": "Account Number" }, "rc-number": { "type": "string", "ablType": "CHARACTER", "default": "", "title": "Rental Contract Number" }, "dm-name": { "type": "string", "ablType": "CHARACTER", "default": "", "title": "Debtor Name" } } } }} }} }, "operations": [ { "path": "", "type": "update", "verb": "put", "params": [{ "name": "dsCustomer", "type": "REQUEST_BODY" }] }, { "path": "", "type": "delete", "verb": "delete", "params": [{ "name": "dsCustomer", "type": "REQUEST_BODY" }] }, { "path": "?filter={filter}", "type": "read", "verb": "get", "params": [] }, { "path": "", "type": "create", "verb": "post", "params": [{ "name": "dsCustomer", "type": "REQUEST_BODY" }] } ] }] }] } Should the response contain the data?
Continue reading...









Continue reading...