Davinci Meeting Rooms Mobile API

<back to all web services

SetFavoriteCenterRequest

The following routes are available for this service:
POST/api/centers/set-favorite
SetFavoriteCenterRequest Parameters:
NameParameterData TypeRequiredDescription
CenterIdbodyintNo
FavoritebodyboolNo
SecureRequestBase<TResponse> Parameters:
NameParameterData TypeRequiredDescription
TokenformstringNo
RequestBase<TResponse> Parameters:
NameParameterData TypeRequiredDescription
AppVersionformstringNo
ResponseBase Parameters:
NameParameterData TypeRequiredDescription
SuccessmodelbooleanYes
ErrormodelResponseErrorNo
ResponseError Parameters:
NameParameterData TypeRequiredDescription
SummarymodelstringNo
MessagemodelstringNo
DetailsmodelstringNo

To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /api/centers/set-favorite HTTP/1.1 
Host: api.davincimeetingrooms.com 
Accept: application/json
Content-Type: application/json
Content-Length: length

{"CenterId":0,"Favorite":false,"Token":"String","AppVersion":"String"}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"Success":false,"Error":{"Summary":"String","Message":"String","Details":"String"}}