POST api/Company/StoreCompany
Request Information
URI Parameters
None.
Body Parameters
CompanyName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
DBName | string |
Required |
|
DBCode | string |
Required |
|
SapConnectionId | integer |
None. |
|
Active | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "Id": 1, "DBName": "sample string 2", "DBCode": "sample string 3", "SapConnectionId": 4, "Active": true }
application/xml, text/xml
Sample:
<Company xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CLVSGGSERVONE.MODELS"> <Active>true</Active> <DBCode>sample string 3</DBCode> <DBName>sample string 2</DBName> <Id>1</Id> <SapConnectionId>4</SapConnectionId> </Company>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | 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. |