POST api/Company
Request Information
URI Parameters
None.
Body Parameters
CompanyModels| Name | Description | Type | Additional information |
|---|---|---|---|
| CO_Id | integer |
None. |
|
| CO_Code | string |
None. |
|
| CO_Name | string |
None. |
|
| CO_Address | string |
None. |
|
| CO_Pincode | integer |
None. |
|
| CO_Mobile_No | integer |
None. |
|
| CO_Phone_No | integer |
None. |
|
| CO_Email | string |
None. |
|
| CO_GST_No | string |
None. |
|
| CO_Reg_No | string |
None. |
|
| CO_UserId_FK | integer |
None. |
|
| CO_TS | date |
None. |
|
| CO_Inactive | character |
None. |
|
| CO_TS_LastEdited | date |
None. |
|
| CO_TS_Edited_Uid_FK | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"CO_Id": 1,
"CO_Code": "sample string 2",
"CO_Name": "sample string 3",
"CO_Address": "sample string 4",
"CO_Pincode": 5,
"CO_Mobile_No": 6,
"CO_Phone_No": 1,
"CO_Email": "sample string 7",
"CO_GST_No": "sample string 8",
"CO_Reg_No": "sample string 9",
"CO_UserId_FK": 10,
"CO_TS": "2025-12-11T09:44:15.5974614+05:30",
"CO_Inactive": "A",
"CO_TS_LastEdited": "2025-12-11T09:44:15.5974614+05:30",
"CO_TS_Edited_Uid_FK": 14
}
application/xml, text/xml
Sample:
<CompanyModels xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/iParkWebAPI.Models"> <CO_Address>sample string 4</CO_Address> <CO_Code>sample string 2</CO_Code> <CO_Email>sample string 7</CO_Email> <CO_GST_No>sample string 8</CO_GST_No> <CO_Id>1</CO_Id> <CO_Inactive>65</CO_Inactive> <CO_Mobile_No>6</CO_Mobile_No> <CO_Name>sample string 3</CO_Name> <CO_Phone_No>1</CO_Phone_No> <CO_Pincode>5</CO_Pincode> <CO_Reg_No>sample string 9</CO_Reg_No> <CO_TS>2025-12-11T09:44:15.5974614+05:30</CO_TS> <CO_TS_Edited_Uid_FK>14</CO_TS_Edited_Uid_FK> <CO_TS_LastEdited>2025-12-11T09:44:15.5974614+05:30</CO_TS_LastEdited> <CO_UserId_FK>10</CO_UserId_FK> </CompanyModels>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.