POST api/AdminUser/UpdateSettings
Request Information
URI Parameters
None.
Body Parameters
settingsName | Description | Type | Additional information |
---|---|---|---|
checkout_Km | string |
None. |
|
checkout_hours | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "checkout_Km": "sample string 1", "checkout_hours": "sample string 2" }
application/xml, text/xml
Sample:
<settings xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ModelLayer"> <checkout_Km>sample string 1</checkout_Km> <checkout_hours>sample string 2</checkout_hours> </settings>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
ResponseModelName | Description | Type | Additional information |
---|---|---|---|
Success | boolean |
None. |
|
Data | Object |
None. |
|
Message | string |
None. |
|
ErrorCode | integer |
None. |
|
Data1 | Object |
None. |
|
Emp_ID | string |
None. |
|
On_duty_master_ID | integer |
None. |
|
ODStatus | Object |
None. |
|
ODDetails | Object |
None. |
|
UserDetails | Object |
None. |
|
ON_DUTY_PROGRAM_ID | integer |
None. |
|
settings | Object |
None. |
|
IsProgramStatus | boolean |
None. |
|
ODStartTime | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Success": true, "Data": {}, "Message": "sample string 3", "ErrorCode": 4, "Data1": {}, "Emp_ID": "sample string 6", "On_duty_master_ID": 7, "ODStatus": {}, "ODDetails": {}, "UserDetails": {}, "ON_DUTY_PROGRAM_ID": 11, "settings": {}, "IsProgramStatus": true, "ODStartTime": "sample string 14" }
application/xml, text/xml
Sample:
<ResponseModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ModelLayer"> <Data /> <Data1 /> <Emp_ID>sample string 6</Emp_ID> <ErrorCode>4</ErrorCode> <IsProgramStatus>true</IsProgramStatus> <Message>sample string 3</Message> <ODDetails /> <ODStartTime>sample string 14</ODStartTime> <ODStatus /> <ON_DUTY_PROGRAM_ID>11</ON_DUTY_PROGRAM_ID> <On_duty_master_ID>7</On_duty_master_ID> <Success>true</Success> <UserDetails /> <settings /> </ResponseModel>