Create a REST module
post
                    /ords/rest/modules/
Creates a REST module.
                
                Request
There are no request parameters for this operation.
Supported Media Types
                            - application/json
Root Schema : schema
    
    	Type: 
    	
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
        Show Source
        object- 
                
                    
                    base_path(required): string
                    
                    
                     
                    
                
                
                The base of the URI that is used to access this RESTful service. Example: hr/ means that all URIs starting with hr/ will be serviced by this resource module.
- 
                
                    
                    comments: string
                    
                    
                     
                    
                
                
                Comment text.
- 
                
                    
                    items_per_page: integer
                    
                    
                     
                    
                
                
                The default pagination for a resource handler HTTP operation GET method, that is, the number of rows to return on each page of a JSON format result set based on a database query. Default: 25.
- 
                
                    
                    module_status: string
                    
                    
                     
                    
                
                
                Publication status. Valid values: PUBLISHED (default) or NOT_PUBLISHED.
- 
                
                    
                    name(required): string
                    
                    
                     
                    
                
                
                Name of the owning RESTful service module. Case sensitive.
- 
                
                    
                    origins_allowed: string
                    
                    
                     
                    
                
                
                Set the allowed origins for the module containing the web service call.
- 
                
                    
                    run_mode: string
                    
                    
                     
                    
                
                
                Its value can be 'codePreview', which would make the endpoint respond with the code the backend would have executed. When the parameter is not provided, the endpoint will respond with the results of the operation execution.
Response
Supported Media Types
                - application/json
200 Response
Source code of the REST module to be created. Used for showcode.
                            
                            
                                201 Response
Details of the REST module that has been successfully created.
                            
                            
                                404 Response
No name or base_path parameter provided.
                            
                            
                            
                            
                        409 Response
A module with that name or base path already exists.