PUT api/ServiceBooking?bookingid={bookingid}&reasonid={reasonid}&reason={reason}&empid={empid}&empname={empname}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| bookingid | integer |
Required |
|
| reasonid | integer |
Required |
|
| reason | string |
Required |
|
| empid | integer |
Required |
|
| empname | string |
Required |
Body Parameters
stringRequest Formats
application/json, text/json
Sample:
"sample string 1"
application/xml, text/xml
Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>
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>