POST api/AFNI/ChangeServerDate

Request Information

URI Parameters

None.

Body Parameters

ServerDate
NameDescriptionTypeAdditional information
ID

integer

None.

SDate

date

None.

IsActive

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "SDate": "2025-12-06T12:36:59.115206+08:00",
  "IsActive": true
}

application/xml, text/xml

Sample:
<ServerDate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AFNIAPI.Models">
  <ID>1</ID>
  <IsActive>true</IsActive>
  <SDate>2025-12-06T12:36:59.115206+08:00</SDate>
</ServerDate>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

boolean

Response Formats

application/json, text/json

Sample:
true

application/xml, text/xml

Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>