public JsonObject DataHeadersWithIncludeDataInResponse(string endpoint, bool includeDataInResponse) { JsonObjectApi apiHeaders = new ApiHeaders().DataHeaders(endpoint); Dictionary <string, object> dictionary = new Dictionary <string, object>(); dictionary.Add("includeDataInResponse", includeDataInResponse); apiHeaders.PutHeaders(dictionary); return(apiHeaders); }
public JsonObjectApi DataHeadersWithPathId(string endpoint, int id) { JsonObjectApi apiHeaders = new ApiHeaders().DataHeaders(endpoint.Replace("{id}", id.ToString())); return(apiHeaders); }