Retrieve configured sub department record.
get
/spms/v2/ships/{shipId}/configurations/financialSubDepartments/debit/{subDepartmentCode}
This is to retrieve the configured sub department codes.
Request
Supported Media Types
- application/json
Path Parameters
-
shipId: number
ship Id
-
subDepartmentCode: string
Sub Department Code
Response
Supported Media Types
- application/json
200 Response
OK
Root Schema : Configured sub department
Type:
object
Title:
Configured sub department
Configured sub department record
Show Source
-
allowCasinoDepartmentPosting(optional):
boolean
Posting allow in casino departmentExample:
true
-
casinoDepartment(optional):
object casinoDepartment
Department in Casino
-
departmentDiscount(optional):
object departmentDiscount
Department Discounts
-
departmentGrouping(optional):
object Department Grouping
Title:
Department Grouping
Department Grouping -
departmentSecurityLevel(optional):
object Department Security Level
Title:
Department Security Level
Department Security Level -
departmentType(optional):
string
Title:
Department Type
Default Value:Debit
Pattern:^[a-zA-ZÀ-ÖØ-öø-ÿ0-9 _,?/.\-+*n~!@#$%&{}[]()=<>|^'":;@`]*$
Department type. Always equal to DebitExample:Debit
-
excludeRevenueOverview(optional):
boolean
Exclude from revenue overviewExample:
true
-
glSystemOrigin(optional):
object GL System Origin
Title:
GL System Origin
GL System Origin -
isActive(optional):
boolean
Activation status of the user group: * `true` - User group is active * `false` - User group is inactiveExample:
true
-
lastModifiedDate(optional):
string
Last modified dateExample:
2022-09-21 17:00:00
-
mainDepartmentCode(optional):
string
Maximum Length:
10
Pattern:^[a-zA-ZÀ-ÖØ-öø-ÿ0-9 _,?/.\-+*n~!@#$%&{}[]()=<>|^'":;@`]*$
Main Department CodeExample:1000
-
mainDepartmentDescription(optional):
string
Pattern:
^[a-zA-ZÀ-ÖØ-öø-ÿ0-9 _,?/.\-+*n~!@#$%&{}[]()=<>|^'":;@`]*$
Main Department DescriptionExample:Food and Beverage
-
nonRefundableCredit(optional):
object Non-Refundable Credit
Title:
Non-Refundable Credit
Non-Refundable Credit -
payrollPayoutTagSignature(optional):
string
Tag Signature Capture required during payroll payout * Yes * No * Not SpecifiedExample:
Yes
-
pbxDepartmentSubsystem(optional):
object pbxDepartmentSubsystem
Department in PBX Subsystem
-
posDepartmentSubsystem(optional):
object Department in POS Subsystem
Title:
Department in POS Subsystem
Department in POS Subsystem -
postingType(optional):
string
Pattern:
^[a-zA-ZÀ-ÖØ-öø-ÿ0-9 _,?/.\-+*n~!@#$%&{}[]()=<>|^'":;@`]*$
Posting TypeExample:D Posting Department
-
subDepartmentCode(optional):
string
Maximum Length:
10
Pattern:^[a-zA-ZÀ-ÖØ-öø-ÿ0-9 _,?/.\-+*n~!@#$%&{}[]()=<>|^'":;@`]*$
Sub Department CodeExample:1001
-
subDepartmentDescription(optional):
string
Pattern:
^[a-zA-ZÀ-ÖØ-öø-ÿ0-9 _,?/.\-+*n~!@#$%&{}[]()=<>|^'":;@`]*$
Sub Department DescriptionExample:Sports Bar - Food
-
subDepartmentOtherDescription(optional):
string
Pattern:
^[a-zA-ZÀ-ÖØ-öø-ÿ0-9 _,?/.\-+*n~!@#$%&{}[]()=<>|^'":;@`]*$
Sub department other descriptionExample:Tiket Perlayaran
-
vatTaxClass(optional):
object vatTaxClass
VAT Tax Class
Nested Schema : casinoDepartment
Type:
object
Department in Casino
Show Source
-
maximumCruiseLimit(optional):
integer
Pattern:
^[0-9]*$
Maximum cruise limitExample:100
-
maximumDailyLimit(optional):
integer
Pattern:
^[0-9]*$
Maximum daily limitExample:10
-
serviceCharge(optional):
string
Pattern:
^[a-zA-ZÀ-ÖØ-öø-ÿ0-9 _,?/.\-+*n~!@#$%&{}[]()=<>|^'":;@`]*$
Service chargeExample:10
-
serviceChargeDepartment(optional):
object subDepartment
Sub Department
Nested Schema : departmentDiscount
Type:
object
Department Discounts
Show Source
-
crewDiscountsDepartment(optional):
object subDepartment
Sub Department
-
guestDiscountsDepartment(optional):
object subDepartment
Sub Department
Nested Schema : Department Grouping
Type:
object
Title:
Department Grouping
Department Grouping
Show Source
-
departmentGroupingCode(optional):
string
Pattern:
^[a-zA-ZÀ-ÖØ-öø-ÿ0-9 _,?/.\-+*n~!@#$%&{}[]()=<>|^'":;@`]*$
Department grouping codeExample:GRP01
-
departmentGroupingDescription(optional):
string
Pattern:
^[a-zA-ZÀ-ÖØ-öø-ÿ0-9 _,?/.\-+*n~!@#$%&{}[]()=<>|^'":;@`]*$
Department grouping descriptionExample:Group One
Nested Schema : Department Security Level
Type:
object
Title:
Department Security Level
Department Security Level
Show Source
-
securityLevel(optional):
string
Pattern:
^[a-zA-ZÀ-ÖØ-öø-ÿ0-9 _,?/.\-+*n~!@#$%&{}[]()=<>|^'":;@`]*$
Security LevelExample:Debit Department Level 1
Nested Schema : GL System Origin
Type:
object
Title:
GL System Origin
GL System Origin
Show Source
-
glControlAccount(optional):
string
Pattern:
^[a-zA-ZÀ-ÖØ-öø-ÿ0-9 _,?/.\-+*n~!@#$%&{}[]()=<>|^'":;@`]*$
GL control accountExample:abc1234
-
glDepartment(optional):
string
Pattern:
^[a-zA-ZÀ-ÖØ-öø-ÿ0-9 _,?/.\-+*n~!@#$%&{}[]()=<>|^'":;@`]*$
GL departmentExample:abc1234
-
glMaterial(optional):
string
Pattern:
^[a-zA-ZÀ-ÖØ-öø-ÿ0-9 _,?/.\-+*n~!@#$%&{}[]()=<>|^'":;@`]*$
GL materialExample:abc1234
-
glMpmissue(optional):
string
Pattern:
^[a-zA-ZÀ-ÖØ-öø-ÿ0-9 _,?/.\-+*n~!@#$%&{}[]()=<>|^'":;@`]*$
GL mpmissueExample:abc1234
-
glOrigin(optional):
string
Pattern:
^[a-zA-ZÀ-ÖØ-öø-ÿ0-9 _,?/.\-+*n~!@#$%&{}[]()=<>|^'":;@`]*$
GL originExample:abc1234
-
glSpare(optional):
string
Pattern:
^[a-zA-ZÀ-ÖØ-öø-ÿ0-9 _,?/.\-+*n~!@#$%&{}[]()=<>|^'":;@`]*$
GL spareExample:abc1234
-
glSubAccount(optional):
string
Pattern:
^[a-zA-ZÀ-ÖØ-öø-ÿ0-9 _,?/.\-+*n~!@#$%&{}[]()=<>|^'":;@`]*$
GL sub accountExample:abc1234
-
glVoyage(optional):
string
Pattern:
^[a-zA-ZÀ-ÖØ-öø-ÿ0-9 _,?/.\-+*n~!@#$%&{}[]()=<>|^'":;@`]*$
GL voyageExample:abc1234
Nested Schema : Non-Refundable Credit
Type:
object
Title:
Non-Refundable Credit
Non-Refundable Credit
Show Source
-
applyCount(optional):
integer
Pattern:
^[0-9]*$
Apply countExample:1
-
applyValue(optional):
integer
Pattern:
^[0-9]*$
Apply valueExample:1
-
eligibleDepartments(optional):
array eligibleDepartments
Eligible Departments
-
redirectionAccount(optional):
object redirectionAccount
Redirection Account
-
resetCountPeriod(optional):
string
Pattern:
^[a-zA-ZÀ-ÖØ-öø-ÿ0-9 _,?/.\-+*n~!@#$%&{}[]()=<>|^'":;@`]*$
Reset count periodExample:Day
Nested Schema : pbxDepartmentSubsystem
Type:
object
Department in PBX Subsystem
Show Source
-
pbxCallType(optional):
string
Pattern:
^[a-zA-ZÀ-ÖØ-öø-ÿ0-9 _,?/.\-+*n~!@#$%&{}[]()=<>|^'":;@`]*$
PBX call typeExample:VC: Voice Cell
Nested Schema : Department in POS Subsystem
Type:
object
Title:
Department in POS Subsystem
Department in POS Subsystem
Show Source
-
allowDeclineAuthPosting(optional):
boolean
Allow posting with declined authorizationExample:
true
-
debitCodeGratuitiesAuto(optional):
object subDepartment
Sub Department
-
debitCodeGratuitiesManual(optional):
object subDepartment
Sub Department
-
debitCodeTaxes(optional):
object subDepartment
Sub Department
-
gratuityServiceTaxDepartment(optional):
boolean
Gratuity service/tax departmentExample:
true
-
gratuityTip(optional):
string
Pattern:
^[a-zA-ZÀ-ÖØ-öø-ÿ0-9 _,?/.\-+*n~!@#$%&{}[]()=<>|^'":;@`]*$
Gratuity tipExample:Tips Waiters
-
posRevenueCenter(optional):
string
Pattern:
^[a-zA-ZÀ-ÖØ-öø-ÿ0-9 _,?/.\-+*n~!@#$%&{}[]()=<>|^'":;@`]*$
POS revenue centerExample:10
-
posRevenueCenterDescription(optional):
string
Pattern:
^[a-zA-ZÀ-ÖØ-öø-ÿ0-9 _,?/.\-+*n~!@#$%&{}[]()=<>|^'":;@`]*$
POS revenue center descriptionExample:Sports Bar
-
posSalesItemizerNo(optional):
string
Pattern:
^[a-zA-ZÀ-ÖØ-öø-ÿ0-9 _,?/.\-+*n~!@#$%&{}[]()=<>|^'":;@`]*$
POS sales itemizer numberExample:1
-
posSalesPeriod(optional):
string
Pattern:
^[a-zA-ZÀ-ÖØ-öø-ÿ0-9 _,?/.\-+*n~!@#$%&{}[]()=<>|^'":;@`]*$
POS sales periodExample:11
Nested Schema : vatTaxClass
Type:
object
VAT Tax Class
Show Source
-
vatTaxClassCode(optional):
string
Pattern:
^[a-zA-ZÀ-ÖØ-öø-ÿ0-9 _,?/.\-+*n~!@#$%&{}[]()=<>|^'":;@`]*$
VAT tax class codeExample:US-VAT7
-
vatTaxClassDescription(optional):
string
Pattern:
^[a-zA-ZÀ-ÖØ-öø-ÿ0-9 _,?/.\-+*n~!@#$%&{}[]()=<>|^'":;@`]*$
VAT tax class descriptionExample:US VAT
Nested Schema : subDepartment
Type:
object
Sub Department
Show Source
-
subDepartmentCode(optional):
string
Maximum Length:
10
Pattern:^[a-zA-ZÀ-ÖØ-öø-ÿ0-9 _,?/.\-+*n~!@#$%&{}[]()=<>|^'":;@`]*$
Sub Department CodeExample:1001
-
subDepartmentDescription(optional):
string
Pattern:
^[a-zA-ZÀ-ÖØ-öø-ÿ0-9 _,?/.\-+*n~!@#$%&{}[]()=<>|^'":;@`]*$
Sub Department DescriptionExample:Sports Bar - Food
Nested Schema : redirectionAccount
Type:
object
Redirection Account
Show Source
-
systemAccountDescription(optional):
string
Pattern:
^[a-zA-ZÀ-ÖØ-öø-ÿ0-9 _,?/.\-+*n~!@#$%&{}[]()=<>|^'":;@`]*$
System account descriptionExample:Prepaid Wedding Package
-
systemAccountNumber(optional):
integer
Pattern:
^[0-9]*$
System account numberExample:20312
Nested Schema : items
Type:
Show Source
object
-
mainDepartmentCode(optional):
string
Maximum Length:
10
Pattern:^[a-zA-ZÀ-ÖØ-öø-ÿ0-9 _,?/.\-+*n~!@#$%&{}[]()=<>|^'":;@`]*$
Main Department CodeExample:1000
-
mainDepartmentDescription(optional):
string
Pattern:
^[a-zA-ZÀ-ÖØ-öø-ÿ0-9 _,?/.\-+*n~!@#$%&{}[]()=<>|^'":;@`]*$
Main Department DescriptionExample:Food and Beverage
-
subDepartments(optional):
array subDepartments
Eligible Sub Departments
Nested Schema : items
Type:
Show Source
object
-
subDepartmentCode(optional):
string
Maximum Length:
10
Pattern:^[a-zA-ZÀ-ÖØ-öø-ÿ0-9 _,?/.\-+*n~!@#$%&{}[]()=<>|^'":;@`]*$
Sub Department CodeExample:1001
-
subDepartmentDescription(optional):
string
Pattern:
^[a-zA-ZÀ-ÖØ-öø-ÿ0-9 _,?/.\-+*n~!@#$%&{}[]()=<>|^'":;@`]*$
Sub Department DescriptionExample:Sports Bar - Food
400 Response
Bad Request
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.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
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":"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
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":"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
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
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
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":"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