PUT /locationRatings/create
Creates a new Location Rating record for the given data.
Roles that can access this endpoint are Drivers.
Parameters
name |
description |
type |
default |
type |
locationRating |
the data to use when creating the new Location Rating |
body of type: application/xml application/json
|
|
RowLocationRating
|
Result
RowLocationRating
of type:
application/xml
application/json
the created RowLocationRating object
Child Elements:
RowLocation
This element represents the location being rated. The element
contains a __name
attribute with the value location
.
RowUsers
This element represents the user performing the rating. The element
contains a __name
attribute with the value enteredByUser
.
RowDriver
This element represents the driver record associated with the
user performing the rating. The element contains a __name
attribute with the value driver
.
RowLocationRatingQuestion
This element represents a question being posed
on the rating. The element contains a __name
attribute with the value locationRatingQuestion
. Please
note that locationRatingQuestion records are read only and cannot be saved via this API.
RowLocationRatingAnswer
This element represents the answer to its enclosing
question element. The element contains a __name
attribute with the value locationRatingAnswer
. Please
note that locationRatingAnswer elements that do not include a numeric answer attribute from 1-5 will not be saved.
Try It Out
Request