Retrieve configured system date, time and time zone format
get
/spms/v2/ships/{shipId}/configurations/systemDateTimeFormat
This is to retrieve the system date, time and time zone format
Request
Supported Media Types
- application/json
Path Parameters
-
shipId(required): number
Ship ID
Response
Supported Media Types
- application/json
200 Response
OK
Root Schema : configurationsDateTimeFormat
Type:
object
System configuration of date-time format object
Show Source
-
longDate:
string
Long Date: * dddd, MMMM dd, yyyy - example: Sunday, September 22, 2019 * MMMM d yyyy - example: September 9 2019 * dddd, d MMMM yyyy - example: Sunday, 22 September 2019 * d MMMM, yyyy - example: 9 September, 2019Example:
Sunday, September 22, 2019
-
longTime:
string
Long Time * hh:mm:ss tt - example: 08:20:33 AM * h:mm:ss tt - example: 8:20:33 AM * H:mm:ss - example: 8:20:33 * HH:mm:ss - example: 08:20:33Example:
08:20:33 AM
-
shortDate:
string
Short Date: * M/d/yy - example: 8/6/01 * M/d/yyyy - example: 8/6/2001 * MM/dd/yy - example: 08/06/01 * MM/dd/yyyy - example: 08/06/2001 * yy/MM/dd - example: 01/08/06 * yyyy-MM-dd - example: 2001-08-06 * dd-MMM-yy - example: 06-Aug-01Example:
08/06/2001
-
timeZone:
object timeZone
Time Zone * Africa/Addis_Ababa * Africa/Cairo * Africa/Harare * America/Anchorage * America/Argentina/Buenos_Aires * America/Chicago * America/Indiana/Indianapolis * America/Los_Angeles * America/Sao_Paulo * America/St_Johns * America/Phoenix * America/Puerto_Rico * Australia/Darwin * Australia/Sydney * Asia/Dhaka * Asia/Ho_Chi_Minh * Asia/Karachi * Asia/Kolkata * Asia/Shanghai * Asia/Tokyo * Asia/Yerevan * Europe/Paris * Pacific/Apia * Pacific/Auckland * Pacific/Guadalcanal
Nested Schema : timeZone
Type:
object
Time Zone
* Africa/Addis_Ababa
* Africa/Cairo
* Africa/Harare
* America/Anchorage
* America/Argentina/Buenos_Aires
* America/Chicago
* America/Indiana/Indianapolis
* America/Los_Angeles
* America/Sao_Paulo
* America/St_Johns
* America/Phoenix
* America/Puerto_Rico
* Australia/Darwin
* Australia/Sydney
* Asia/Dhaka
* Asia/Ho_Chi_Minh
* Asia/Karachi
* Asia/Kolkata
* Asia/Shanghai
* Asia/Tokyo
* Asia/Yerevan
* Europe/Paris
* Pacific/Apia
* Pacific/Auckland
* Pacific/Guadalcanal
Show Source
-
country:
string
Time Zone CountryExample:
Asia/Shanghai
-
UTC:
string
Time Zone GMTExample:
+3.00
401 Response
Unauthorized
Root Schema : schema
Match All
Show Source
-
object
Error Response
Title:
Error Response
Error Response returned when encountered error
Example:
{
"type":"http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.2",
"title":"Unauthorized",
"detail":"Valid token is required to access this resource"
}
Nested Schema : Error Response
Type:
object
Title:
Error Response
Error Response returned when encountered error
Show Source
403 Response
Forbidden
Root Schema : schema
Match All
Show Source
-
object
Error Response
Title:
Error Response
Error Response returned when encountered error
Example:
{
"type":"http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.4",
"title":"Forbidden",
"detail":"Access to this resource was forbidden"
}
Nested Schema : Error Response
Type:
object
Title:
Error Response
Error Response returned when encountered error
Show Source
404 Response
Not Found
Root Schema : schema
Match All
Show Source
-
object
Error Response
Title:
Error Response
Error Response returned when encountered error
Example:
{
"type":"http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.5",
"title":"Not Found",
"detail":"Ship 186000000404 was not found"
}
Nested Schema : Error Response
Type:
object
Title:
Error Response
Error Response returned when encountered error
Show Source
405 Response
Method Not Allowed
Root Schema : schema
Match All
Show Source
-
object
Error Response
Title:
Error Response
Error Response returned when encountered error
Example:
{
"type":"http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.6",
"title":"Method Not Supported",
"detail":"HTTP method not supported for this resource"
}
Nested Schema : Error Response
Type:
object
Title:
Error Response
Error Response returned when encountered error
Show Source
406 Response
Not Acceptable
Root Schema : schema
Match All
Show Source
-
object
Error Response
Title:
Error Response
Error Response returned when encountered error
Example:
{
"type":"http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.7",
"title":"Not Acceptable",
"detail":"Request a Mime type that is supported for this Resource"
}
Nested Schema : Error Response
Type:
object
Title:
Error Response
Error Response returned when encountered error
Show Source
410 Response
Gone
Root Schema : schema
Match All
Show Source
-
object
Error Response
Title:
Error Response
Error Response returned when encountered error
Example:
{
"type":"http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.11",
"title":"Gone",
"detail":"Requested Resource no longer exists"
}
Nested Schema : Error Response
Type:
object
Title:
Error Response
Error Response returned when encountered error
Show Source
415 Response
Unsupported Media Type
Root Schema : schema
Match All
Show Source
-
object
Error Response
Title:
Error Response
Error Response returned when encountered error
Example:
{
"type":"http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.16",
"title":"Unsupported Media Type",
"detail":"Content type not supported"
}
Nested Schema : Error Response
Type:
object
Title:
Error Response
Error Response returned when encountered error
Show Source
500 Response
Internal Server Error
Root Schema : schema
Match All
Show Source
-
object
Error Response
Title:
Error Response
Error Response returned when encountered error
Example:
{
"type":"http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.5.1",
"title":"Internal Server Error",
"detail":"Issue fulfilling request. Please retry or contact support"
}
Nested Schema : Error Response
Type:
object
Title:
Error Response
Error Response returned when encountered error
Show Source
501 Response
Not Implemented
Root Schema : schema
Match All
Show Source
-
object
Error Response
Title:
Error Response
Error Response returned when encountered error
Example:
{
"type":"http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.5.2",
"title":"Not implemented",
"detail":"Resource is not implemented in this version of the API"
}
Nested Schema : Error Response
Type:
object
Title:
Error Response
Error Response returned when encountered error
Show Source
503 Response
Service Unavailable
Root Schema : schema
Match All
Show Source
-
object
Error Response
Title:
Error Response
Error Response returned when encountered error
Example:
{
"type":"http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.5.4",
"title":"Service Unavailable",
"detail":"Service not available"
}
Nested Schema : Error Response
Type:
object
Title:
Error Response
Error Response returned when encountered error
Show Source