POST api/Users/UpdateTodayTarget
Request Information
URI Parameters
None.
Body Parameters
UpdateTodayTargetModel| Name | Description | Type | Additional information |
|---|---|---|---|
| accountId | integer |
None. |
|
| value | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{
"accountId": 1,
"value": 2.1
}
text/plain, application/octet-stream
Sample:
{"accountId":1,"value":2.1}
application/xml, text/xml
Sample:
<UpdateTodayTargetModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RashakaApi.ApiRequestBody"> <accountId>1</accountId> <value>2.1</value> </UpdateTodayTargetModel>
multipart/form-data, application/form-data
Sample:
<UpdateTodayTargetModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RashakaApi.ApiRequestBody"><accountId>1</accountId><value>2.1</value></UpdateTodayTargetModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, text/plain, application/octet-stream, application/xml, text/xml, multipart/form-data, application/form-data
Sample:
Sample not available.