POST api/Coding/InsertCompany?isOpen={isOpen}&userId={userId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| isOpen | boolean |
Default value is False |
|
| userId | integer |
Default value is 0 |
Body Parameters
CompanyModel| Name | Description | Type | Additional information |
|---|---|---|---|
| CompanyId | string |
None. |
|
| CompanyName | string |
None. |
|
| PrintWithGroup | boolean |
None. |
|
| VendorId | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"CompanyId": "sample string 1",
"CompanyName": "sample string 2",
"PrintWithGroup": true,
"VendorId": "sample string 4"
}
application/xml, text/xml
Sample:
<CompanyModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ultrabiz_ERP_API.Models"> <CompanyId>sample string 1</CompanyId> <CompanyName>sample string 2</CompanyName> <PrintWithGroup>true</PrintWithGroup> <VendorId>sample string 4</VendorId> </CompanyModel>
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. |