POST api/CompanyMaster
Request Information
URI Parameters
None.
Body Parameters
CompanyMaster| Name | Description | Type | Additional information |
|---|---|---|---|
| CompanyName | string |
None. |
|
| Director | string |
None. |
|
| Designation | string |
None. |
|
| Address1 | string |
None. |
|
| CityId | integer |
None. |
|
| StateId | integer |
None. |
|
| Pincode | string |
None. |
|
| CountryId | integer |
None. |
|
| MobileNo | string |
None. |
|
| FaxNo | string |
None. |
|
| EmailId | string |
None. |
|
| Website | string |
None. |
|
| Id | integer |
None. |
|
| Active | boolean |
None. |
|
| CreatedBy | integer |
None. |
|
| CreatedOn | date |
None. |
|
| UpdatedBy | integer |
None. |
|
| UpdatedOn | date |
None. |
|
| UpdateCount | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"CompanyName": "sample string 1",
"Director": "sample string 2",
"Designation": "sample string 3",
"Address1": "sample string 4",
"CityId": 5,
"StateId": 6,
"Pincode": "sample string 7",
"CountryId": 8,
"MobileNo": "sample string 9",
"FaxNo": "sample string 10",
"EmailId": "sample string 11",
"Website": "sample string 12",
"Id": 13,
"Active": true,
"CreatedBy": 15,
"CreatedOn": "2025-12-19T21:56:29.4886578+05:30",
"UpdatedBy": 17,
"UpdatedOn": "2025-12-19T21:56:29.4886578+05:30",
"UpdateCount": 19
}
application/xml, text/xml
Sample:
<CompanyMaster xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Publisher.Models"> <Active>true</Active> <CreatedBy>15</CreatedBy> <CreatedOn>2025-12-19T21:56:29.4886578+05:30</CreatedOn> <Id>13</Id> <UpdateCount>19</UpdateCount> <UpdatedBy>17</UpdatedBy> <UpdatedOn>2025-12-19T21:56:29.4886578+05:30</UpdatedOn> <Address1>sample string 4</Address1> <CityId>5</CityId> <CompanyName>sample string 1</CompanyName> <CountryId>8</CountryId> <Designation>sample string 3</Designation> <Director>sample string 2</Director> <EmailId>sample string 11</EmailId> <FaxNo>sample string 10</FaxNo> <MobileNo>sample string 9</MobileNo> <Pincode>sample string 7</Pincode> <StateId>6</StateId> <Website>sample string 12</Website> </CompanyMaster>
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. |