POST api/NTSetting/PostTimeZone
Request Information
URI Parameters
None.
Body Parameters
TimeZoneDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Name | string |
String length: inclusive between 0 and 150 |
|
| Value | string |
String length: inclusive between 0 and 20 |
|
| Sequence | integer |
None. |
|
| Abbreviation | string |
String length: inclusive between 0 and 10 |
|
| ValidFlag | boolean |
None. |
|
| DateCreated | date |
None. |
|
| DateUpdated | date |
None. |
|
| UserIDCreated | integer |
None. |
|
| UserIDUpdated | integer |
None. |
|
| CompanyCode | string |
String length: inclusive between 0 and 20 |
|
| IsExcludeDiscount | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"Name": "sample string 2",
"Value": "sample string 3",
"Sequence": 4,
"Abbreviation": "sample string 5",
"ValidFlag": true,
"DateCreated": "2025-10-30T13:04:46.7470418-07:00",
"DateUpdated": "2025-10-30T13:04:46.7470418-07:00",
"UserIDCreated": 9,
"UserIDUpdated": 10,
"CompanyCode": "sample string 11",
"IsExcludeDiscount": true
}
application/xml, text/xml
Sample:
<TimeZoneDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.BL"> <CompanyCode>sample string 11</CompanyCode> <DateCreated>2025-10-30T13:04:46.7470418-07:00</DateCreated> <DateUpdated>2025-10-30T13:04:46.7470418-07:00</DateUpdated> <IsExcludeDiscount>true</IsExcludeDiscount> <UserIDCreated>9</UserIDCreated> <UserIDUpdated>10</UserIDUpdated> <ValidFlag>true</ValidFlag> <Abbreviation>sample string 5</Abbreviation> <Id>1</Id> <Name>sample string 2</Name> <Sequence>4</Sequence> <Value>sample string 3</Value> </TimeZoneDTO>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
AsapResponseOfTimeZoneDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| isSuccess | boolean |
None. |
|
| message | string |
None. |
|
| jsonObj | TimeZoneDTO |
None. |
|
| totalCount | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"isSuccess": true,
"message": "sample string 2",
"jsonObj": {
"Id": 1,
"Name": "sample string 2",
"Value": "sample string 3",
"Sequence": 4,
"Abbreviation": "sample string 5",
"ValidFlag": true,
"DateCreated": "2025-10-30T13:04:46.9161521-07:00",
"DateUpdated": "2025-10-30T13:04:46.9161521-07:00",
"UserIDCreated": 9,
"UserIDUpdated": 10,
"CompanyCode": "sample string 11",
"IsExcludeDiscount": true
},
"totalCount": 3
}
application/xml, text/xml
Sample:
<AsapResponseOfTimeZoneDTO3NYuOdgi xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.Common">
<isSuccess>true</isSuccess>
<jsonObj xmlns:d2p1="http://schemas.datacontract.org/2004/07/ASAP_BL.BL">
<d2p1:CompanyCode>sample string 11</d2p1:CompanyCode>
<d2p1:DateCreated>2025-10-30T13:04:46.9161521-07:00</d2p1:DateCreated>
<d2p1:DateUpdated>2025-10-30T13:04:46.9161521-07:00</d2p1:DateUpdated>
<d2p1:IsExcludeDiscount>true</d2p1:IsExcludeDiscount>
<d2p1:UserIDCreated>9</d2p1:UserIDCreated>
<d2p1:UserIDUpdated>10</d2p1:UserIDUpdated>
<d2p1:ValidFlag>true</d2p1:ValidFlag>
<d2p1:Abbreviation>sample string 5</d2p1:Abbreviation>
<d2p1:Id>1</d2p1:Id>
<d2p1:Name>sample string 2</d2p1:Name>
<d2p1:Sequence>4</d2p1:Sequence>
<d2p1:Value>sample string 3</d2p1:Value>
</jsonObj>
<message>sample string 2</message>
<totalCount>3</totalCount>
</AsapResponseOfTimeZoneDTO3NYuOdgi>