public JsonRestRequest BuildAddMapRequest(Map map)
        {
            var request = new JsonRestRequest(Endpoints.MapsUrl, Method.POST);

            request.RemoveUrlSegment("mapId");
            request.AddBody(map);
            return(request);
        }
        public JsonRestRequest BuildAddActivityRequest(Activity activity)
        {
            var request = new JsonRestRequest(Endpoints.ActivitiesUrl, Method.POST);

            request.RemoveUrlSegment("activityId");
            request.AddBody(activity);
            return(request);
        }
        public JsonRestRequest BuildAddActorRequest(Actor actor)
        {
            var request = new JsonRestRequest(Endpoints.ActorsUrl, Method.POST);

            request.AddUrlSegment("activityId", actor.ActivityId.ToString());
            request.RemoveUrlSegment("actorId");
            request.AddBody(actor);
            return(request);
        }
        public JsonRestRequest BuildAddActionRequest(long activityId, Action action)
        {
            var request = new JsonRestRequest(Endpoints.ActionsUrl, Method.POST);

            request.AddUrlSegment("activityId", action.ActivityId.ToString());
            request.RemoveUrlSegment("actionId");
            request.AddBody(action);
            return(request);
        }