GET api/Partner/{id}/LinkCyclist/{cyclistid}/Rating/{rating}
Links a cyclist to partner (ensures that this cyclist will turn up in a search by the partner). This can be done explicitly, but will also be automatically done the first time a cyclist books in one of his bikes for a service this function will typically be used when partner captures cyclists during a seeding phase When capturing a cyclist, or making a change to a cyclist record, or booking a service, a default entry is inserted linking cyclist to partner, with a rating of 1 To specific a specific rating, this function needs to be called
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id |
partner id |
integer |
Required |
cyclistid |
user/cyclist id |
integer |
Required |
rating |
values from 1..3 |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
booleanResponse Formats
application/json, text/json
Sample:
true
application/xml, text/xml
Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>