GET Api/PortalSetting?clientID={clientID}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| clientID | globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
PortalSettingViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| ClientID | globally unique identifier |
None. |
|
| TimeZone | string |
None. |
|
| TimeZoneUtcOffset | time interval |
None. |
|
| CompanyName | string |
None. |
|
| DateFormat | string |
None. |
|
| TimeFormat | string |
None. |
|
| CurrencyID | string |
None. |
|
| MapCenterLatitude | decimal number |
None. |
|
| MapCenterLongitude | decimal number |
None. |
|
| MapZoomLevel | integer |
None. |
|
| CommuteSettingViewModel | CommuteSettingViewModel |
None. |
Response Formats
application/json, text/json
Sample:
{
"ClientID": "caa17e0b-7d29-41de-97f1-420f0f255f86",
"TimeZone": "sample string 2",
"TimeZoneUtcOffset": "00:00:00.1234567",
"CompanyName": "sample string 4",
"DateFormat": "sample string 5",
"TimeFormat": "sample string 6",
"CurrencyID": "sample string 7",
"MapCenterLatitude": 8.1,
"MapCenterLongitude": 9.1,
"MapZoomLevel": 10,
"CommuteSettingViewModel": {
"ParentAppIncidentReportEnabled": true,
"ParentAppPaymentEnabled": true,
"ParentAppChangeLocationEnabled": true,
"ParentAppIdCardRequestEnabled": true,
"NotificationTypeSelectedList": [
1,
2
]
}
}
application/xml, text/xml
Sample:
<PortalSettingViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FleetrootParent.Service.Models">
<ClientID>caa17e0b-7d29-41de-97f1-420f0f255f86</ClientID>
<CommuteSettingViewModel>
<NotificationTypeSelectedList xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d3p1:int>1</d3p1:int>
<d3p1:int>2</d3p1:int>
</NotificationTypeSelectedList>
<ParentAppChangeLocationEnabled>true</ParentAppChangeLocationEnabled>
<ParentAppIdCardRequestEnabled>true</ParentAppIdCardRequestEnabled>
<ParentAppIncidentReportEnabled>true</ParentAppIncidentReportEnabled>
<ParentAppPaymentEnabled>true</ParentAppPaymentEnabled>
</CommuteSettingViewModel>
<CompanyName>sample string 4</CompanyName>
<CurrencyID>sample string 7</CurrencyID>
<DateFormat>sample string 5</DateFormat>
<MapCenterLatitude>8.1</MapCenterLatitude>
<MapCenterLongitude>9.1</MapCenterLongitude>
<MapZoomLevel>10</MapZoomLevel>
<TimeFormat>sample string 6</TimeFormat>
<TimeZone>sample string 2</TimeZone>
<TimeZoneUtcOffset>PT0.1234567S</TimeZoneUtcOffset>
</PortalSettingViewModel>