Retrieve configured sub department record.

get

/spms/v2/ships/{shipId}/configurations/financialSubDepartments/credit/{subDepartmentCode}

This is to retrieve the configured sub department codes.

Request

Supported Media Types
Path Parameters
Back to Top

Response

Supported Media Types

200 Response

OK
Body ()
Root Schema : Configured Sub Department
Type: object
Title: Configured Sub Department
Configured Sub Department Record
Show Source
Nested Schema : Credit Card Other Details
Type: object
Title: Credit Card Other Details
Credit Card Other Details. Note: only appear if the sub dept code is configured with payment type = CC Credit Card
Show Source
  • Title: Credit Card Disclaimer
    Pattern: ^[a-zA-ZÀ-ÖØ-öø-ÿ0-9 _,?/.\-+*n~!@#$%&{}[]()=<>|^'":;@`]*$
    Credit card disclaimer note for signature capture
    Example: <Overwrite and Input Credit Card Disclaimer Note Here>
  • Title: Payment Department Type
    Pattern: ^[a-zA-ZÀ-ÖØ-öø-ÿ0-9 _,?/.\-+*n~!@#$%&{}[]()=<>|^'":;@`]*$
    Identify whether the department is used for: * Both Debit and Credit Card * Only Credit Card * Only Debit Card
    Example: Both Debit and Credit Card
Nested Schema : Department Grouping
Type: object
Title: Department Grouping
Department Grouping
Show Source
Nested Schema : Department Security Level
Type: object
Title: Department Security Level
Department Security Level
Show Source
Nested Schema : GL System Origin
Type: object
Title: GL System Origin
GL System Origin
Show Source
Nested Schema : Micros Cabin Charge Only
Type: object
Title: Micros Cabin Charge Only
Micros Cabin Charge Only
Show Source
Nested Schema : Non-Refundable Credit
Type: object
Title: Non-Refundable Credit
Non-Refundable Credit
Show Source
Nested Schema : Payment Type Details
Type: object
Title: Payment Type Details
Payment Type Details
Show Source
Nested Schema : Payment Type in POS Subsystem
Type: object
Title: Payment Type in POS Subsystem
Payment Type in POS Subsystem
Show Source
Nested Schema : eligibleDepartments
Type: array
Eligible Departments
Show Source
Nested Schema : redirectionAccount
Type: object
Redirection Account
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : subDepartments
Type: array
Eligible Sub Departments
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : Commission Department
Type: object
Title: Commission Department
Commission Department (Note: only debit department code is displayed)
Show Source

400 Response

Bad Request
Body ()
Root Schema : schema
Match All
Show Source
Example:
{
    "type":"HTTP://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.1",
    "title":"Bad Request",
    "detail":"Limit must not be less than one!"
}
Nested Schema : Error Response
Type: object
Title: Error Response
Error Response returned when encountered error
Show Source

401 Response

Unauthorized
Body ()
Root Schema : schema
Match All
Show Source
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
Body ()
Root Schema : schema
Match All
Show Source
Example:
{
    "type":"https://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.4",
    "title":"Forbidden",
    "detail":"Access to this resource is forbidden"
}
Nested Schema : Error Response
Type: object
Title: Error Response
Error Response returned when encountered error
Show Source

404 Response

Not Found
Body ()
Root Schema : schema
Match All
Show Source
Example:
{
    "type":"HTTP://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.5",
    "title":"Not Found",
    "detail":"This resource path does not exist"
}
Nested Schema : Error Response
Type: object
Title: Error Response
Error Response returned when encountered error
Show Source

405 Response

Method Not Allowed
Body ()
Root Schema : schema
Match All
Show Source
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
Body ()
Root Schema : schema
Match All
Show Source
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

500 Response

Internal Server Error
Body ()
Root Schema : schema
Match All
Show Source
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

503 Response

Service Unavailable
Body ()
Root Schema : schema
Match All
Show Source
Example:
{
    "type":"https://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.5.4",
    "title":"Service Unavailable",
    "detail":"Service Unavailable. Try again later"
}
Nested Schema : Error Response
Type: object
Title: Error Response
Error Response returned when encountered error
Show Source
Back to Top