POST api/userrights/daterange/save

Request Information

URI Parameters

None.

Body Parameters

SaveUserRightsDateRangeRequestModel
NameDescriptionTypeAdditional information
UserTypeCode

string

None.

FromDate

date

None.

ToDate

date

None.

UserID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "UserTypeCode": "sample string 1",
  "FromDate": "2026-10-15T11:15:30.3182761-07:00",
  "ToDate": "2026-10-15T11:15:30.3182761-07:00",
  "UserID": 4
}

application/xml, text/xml

Sample:
<SaveUserRightsDateRangeRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CrushMateBackendAPI.Controllers">
  <FromDate>2026-10-15T11:15:30.3182761-07:00</FromDate>
  <ToDate>2026-10-15T11:15:30.3182761-07:00</ToDate>
  <UserID>4</UserID>
  <UserTypeCode>sample string 1</UserTypeCode>
</SaveUserRightsDateRangeRequestModel>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'SaveUserRightsDateRangeRequestModel'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.