POST api/Service
Request Information
URI Parameters
None.
Body Parameters
Service_calls| Name | Description | Type | Additional information |
|---|---|---|---|
| Call_id | integer |
None. |
|
| Emp_id | integer |
None. |
|
| Cust_id | integer |
None. |
|
| Call_date | date |
None. |
|
| Call_time | date |
None. |
|
| Call_type_id | integer |
None. |
|
| Call_description | string |
None. |
|
| Exp_days | integer |
None. |
|
| Priority | integer |
None. |
|
| Status | integer |
None. |
|
| New_Comment | string |
None. |
|
| Status_description | string |
None. |
|
| Call_sub_remark | string |
None. |
|
| Complete_date | date |
None. |
|
| User | string |
None. |
|
| Mode | integer |
None. |
|
| Assigned_to | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"Call_id": 1,
"Emp_id": 2,
"Cust_id": 3,
"Call_date": "2026-08-17T18:49:35.0983946+05:30",
"Call_time": "2026-08-17T18:49:35.0983946+05:30",
"Call_type_id": 6,
"Call_description": "sample string 7",
"Exp_days": 8,
"Priority": 9,
"Status": 10,
"New_Comment": "sample string 11",
"Status_description": "sample string 12",
"Call_sub_remark": "sample string 13",
"Complete_date": "2026-08-17T18:49:35.1004085+05:30",
"User": "sample string 15",
"Mode": 16,
"Assigned_to": 17
}
application/xml, text/xml
Sample:
<Service_calls xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Task_API.Models"> <Assigned_to>17</Assigned_to> <Call_date>2026-08-17T18:49:35.0983946+05:30</Call_date> <Call_description>sample string 7</Call_description> <Call_id>1</Call_id> <Call_sub_remark>sample string 13</Call_sub_remark> <Call_time>2026-08-17T18:49:35.0983946+05:30</Call_time> <Call_type_id>6</Call_type_id> <Complete_date>2026-08-17T18:49:35.1004085+05:30</Complete_date> <Cust_id>3</Cust_id> <Emp_id>2</Emp_id> <Exp_days>8</Exp_days> <Mode>16</Mode> <New_Comment>sample string 11</New_Comment> <Priority>9</Priority> <Status>10</Status> <Status_description>sample string 12</Status_description> <User>sample string 15</User> </Service_calls>
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. |