POST api/DBResources/PostDBResource
Request Information
URI Parameters
None.
Body Parameters
DBResourceWithCompany| Name | Description | Type | Additional information | 
|---|---|---|---|
| CompanyId | integer | 
                             None.  | 
                |
| Code | string | 
                             None.  | 
                |
| Description | string | 
                             None.  | 
                |
| DBObject | string | 
                             None.  | 
                |
| QueryString | string | 
                             None.  | 
                |
| PageSize | integer | 
                             None.  | 
                |
| Type | string | 
                             None.  | 
                |
| Id | integer | 
                             None.  | 
                |
| CreatedDate | date | 
                             None.  | 
                |
| CreatedBy | string | 
                             None.  | 
                |
| UpdateDate | date | 
                             None.  | 
                |
| UpdatedBy | string | 
                             None.  | 
                |
| IsActive | boolean | 
                             None.  | 
                
Request Formats
application/json, text/json
            Sample:
        
{
  "CompanyId": 1,
  "Code": "sample string 2",
  "Description": "sample string 3",
  "DBObject": "sample string 4",
  "QueryString": "sample string 5",
  "PageSize": 6,
  "Type": "sample string 7",
  "Id": 8,
  "CreatedDate": "2025-11-03T21:42:11.2847965-06:00",
  "CreatedBy": "sample string 10",
  "UpdateDate": "2025-11-03T21:42:11.2847965-06:00",
  "UpdatedBy": "sample string 11",
  "IsActive": true
}
        application/xml, text/xml
            Sample:
        <DBResourceWithCompany xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CLMLTEMA.MODELS"> <CreatedBy xmlns="http://schemas.datacontract.org/2004/07/CL.STRUCTURES.CLASSES.PresentationEntities">sample string 10</CreatedBy> <CreatedDate xmlns="http://schemas.datacontract.org/2004/07/CL.STRUCTURES.CLASSES.PresentationEntities">2025-11-03T21:42:11.2847965-06:00</CreatedDate> <Id xmlns="http://schemas.datacontract.org/2004/07/CL.STRUCTURES.CLASSES.PresentationEntities">8</Id> <IsActive xmlns="http://schemas.datacontract.org/2004/07/CL.STRUCTURES.CLASSES.PresentationEntities">true</IsActive> <UpdateDate xmlns="http://schemas.datacontract.org/2004/07/CL.STRUCTURES.CLASSES.PresentationEntities">2025-11-03T21:42:11.2847965-06:00</UpdateDate> <UpdatedBy xmlns="http://schemas.datacontract.org/2004/07/CL.STRUCTURES.CLASSES.PresentationEntities">sample string 11</UpdatedBy> <Code xmlns="http://schemas.datacontract.org/2004/07/CL.STRUCTURES.CLASSES.LocalEntities">sample string 2</Code> <DBObject xmlns="http://schemas.datacontract.org/2004/07/CL.STRUCTURES.CLASSES.LocalEntities">sample string 4</DBObject> <Description xmlns="http://schemas.datacontract.org/2004/07/CL.STRUCTURES.CLASSES.LocalEntities">sample string 3</Description> <PageSize xmlns="http://schemas.datacontract.org/2004/07/CL.STRUCTURES.CLASSES.LocalEntities">6</PageSize> <QueryString xmlns="http://schemas.datacontract.org/2004/07/CL.STRUCTURES.CLASSES.LocalEntities">sample string 5</QueryString> <Type xmlns="http://schemas.datacontract.org/2004/07/CL.STRUCTURES.CLASSES.LocalEntities">sample string 7</Type> <CompanyId>1</CompanyId> </DBResourceWithCompany>
application/x-www-form-urlencoded
            Sample:
    
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information | 
|---|---|---|---|
| Version | Version | 
                             None.  | 
                |
| Content | HttpContent | 
                             None.  | 
                |
| StatusCode | HttpStatusCode | 
                             None.  | 
                |
| ReasonPhrase | string | 
                             None.  | 
                |
| Headers | Collection of Object | 
                             None.  | 
                |
| RequestMessage | HttpRequestMessage | 
                             None.  | 
                |
| IsSuccessStatusCode | boolean | 
                             None.  |