POST api/v1/rates?token={token}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
token | string |
Required |
Body Parameters
RateJsonName | Description | Type | Additional information |
---|---|---|---|
MileageRate | decimal number |
None. |
|
Description | string |
None. |
|
queryable | Collection of Rate |
None. |
Request Formats
application/json, text/json
Sample:
{ "queryable": [ { "Id": 1, "MileageRate": 2.0, "Description": "sample string 3", "CreateDate": "2025-04-03T18:10:07.7291381-04:00", "CreateUser": "sample string 4", "ModifyDate": "2025-04-03T18:10:07.7291381-04:00", "ModifyUser": "sample string 5", "DeleteDate": "2025-04-03T18:10:07.7291381-04:00", "DeleteUser": "sample string 6" }, { "Id": 1, "MileageRate": 2.0, "Description": "sample string 3", "CreateDate": "2025-04-03T18:10:07.7291381-04:00", "CreateUser": "sample string 4", "ModifyDate": "2025-04-03T18:10:07.7291381-04:00", "ModifyUser": "sample string 5", "DeleteDate": "2025-04-03T18:10:07.7291381-04:00", "DeleteUser": "sample string 6" } ], "MileageRate": 1.0, "Description": "sample string 2" }
text/html
Sample:
{"queryable":[{"Id":1,"MileageRate":2.0,"Description":"sample string 3","CreateDate":"2025-04-03T18:10:07.7291381-04:00","CreateUser":"sample string 4","ModifyDate":"2025-04-03T18:10:07.7291381-04:00","ModifyUser":"sample string 5","DeleteDate":"2025-04-03T18:10:07.7291381-04:00","DeleteUser":"sample string 6"},{"Id":1,"MileageRate":2.0,"Description":"sample string 3","CreateDate":"2025-04-03T18:10:07.7291381-04:00","CreateUser":"sample string 4","ModifyDate":"2025-04-03T18:10:07.7291381-04:00","ModifyUser":"sample string 5","DeleteDate":"2025-04-03T18:10:07.7291381-04:00","DeleteUser":"sample string 6"}],"MileageRate":1.0,"Description":"sample string 2"}
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, text/html, application/xml, text/xml
Sample:
Sample not available.