{"swagger":"2.0","info":{"title":"CData Swagger API","version":"1.0.0"},"host":"decodeapiserverdemo.azurewebsites.net","schemes":["https"],"basePath":"/api.rsc/@1q0E5n7v8V1k4r1U5g0e","consumes":["application/json"],"produces":["application/json"],"paths":{"/OReillyBookList":{"get":{"summary":"Return OReillyBookList","description":"Returns records from the OReillyBookList entity that match the specified query parameters. All records will be returned when no parameters are specified.","tags":["OReillyBookList"],"operationId":"getAllOReillyBookList","parameters":[{"name":"$select","in":"query","type":"string","description":"A comma-separated list of properties to include in the results. When this field is left empty, all properties will be returned."},{"name":"$orderby","in":"query","type":"string","description":"Order the results by this property in ascending or descending order. Example for ascending: 'Name ASC' Example for descending: 'Name DESC'"},{"name":"$top","in":"query","type":"integer","description":"The number of results to return."},{"name":"$skip","in":"query","type":"integer","description":"This is the offset of results to skip when returning results."},{"name":"$count","in":"query","type":"boolean","description":"When set, the results will return a count of results and not the actual results."},{"name":"$filter","in":"query","type":"string","description":"Use this to filter the results by specific property values. For example, you can use the following filter to retrieve records with the name 'John': $filter=Name eq 'John'"}],"responses":{"200":{"description":"OReillyBookList response","schema":{"type":"object","properties":{"value":{"type":"array","items":{"$ref":"#/definitions/OReillyBookList"}}}}},"default":{"description":"Unexpected error","schema":{"$ref":"#/definitions/CDataError"}}},"security":[{"basic":[]},{"authtoken_header":[]},{"authtoken_query":[]}]},"post":{"summary":"Create OReillyBookList","description":"Creates a new OReillyBookList object with the specified parameters.","tags":["OReillyBookList"],"operationId":"createOReillyBookList","parameters":[{"name":"OReillyBookList","in":"body","required":true,"description":"The OReillyBookList entity to post","schema":{"$ref":"#/definitions/OReillyBookList"}}],"responses":{"201":{"description":"OReillyBookList created","schema":{"$ref":"#/definitions/OReillyBookList"}},"default":{"description":"Unexpected error","schema":{"$ref":"#/definitions/CDataError"}}},"security":[{"basic":[]},{"authtoken_header":[]},{"authtoken_query":[]}]}},"/OReillyBookList/$count":{"get":{"summary":"Return count of OReillyBookList","description":"Returns count of records from the OReillyBookList entity that match the specified query parameters. All count will be returned when no parameters are specified.","tags":["OReillyBookList"],"operationId":"getOReillyBookListCount","parameters":[{"name":"$filter","in":"query","type":"string","description":"Use this to filter the results by specific property values. For example, you can use the following filter to retrieve records with the name 'John': $filter=Name eq 'John'"}],"produces":["text/plain; charset=utf-8"],"responses":{"200":{"description":"The count","schema":{"type":"string","format":"int32"}},"default":{"description":"Unexpected error","schema":{"$ref":"#/definitions/CDataError"}}},"security":[{"basic":[]},{"authtoken_header":[]},{"authtoken_query":[]}]}},"/OReillyBookList('{RowId}')":{"get":{"summary":"Return a single OReillyBookList","description":"Returns a single OReillyBookList object using the specified key.","tags":["OReillyBookList"],"operationId":"getOReillyBookList","parameters":[{"name":"RowId","in":"path","description":"The key RowId","required":true,"type":"integer","format":"int32"},{"name":"$select","in":"query","type":"string","description":"Select structural property"}],"responses":{"200":{"description":"OReillyBookList response","schema":{"$ref":"#/definitions/OReillyBookList"}},"default":{"description":"Unexpected error","schema":{"$ref":"#/definitions/CDataError"}}},"security":[{"basic":[]},{"authtoken_header":[]},{"authtoken_query":[]}]},"put":{"summary":"Update OReillyBookList","description":"Updates the specified OReillyBookList object.","tags":["OReillyBookList"],"operationId":"updateOReillyBookList","parameters":[{"name":"RowId","in":"path","description":"The key RowId","required":true,"type":"integer","format":"int32"},{"name":"OReillyBookList","in":"body","required":true,"description":"The OReillyBookList entity to update.","schema":{"$ref":"#/definitions/OReillyBookList"}}],"responses":{"200":{"description":"EntitySet OReillyBookList","schema":{"$ref":"#/definitions/OReillyBookList"}},"204":{"description":"OReillyBookList updated"},"default":{"description":"Unexpected error","schema":{"$ref":"#/definitions/CDataError"}}},"security":[{"basic":[]},{"authtoken_header":[]},{"authtoken_query":[]}]},"delete":{"summary":"Delete OReillyBookList","description":"Deletes the specified OReillyBookList object.","tags":["OReillyBookList"],"operationId":"deleteOReillyBookList","parameters":[{"name":"RowId","in":"path","description":"The key RowId","required":true,"type":"integer","format":"int32"}],"responses":{"204":{"description":"OReillyBookList deleted"},"default":{"description":"Unexpected error","schema":{"$ref":"#/definitions/CDataError"}}},"security":[{"basic":[]},{"authtoken_header":[]},{"authtoken_query":[]}]}},"/OReillyBookList('{RowId}')/{propertyName}/$value":{"get":{"summary":"Return specified property value of specified OReillyBookList","description":"Returns property value of OReillyBookList object using the specified key and property name.","tags":["OReillyBookList"],"operationId":"getOReillyBookListProperty","parameters":[{"name":"RowId","in":"path","description":"The key RowId","required":true,"type":"integer","format":"int32"},{"name":"propertyName","in":"path","type":"string","description":"The property name","required":true}],"produces":["text/plain; charset=utf-8"],"responses":{"200":{"description":"The property value","schema":{"type":"string"}},"default":{"description":"Unexpected error","schema":{"$ref":"#/definitions/CDataError"}}},"security":[{"basic":[]},{"authtoken_header":[]},{"authtoken_query":[]}]}}},"definitions":{"OReillyBookList":{"type":"object","properties":{"ImageUrl":{"description":"","type":"string","maxLength":2000},"Price":{"description":"","type":"string","maxLength":2000},"Title":{"description":"","type":"string","maxLength":2000},"URL":{"description":"","type":"string","maxLength":2000},"PublishDate":{"description":"","type":"string","maxLength":2000},"ISBN":{"description":"","type":"string","maxLength":2000},"RowId":{"description":"","type":"integer","format":"int32","maxLength":10}},"required":["RowId"]},"CDataError":{"type":"object","properties":{"error":{"$ref":"#/definitions/CDataInError"}}},"CDataInError":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}}}},"securityDefinitions":{"basic":{"type":"basic"},"authtoken_header":{"type":"apiKey","in":"header","name":"x-cdata-authtoken"},"authtoken_query":{"type":"apiKey","in":"query","name":"@authtoken"}}} Runtime Error

Server Error in '/' Application.

Runtime Error

Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.

Details: To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "Off".


<!-- Web.Config Configuration File -->

<configuration>
    <system.web>
        <customErrors mode="Off"/>
    </system.web>
</configuration>

Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's <customErrors> configuration tag to point to a custom error page URL.


<!-- Web.Config Configuration File -->

<configuration>
    <system.web>
        <customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>
    </system.web>
</configuration>