POST api/Inquiry/Add
Request Information
URI Parameters
None.
Body Parameters
InquiryModel| Name | Description | Type | Additional information |
|---|---|---|---|
| name | string |
None. |
|
| string |
None. |
||
| phone_no | string |
None. |
|
| company | string |
None. |
|
| message | string |
None. |
|
| id | integer |
None. |
|
| text | string |
None. |
|
| is_active | boolean |
None. |
|
| created_by | integer |
None. |
|
| created_date | date |
None. |
|
| updated_by | integer |
None. |
|
| updated_date | date |
None. |
|
| TotalRows | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"name": "sample string 1",
"email": "sample string 2",
"phone_no": "sample string 3",
"company": "sample string 4",
"message": "sample string 5",
"id": 6,
"text": "sample string 7",
"is_active": true,
"created_by": 9,
"created_date": "2025-12-18T16:09:46.5324605+05:00",
"updated_by": 11,
"updated_date": "2025-12-18T16:09:46.5324605+05:00",
"TotalRows": 13
}
application/xml, text/xml
Sample:
<InquiryModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SpoonRocket.Models"> <TotalRows>13</TotalRows> <created_by>9</created_by> <created_date>2025-12-18T16:09:46.5324605+05:00</created_date> <id>6</id> <is_active>true</is_active> <text>sample string 7</text> <updated_by>11</updated_by> <updated_date>2025-12-18T16:09:46.5324605+05:00</updated_date> <company>sample string 4</company> <email>sample string 2</email> <message>sample string 5</message> <name>sample string 1</name> <phone_no>sample string 3</phone_no> </InquiryModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.