GET api/Bike/{id}/getcanmergeinfo
Control of flow information required by Ui when you want to select a victim of merge operation
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
victim id |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
CanMergeBikeInfo| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
None. |
|
| HasServices | boolean |
None. |
|
| HasServiceLogs | boolean |
None. |
|
| HasServicedGearLogs | boolean |
None. |
|
| HasReplacedGearOnServiceLogs | boolean |
None. |
|
| WasCreatedByStrava | boolean |
None. |
|
| HasRides | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{
"ID": 1,
"HasServices": true,
"HasServiceLogs": true,
"HasServicedGearLogs": true,
"HasReplacedGearOnServiceLogs": true,
"WasCreatedByStrava": true,
"HasRides": true
}
application/xml, text/xml
Sample:
<CanMergeBikeInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Hub.Server.Business.Models"> <HasReplacedGearOnServiceLogs>true</HasReplacedGearOnServiceLogs> <HasRides>true</HasRides> <HasServiceLogs>true</HasServiceLogs> <HasServicedGearLogs>true</HasServicedGearLogs> <HasServices>true</HasServices> <ID>1</ID> <WasCreatedByStrava>true</WasCreatedByStrava> </CanMergeBikeInfo>