POST api/ServiceBooking/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
DTOSerRecthdr| Name | Description | Type | Additional information |
|---|---|---|---|
| entry_date | date |
None. |
|
| booking_date | date |
None. |
|
| booking_no | string |
None. |
|
| servicebooking_id | integer |
None. |
|
| customer_name | string |
None. |
|
| mobile_no | string |
None. |
|
| email_id | string |
None. |
|
| address | string |
None. |
|
| complaint_desc | string |
None. |
|
| under_warranty | boolean |
None. |
|
| reason | string |
None. |
|
| work_done | string |
None. |
|
| rectification_status | string |
None. |
|
| attended_by | string |
None. |
|
| start_time | date |
None. |
|
| end_time | date |
None. |
|
| Serialno | string |
None. |
|
| Reference | string |
None. |
|
| division_no | integer |
None. |
|
| created_by | string |
None. |
|
| product_code | string |
None. |
|
| product_name | string |
None. |
|
| product_id | integer |
None. |
|
| acc_no | integer |
None. |
|
| pending_reason | string |
None. |
|
| branch_name | string |
None. |
|
| attendedby | integer |
None. |
|
| remarks | string |
None. |
|
| completed_qty | decimal number |
None. |
|
| purchase_date | date |
None. |
|
| rectification_type | integer |
None. |
|
| DTOSerRectdtl | Collection of DTOSerRectdtl |
None. |
Request Formats
application/json, text/json
Sample:
{
"entry_date": "2026-01-11T04:24:36.0492625+05:30",
"booking_date": "2026-01-11T04:24:36.0492625+05:30",
"booking_no": "sample string 3",
"servicebooking_id": 4,
"customer_name": "sample string 5",
"mobile_no": "sample string 6",
"email_id": "sample string 7",
"address": "sample string 8",
"complaint_desc": "sample string 9",
"under_warranty": true,
"reason": "sample string 11",
"work_done": "sample string 12",
"rectification_status": "sample string 13",
"attended_by": "sample string 14",
"start_time": "2026-01-11T04:24:36.0492625+05:30",
"end_time": "2026-01-11T04:24:36.0492625+05:30",
"Serialno": "sample string 17",
"Reference": "sample string 18",
"division_no": 19,
"created_by": "sample string 20",
"product_code": "sample string 21",
"product_name": "sample string 22",
"product_id": 23,
"acc_no": 24,
"pending_reason": "sample string 25",
"branch_name": "sample string 26",
"attendedby": 27,
"remarks": "sample string 28",
"completed_qty": 29.0,
"purchase_date": "2026-01-11T04:24:36.0492625+05:30",
"rectification_type": 31,
"DTOSerRectdtl": [
{
"item_id": 1,
"item_code": "sample string 2",
"item_name": "sample string 3",
"qty": 4.0,
"rate": 5.0,
"amount": 6.0,
"division_no": 7
},
{
"item_id": 1,
"item_code": "sample string 2",
"item_name": "sample string 3",
"qty": 4.0,
"rate": 5.0,
"amount": 6.0,
"division_no": 7
}
]
}
application/xml, text/xml
Sample:
<DTOSerRecthdr xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/apiAndroid.Controllers">
<DTOSerRectdtl>
<DTOSerRectdtl>
<amount>6</amount>
<division_no>7</division_no>
<item_code>sample string 2</item_code>
<item_id>1</item_id>
<item_name>sample string 3</item_name>
<qty>4</qty>
<rate>5</rate>
</DTOSerRectdtl>
<DTOSerRectdtl>
<amount>6</amount>
<division_no>7</division_no>
<item_code>sample string 2</item_code>
<item_id>1</item_id>
<item_name>sample string 3</item_name>
<qty>4</qty>
<rate>5</rate>
</DTOSerRectdtl>
</DTOSerRectdtl>
<Reference>sample string 18</Reference>
<Serialno>sample string 17</Serialno>
<acc_no>24</acc_no>
<address>sample string 8</address>
<attended_by>sample string 14</attended_by>
<attendedby>27</attendedby>
<booking_date>2026-01-11T04:24:36.0492625+05:30</booking_date>
<booking_no>sample string 3</booking_no>
<branch_name>sample string 26</branch_name>
<complaint_desc>sample string 9</complaint_desc>
<completed_qty>29</completed_qty>
<created_by>sample string 20</created_by>
<customer_name>sample string 5</customer_name>
<division_no>19</division_no>
<email_id>sample string 7</email_id>
<end_time>2026-01-11T04:24:36.0492625+05:30</end_time>
<entry_date>2026-01-11T04:24:36.0492625+05:30</entry_date>
<mobile_no>sample string 6</mobile_no>
<pending_reason>sample string 25</pending_reason>
<product_code>sample string 21</product_code>
<product_id>23</product_id>
<product_name>sample string 22</product_name>
<purchase_date>2026-01-11T04:24:36.0492625+05:30</purchase_date>
<reason>sample string 11</reason>
<rectification_status>sample string 13</rectification_status>
<rectification_type>31</rectification_type>
<remarks>sample string 28</remarks>
<servicebooking_id>4</servicebooking_id>
<start_time>2026-01-11T04:24:36.0492625+05:30</start_time>
<under_warranty>true</under_warranty>
<work_done>sample string 12</work_done>
</DTOSerRecthdr>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
rtnMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| result | boolean |
None. |
|
| message | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"result": true,
"message": "sample string 2"
}
application/xml, text/xml
Sample:
<rtnMessage xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/apiAndroid.Controllers"> <message>sample string 2</message> <result>true</result> </rtnMessage>